类 NoneBiomeModifier

java.lang.Object
net.neoforged.neoforge.common.world.NoneBiomeModifier
所有已实现的接口:
BiomeModifier

public class NoneBiomeModifier extends Object implements BiomeModifier
  • 字段详细资料

  • 构造器详细资料

    • NoneBiomeModifier

      public NoneBiomeModifier()
  • 方法详细资料

    • modify

      public void modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder)
      从接口复制的说明: BiomeModifier
      Modifies the information via the provided biome builder. Allows mob spawns and world-gen features to be added or removed, and climate and client effects to be modified.
      指定者:
      modify 在接口中 BiomeModifier
      参数:
      biome - the named biome being modified (with original data readable).
      phase - biome modification phase. Biome modifiers apply in each phase in order of the enum constants.
      builder - mutable biome info builder. Apply changes to this.
    • codec

      public com.mojang.serialization.MapCodec<? extends BiomeModifier> codec()
      指定者:
      codec 在接口中 BiomeModifier
      返回:
      the codec which serializes and deserializes this biome modifier