Class NoneStructureModifier

java.lang.Object
net.minecraftforge.common.world.NoneStructureModifier
All Implemented Interfaces:
StructureModifier

public class NoneStructureModifier extends Object implements StructureModifier
  • Field Details

  • Constructor Details

    • NoneStructureModifier

      public NoneStructureModifier()
  • Method Details

    • modify

      Description copied from interface: 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.
      Specified by:
      modify in interface StructureModifier
      Parameters:
      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.Codec<? extends StructureModifier> codec()
      Specified by:
      codec in interface StructureModifier
      Returns:
      the codec which serializes and deserializes this structure modifier