public static class EndSpikeFeature.Spike extends Object
Modifier and Type | Field and Description |
---|---|
private Box |
boundingBox |
private int |
centerX |
private int |
centerZ |
static com.mojang.serialization.Codec<EndSpikeFeature.Spike> |
CODEC |
private boolean |
guarded |
private int |
height |
private int |
radius |
Constructor and Description |
---|
Spike(int centerX,
int centerZ,
int radius,
int height,
boolean guarded) |
Modifier and Type | Method and Description |
---|---|
Box |
getBoundingBox() |
int |
getCenterX() |
int |
getCenterZ() |
int |
getHeight() |
int |
getRadius() |
boolean |
isGuarded() |
boolean |
isInChunk(BlockPos pos) |
public static final com.mojang.serialization.Codec<EndSpikeFeature.Spike> CODEC
private final int centerX
private final int centerZ
private final int radius
private final int height
private final boolean guarded
private final Box boundingBox