java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.SpikeConfiguration
All Implemented Interfaces:
FeatureConfiguration

public class SpikeConfiguration extends Object implements FeatureConfiguration
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SpikeConfiguration> CODEC
    • crystalInvulnerable

      private final boolean crystalInvulnerable
    • spikes

      private final List<SpikeFeature.EndSpike> spikes
    • crystalBeamTarget

      @Nullable private final BlockPos crystalBeamTarget
  • Constructor Details

  • Method Details

    • isCrystalInvulnerable

      public boolean isCrystalInvulnerable()
    • getSpikes

      public List<SpikeFeature.EndSpike> getSpikes()
    • getCrystalBeamTarget

      @Nullable public BlockPos getCrystalBeamTarget()