Class ExpandCustomModelData

java.lang.Object
com.blamejared.crafttweaker.natives.item.component.ExpandCustomModelData

@ZenRegister public class ExpandCustomModelData extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.item.component.CustomModelData
    of(int value)
    Creates a new CustomModelData with the given value.
    static int
    value(net.minecraft.world.item.component.CustomModelData internal)
    Gets the value of the CustomModelData.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandCustomModelData

      public ExpandCustomModelData()
  • Method Details

    • of

      public static net.minecraft.world.item.component.CustomModelData of(int value)
      Creates a new CustomModelData with the given value.
      Parameters:
      value - The value to create the CustomModelData with.
      Returns:
      The new CustomModelData.
    • value

      public static int value(net.minecraft.world.item.component.CustomModelData internal)
      Gets the value of the CustomModelData.
      Returns:
      The value of the CustomModelData.