Package net.minecraft.world.gen.feature
Class EndSpikeFeature.EndSpike
- java.lang.Object
-
- net.minecraft.world.gen.feature.EndSpikeFeature.EndSpike
-
- Enclosing class:
- EndSpikeFeature
public static class EndSpikeFeature.EndSpike extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
centerX
private int
centerZ
static com.mojang.serialization.Codec<EndSpikeFeature.EndSpike>
CODEC
private boolean
guarded
private int
height
private int
radius
private AxisAlignedBB
topBoundingBox
-
Constructor Summary
Constructors Constructor Description EndSpike(int p_i47020_1_, int p_i47020_2_, int p_i47020_3_, int p_i47020_4_, boolean p_i47020_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCenterX()
int
getCenterZ()
int
getHeight()
int
getRadius()
AxisAlignedBB
getTopBoundingBox()
boolean
isCenterWithinChunk(BlockPos p_186154_1_)
boolean
isGuarded()
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<EndSpikeFeature.EndSpike> CODEC
-
centerX
private final int centerX
-
centerZ
private final int centerZ
-
radius
private final int radius
-
height
private final int height
-
guarded
private final boolean guarded
-
topBoundingBox
private final AxisAlignedBB topBoundingBox
-
-
Method Detail
-
isCenterWithinChunk
public boolean isCenterWithinChunk(BlockPos p_186154_1_)
-
getCenterX
public int getCenterX()
-
getCenterZ
public int getCenterZ()
-
getRadius
public int getRadius()
-
getHeight
public int getHeight()
-
isGuarded
public boolean isGuarded()
-
getTopBoundingBox
public AxisAlignedBB getTopBoundingBox()
-
-