@Retention(value=RUNTIME) public @interface CollisionRemapper
| Modifier and Type | Required Element and Description |
|---|---|
String |
regex
Regex of block identifiers to apply this collision to
Matches against just the block ID name, not including the namespace or parameters
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
paramRegex
Regex of block state parameters to apply this collision to
Defaults to matching any value
|
boolean |
passDefaultBoxes
Signals if the default bounding boxes of this block as defined in collision.json should be passed to the
constructor
|
boolean |
usesParams
Signals if a new instance needs to created for every block state
|
public abstract String regex
public abstract String paramRegex
Copyright © 2021 GeyserMC. All rights reserved.