Class DefaultBottomFill
java.lang.Object
org.bukkit.scheduler.BukkitRunnable
com.ryandw11.structure.bottomfill.DefaultBottomFill
- All Implemented Interfaces:
BottomFillImpl,Runnable
public class DefaultBottomFill
extends org.bukkit.scheduler.BukkitRunnable
implements BottomFillImpl
The default implementation for the bottom fill feature.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperformFill(Structure structure, org.bukkit.Location spawnLocation, org.bukkit.Location minLoc, org.bukkit.Location maxLoc, com.sk89q.worldedit.math.transform.AffineTransform transform)Called by the plugin when a bottom fill should be performed.voidrun()Methods inherited from class org.bukkit.scheduler.BukkitRunnable
cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
-
Constructor Details
-
DefaultBottomFill
public DefaultBottomFill()
-
-
Method Details
-
performFill
public void performFill(Structure structure, org.bukkit.Location spawnLocation, org.bukkit.Location minLoc, org.bukkit.Location maxLoc, com.sk89q.worldedit.math.transform.AffineTransform transform)Description copied from interface:BottomFillImplCalled by the plugin when a bottom fill should be performed.This will only be called if the BottomFill option is enabled.
- Specified by:
performFillin interfaceBottomFillImpl- Parameters:
structure- The structure that was spawned.spawnLocation- The spawn (paste) location of the structure.minLoc- The minimum location of the structure in the world to paste onto.maxLoc- The maximum location of the structure in the world to paste onto.transform- The affine transformation applied on this structure.
-
run
public void run()
-