Annotation Interface CollisionRemapper


@Retention(RUNTIME) public @interface CollisionRemapper
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Regex of block identifiers to apply this collision to Matches against just the block ID name, not including the namespace or parameters
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Regex of block state parameters to apply this collision to Defaults to matching any value
    boolean
    Signals if the default bounding boxes of this block as defined in collision.json should be passed to the constructor
    boolean
    Signals if a new instance needs to created for every block state
  • Element Details

    • regex

      String regex
      Regex of block identifiers to apply this collision to Matches against just the block ID name, not including the namespace or parameters
    • paramRegex

      String paramRegex
      Regex of block state parameters to apply this collision to Defaults to matching any value
      Default:
      ".*"
    • usesParams

      boolean usesParams
      Signals if a new instance needs to created for every block state
      Default:
      false
    • passDefaultBoxes

      boolean passDefaultBoxes
      Signals if the default bounding boxes of this block as defined in collision.json should be passed to the constructor
      Default:
      false