Class RemoveFilteredOperation

All Implemented Interfaces:
ITickedWorldOperation

public class RemoveFilteredOperation extends AreaOperation
Operation for removing multiple types of blocks.
  • 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: AreaOperation
      Apply the operation on the world.
      Specified by:
      apply in class AreaOperation
      Parameters:
      world - the world to apply them on.
      position - the current area position.