Class PlacerholderFillOperation

java.lang.Object
com.ldtteam.structurize.util.PlacerholderFillOperation
All Implemented Interfaces:
ITickedWorldOperation

public class PlacerholderFillOperation extends Object implements ITickedWorldOperation
Contains an operation, as remove block, replace block, place structure, etc.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlacerholderFillOperation(net.minecraft.core.BlockPos startPos, net.minecraft.core.BlockPos endPos, @Nullable net.minecraft.world.entity.player.Player player, double yStretch, double circleRadiusMult, int heightOffset, int minDistToBlocks)
    Create a ScanToolOperation.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(net.minecraft.server.level.ServerLevel world)
    Apply the operation on the world.
    @NotNull ChangeStorage
    Get the current change storage of this operation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlacerholderFillOperation

      public PlacerholderFillOperation(net.minecraft.core.BlockPos startPos, net.minecraft.core.BlockPos endPos, @Nullable @Nullable net.minecraft.world.entity.player.Player player, double yStretch, double circleRadiusMult, int heightOffset, int minDistToBlocks)
      Create a ScanToolOperation.
      Parameters:
      startPos - the start position.
      endPos - the end position.
      player - the player who triggered the event.
  • Method Details