Interface BottomFillImpl
- All Known Implementing Classes:
DefaultBottomFill
public interface BottomFillImpl
The interface for bottom fill implementations.
Use the BottomFillProvider
to get the correct implementation and
register a new one.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
performFill(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.
-
Method Details
-
performFill
void performFill(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.This will only be called if the BottomFill option is enabled.
- 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.
-