Class SpikeFeature.EndSpike

java.lang.Object
net.minecraft.world.level.levelgen.feature.SpikeFeature.EndSpike
Enclosing class:
SpikeFeature

public static class SpikeFeature.EndSpike extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SpikeFeature.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 AABB topBoundingBox
  • Constructor Details

    • EndSpike

      public EndSpike(int p_66881_, int p_66882_, int p_66883_, int p_66884_, boolean p_66885_)
  • Method Details

    • isCenterWithinChunk

      public boolean isCenterWithinChunk(BlockPos p_66892_)
    • getCenterX

      public int getCenterX()
    • getCenterZ

      public int getCenterZ()
    • getRadius

      public int getRadius()
    • getHeight

      public int getHeight()
    • isGuarded

      public boolean isGuarded()
    • getTopBoundingBox

      public AABB getTopBoundingBox()