Skip to content

AssetEditorAssetCreatedEvent

Package: com.hypixel.hytale.builtin.asseteditor.event

public class AssetEditorAssetCreatedEvent extends EditorClientEvent<String>

Fired when a new asset has been created in the editor. The event key is the asset type ID string.

public AssetEditorAssetCreatedEvent(EditorClient editorClient, String assetType, Path assetPath, byte[] data, String buttonId)
MethodDescription
String getAssetType()Returns the asset type ID
Path getAssetPath()Returns the created asset’s path
byte[] getData()Returns the raw asset data
String getButtonId()Returns the button that triggered creation
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.