Class StripWorker

java.lang.Object
com.ewyboy.worldstripper.workers.StripWorker
All Implemented Interfaces:
WorldWorker.IWorker

public class StripWorker extends Object implements WorldWorker.IWorker
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final int
     
    protected final int
     
    protected final net.minecraft.core.BlockPos
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    StripWorker(net.minecraft.core.BlockPos start, int radiusX, int radiusZ, net.minecraft.server.level.ServerLevel dim, int notificationFrequency, int blockUpdateFlag, net.minecraft.world.level.block.state.BlockState replacementBlock, List<String> stripList)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static float
     
    boolean
     
    static void
    setProgress(float progress)
     

    Methods inherited from class java.lang.Object

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

    • start

      protected final net.minecraft.core.BlockPos start
    • radiusX

      protected final int radiusX
    • radiusZ

      protected final int radiusZ
  • Constructor Details

    • StripWorker

      public StripWorker(net.minecraft.core.BlockPos start, int radiusX, int radiusZ, net.minecraft.server.level.ServerLevel dim, int notificationFrequency, int blockUpdateFlag, net.minecraft.world.level.block.state.BlockState replacementBlock, List<String> stripList)
  • Method Details

    • getProgress

      public static float getProgress()
    • setProgress

      public static void setProgress(float progress)
    • hasWork

      public boolean hasWork()
      Specified by:
      hasWork in interface WorldWorker.IWorker
    • doWork

      public boolean doWork()
      Specified by:
      doWork in interface WorldWorker.IWorker