Class RedoOperation

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

public class RedoOperation extends BaseOperation
Operation for redo.
  • Constructor Details

    • RedoOperation

      public RedoOperation(net.minecraft.world.entity.player.Player player, ChangeStorage redoStorage)
      Default constructor.
      Parameters:
      player - the player to trigger the undo.
      redoStorage - the change to redo.
  • 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.