Class ItemModelPropertiesKubeEvent

java.lang.Object
dev.latvian.mods.kubejs.item.ItemModelPropertiesKubeEvent
All Implemented Interfaces:
KubeEvent, KubeStartupEvent

public class ItemModelPropertiesKubeEvent extends Object implements KubeStartupEvent
  • Constructor Details

    • ItemModelPropertiesKubeEvent

      public ItemModelPropertiesKubeEvent()
  • Method Details

    • register

      @Info("Register a model property for an item. Model properties are used to change the appearance of an item in the world.\n\nMore about model properties: https://minecraft.wiki/w/Tutorials/Models#Item_predicates\n") public void register(net.minecraft.world.item.crafting.Ingredient ingredient, KubeResourceLocation overwriteId, net.minecraft.client.renderer.item.ClampedItemPropertyFunction callback)
    • registerAll

      @Info("Register a model property for all items.") public void registerAll(KubeResourceLocation overwriteId, net.minecraft.client.renderer.item.ClampedItemPropertyFunction callback)