Class PlaceStructureOperation

java.lang.Object
com.ldtteam.structurize.operations.BaseOperation
com.ldtteam.structurize.operations.PlaceStructureOperation
All Implemented Interfaces:
ITickedWorldOperation

public class PlaceStructureOperation extends BaseOperation
Operation for placing structures.
  • Constructor Details

    • PlaceStructureOperation

      public PlaceStructureOperation(@NotNull @NotNull StructurePlacer placer, @Nullable @Nullable net.minecraft.world.entity.player.Player player)
      Default constructor.
      Parameters:
      placer - the structure wrapper.
      player - the player who placed the structure.
  • Method Details

    • apply

      public boolean apply(net.minecraft.server.level.ServerLevel world)
      Description copied from interface: ITickedWorldOperation
      Apply the operation on the world.
      Parameters:
      world - the world to apply them on.
      Returns:
      true if finished.