Class SpikeFeature.EndSpike
java.lang.Object
net.minecraft.world.level.levelgen.feature.SpikeFeature.EndSpike
- Enclosing class:
- SpikeFeature
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
static com.mojang.serialization.Codec<SpikeFeature.EndSpike>
private boolean
private int
private int
private AABB
-
Constructor Summary
ConstructorDescriptionEndSpike(int p_66881_, int p_66882_, int p_66883_, int p_66884_, boolean p_66885_)
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
boolean
isCenterWithinChunk(BlockPos p_66892_)
boolean
-
Field Details
-
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
-
-
Constructor Details
-
EndSpike
public EndSpike(int p_66881_, int p_66882_, int p_66883_, int p_66884_, boolean p_66885_)
-
-
Method Details
-
isCenterWithinChunk
-
getCenterX
public int getCenterX() -
getCenterZ
public int getCenterZ() -
getRadius
public int getRadius() -
getHeight
public int getHeight() -
isGuarded
public boolean isGuarded() -
getTopBoundingBox
-