Annotation Interface NativeTypeRegistration


@Target(TYPE) @Retention(RUNTIME) public @interface NativeTypeRegistration
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The expanded class, e.g.
    The name that this type should be registered as
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The constructors that should be registered
  • Element Details

    • value

      Class<?> value
      The expanded class, e.g. IItemStack, Block, ... Can be either a CraftTweaker wrapper or a (registered) vanilla type
    • zenCodeName

      String zenCodeName
      The name that this type should be registered as
    • constructors

      NativeConstructor[] constructors
      The constructors that should be registered
      Default:
      {}