类 NoneStructureModifier

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

public class NoneStructureModifier extends Object implements StructureModifier
  • 字段详细资料

  • 构造器详细资料

    • NoneStructureModifier

      public NoneStructureModifier()
  • 方法详细资料

    • modify

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

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