Class EndPodiumFeature

java.lang.Object
net.minecraft.world.level.levelgen.feature.Feature<NoneFeatureConfiguration>
net.minecraft.world.level.levelgen.feature.EndPodiumFeature

public class EndPodiumFeature extends Feature<NoneFeatureConfiguration>
  • Field Details

    • PODIUM_RADIUS

      public static final int PODIUM_RADIUS
      See Also:
    • PODIUM_PILLAR_HEIGHT

      public static final int PODIUM_PILLAR_HEIGHT
      See Also:
    • RIM_RADIUS

      public static final int RIM_RADIUS
      See Also:
    • CORNER_ROUNDING

      public static final float CORNER_ROUNDING
      See Also:
    • END_PODIUM_LOCATION

      private static final BlockPos END_PODIUM_LOCATION
    • active

      private final boolean active
  • Constructor Details

    • EndPodiumFeature

      public EndPodiumFeature(boolean pActive)
  • Method Details

    • getLocation

      public static BlockPos getLocation(BlockPos pPos)
    • place

      public boolean place(FeaturePlaceContext<NoneFeatureConfiguration> pContext)
      Places the given feature at the given location. During world generation, features are provided with a 3x3 region of chunks, centered on the chunk being generated, that they can safely generate into.
      Specified by:
      place in class Feature<NoneFeatureConfiguration>
      Parameters:
      pContext - A context object with a reference to the level and the position the feature is being placed at