Class RemoveBlockOperation

All Implemented Interfaces:
ITickedWorldOperation

public class RemoveBlockOperation extends AreaOperation
Operation for removing one type of block.
  • 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: 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.