Class ItemDefinition
java.lang.Object
dev.rono.igniscore.api.model.ItemDefinition
- All Implemented Interfaces:
ExtensionDefinition
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionItemDefinition(String id, String baseMaterial, net.kyori.adventure.text.Component title, List<net.kyori.adventure.text.Component> description, Map<String, Object> customData, Map<String, Object> interactionSettings, int customModelData, String extensionId, String iconTexture) ItemDefinition(String id, String baseMaterial, net.kyori.adventure.text.Component title, List<net.kyori.adventure.text.Component> description, Map<String, Object> customData, Map<String, Object> behaviorSettings, Map<String, Object> interactionSettings, int customModelData, String extensionId, String iconTexture) -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemDefinition.BuilderTyped view ofgetBehaviorSettings().Typed view ofgetCustomData().intList<net.kyori.adventure.text.Component> Manifest strategy id used to register the extension'sIgnisStrategy.getId()In-game type id fromconfig.yml.Typed view ofgetInteractionSettings().net.kyori.adventure.text.ComponentgetTitle()
-
Constructor Details
-
ItemDefinition
public ItemDefinition(String id, String baseMaterial, net.kyori.adventure.text.Component title, List<net.kyori.adventure.text.Component> description, Map<String, Object> customData, Map<String, Object> behaviorSettings, Map<String, Object> interactionSettings, int customModelData, String extensionId, String iconTexture) -
ItemDefinition
-
-
Method Details
-
builder
-
getId
Description copied from interface:ExtensionDefinitionIn-game type id fromconfig.yml.- Specified by:
getIdin interfaceExtensionDefinition
-
getBaseMaterial
-
getTitle
public net.kyori.adventure.text.Component getTitle() -
getDescription
-
getCustomData
-
getBehaviorSettings
-
getInteractionSettings
-
getCustomConfig
Typed view ofgetCustomData(). -
getBehaviorConfig
Typed view ofgetBehaviorSettings(). -
getInteractionConfig
Typed view ofgetInteractionSettings(). -
getCustomModelData
public int getCustomModelData() -
getExtensionId
Description copied from interface:ExtensionDefinitionManifest strategy id used to register the extension'sIgnisStrategy.- Specified by:
getExtensionIdin interfaceExtensionDefinition
-
getIconTexture
-