Class RemoveBlockOperation
java.lang.Object
com.ldtteam.structurize.operations.BaseOperation
com.ldtteam.structurize.operations.AreaOperation
com.ldtteam.structurize.operations.RemoveBlockOperation
- All Implemented Interfaces:
ITickedWorldOperation
Operation for removing one type of block.
-
Field Summary
Fields inherited from class com.ldtteam.structurize.operations.AreaOperation
endPos, player, startPosFields inherited from class com.ldtteam.structurize.operations.BaseOperation
storage -
Constructor Summary
ConstructorsConstructorDescriptionRemoveBlockOperation(net.minecraft.server.level.ServerPlayer player, ItemPositionsStorage toRemove) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(net.minecraft.server.level.ServerLevel world, net.minecraft.core.BlockPos position) Apply the operation on the world.Methods inherited from class com.ldtteam.structurize.operations.AreaOperation
applyMethods inherited from class com.ldtteam.structurize.operations.BaseOperation
getChangeStorage
-
Constructor Details
-
RemoveBlockOperation
public RemoveBlockOperation(net.minecraft.server.level.ServerPlayer player, ItemPositionsStorage toRemove) Default constructor.
-
-
Method Details
-
apply
protected void apply(net.minecraft.server.level.ServerLevel world, net.minecraft.core.BlockPos position) Description copied from class:AreaOperationApply the operation on the world.- Specified by:
applyin classAreaOperation- Parameters:
world- the world to apply them on.position- the current area position.
-