Package com.ldtteam.structurize.util
Interface ITickedWorldOperation
- All Known Implementing Classes:
PlacerholderFillOperation,TickedWorldOperation
public interface ITickedWorldOperation
-
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(net.minecraft.server.level.ServerLevel world) Apply the operation on the world.Get the current change storage of this operation.booleanCheck if operation is an undo already.
-
Method Details
-
apply
boolean apply(net.minecraft.server.level.ServerLevel world) Apply the operation on the world.- Parameters:
world- the world to apply them on.- Returns:
- true if finished.
-
getChangeStorage
ChangeStorage getChangeStorage()Get the current change storage of this operation.- Returns:
- the ChangeStorage object.
-
isUndoRedo
boolean isUndoRedo()Check if operation is an undo already.- Returns:
- true if so.
-