Class EndSpikeFeature.EndSpike

java.lang.Object
net.minecraft.world.gen.feature.EndSpikeFeature.EndSpike
Enclosing class:
EndSpikeFeature

public static class EndSpikeFeature.EndSpike extends Object
  • Field Details

    • 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
  • Constructor Details

    • EndSpike

      public EndSpike(int p_i47020_1_, int p_i47020_2_, int p_i47020_3_, int p_i47020_4_, boolean p_i47020_5_)
  • Method Details

    • 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()