Annotation Interface NativeTypeRegistration
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<?> The expanded class, e.g.The name that this type should be registered as -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe constructors that should be registered
-
Element Details
-
value
Class<?> valueThe expanded class, e.g. IItemStack, Block, ... Can be either a CraftTweaker wrapper or a (registered) vanilla type -
zenCodeName
String zenCodeNameThe name that this type should be registered as -
constructors
NativeConstructor[] constructorsThe constructors that should be registered- Default:
{}
-