Class PlaceStructureOperation
java.lang.Object
com.ldtteam.structurize.operations.BaseOperation
com.ldtteam.structurize.operations.PlaceStructureOperation
- All Implemented Interfaces:
ITickedWorldOperation
Operation for placing structures.
-
Field Summary
Fields inherited from class com.ldtteam.structurize.operations.BaseOperation
storage -
Constructor Summary
ConstructorsConstructorDescriptionPlaceStructureOperation(@NotNull StructurePlacer placer, @Nullable net.minecraft.world.entity.player.Player player) 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
-
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:ITickedWorldOperationApply the operation on the world.- Parameters:
world- the world to apply them on.- Returns:
- true if finished.
-