Class RemoveFilteredOperation
java.lang.Object
com.ldtteam.structurize.operations.BaseOperation
com.ldtteam.structurize.operations.AreaOperation
com.ldtteam.structurize.operations.RemoveFilteredOperation
- All Implemented Interfaces:
ITickedWorldOperation
Operation for removing multiple types of blocks.
-
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
ConstructorsConstructorDescriptionRemoveFilteredOperation(net.minecraft.server.level.ServerPlayer player, List<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
-
RemoveFilteredOperation
public RemoveFilteredOperation(net.minecraft.server.level.ServerPlayer player, List<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.
-