Class RedoOperation
java.lang.Object
com.ldtteam.structurize.operations.BaseOperation
com.ldtteam.structurize.operations.RedoOperation
- All Implemented Interfaces:
ITickedWorldOperation
Operation for redo.
-
Field Summary
Fields inherited from class com.ldtteam.structurize.operations.BaseOperation
storage -
Constructor Summary
ConstructorsConstructorDescriptionRedoOperation(net.minecraft.world.entity.player.Player player, ChangeStorage redoStorage) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(net.minecraft.server.level.ServerLevel world) Apply the operation on the world.Methods inherited from class com.ldtteam.structurize.operations.BaseOperation
getChangeStorage
-
Constructor Details
-
RedoOperation
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:ITickedWorldOperationApply the operation on the world.- Parameters:
world- the world to apply them on.- Returns:
- true if finished.
-