Interface BrushPaste
public interface BrushPaste
Represents the next pending brush operation.
-
Method Summary
Modifier and TypeMethodDescriptionbrush()Get the brush which will paste this paste.com.sk89q.worldedit.function.operation.Operationbuildpaste(com.sk89q.worldedit.EditSession editSession, com.sk89q.worldedit.bukkit.BukkitPlayer owner, com.sk89q.worldedit.math.BlockVector3 position) Build a paste operationcom.sk89q.worldedit.function.operation.Operationbuildpaste(com.sk89q.worldedit.EditSession editSession, com.sk89q.worldedit.extent.Extent capturingExtent, com.sk89q.worldedit.bukkit.BukkitPlayer owner, com.sk89q.worldedit.math.BlockVector3 position) Build a paste operationcom.sk89q.worldedit.extent.clipboard.ClipboardCurrent clipboardlongSize of the clipboard in blocksMutator<?> flip()The flip mutatorbooleanShift to the next schematicMutator<?> The offset mutator of the brushMutator<?> The offset mutator of the setbooleanShift to the previous schematicvoidrefresh()Refresh all mutator valuesvoidLoad a new clipboard from schematic fileMutator<?> rotation()The rotation mutatorCurrent schematicCurrent schematic setsettings()The brush settingsbooleanShift to next flip valuebooleanShift to the next offset value.booleanShift to next rotation value
-
Method Details
-
refresh
void refresh()Refresh all mutator values -
shiftFlip
boolean shiftFlip()Shift to next flip value- Returns:
- true if flip was shiftable
-
shiftRotation
boolean shiftRotation()Shift to next rotation value- Returns:
- true if rotation was shiftable
-
flip
-
rotation
-
offsetSet
-
offsetBrush
-
settings
-
buildpaste
com.sk89q.worldedit.function.operation.Operation buildpaste(com.sk89q.worldedit.EditSession editSession, com.sk89q.worldedit.bukkit.BukkitPlayer owner, com.sk89q.worldedit.math.BlockVector3 position) Build a paste operation- Parameters:
editSession- edit sessionowner- owner of brushposition- position to paste- Returns:
- operation
-
buildpaste
com.sk89q.worldedit.function.operation.Operation buildpaste(com.sk89q.worldedit.EditSession editSession, com.sk89q.worldedit.extent.Extent capturingExtent, com.sk89q.worldedit.bukkit.BukkitPlayer owner, com.sk89q.worldedit.math.BlockVector3 position) Build a paste operation- Parameters:
editSession- edit sessioncapturingExtent- extend to caputure changesowner- owner of brushposition- position to paste- Returns:
- operation
-
nextSchematic
boolean nextSchematic()Shift to the next schematic- Returns:
- true if the schematic changed
-
previousSchematic
boolean previousSchematic()Shift to the previous schematic- Returns:
- true if the schematic was changed
-
reloadSchematic
void reloadSchematic()Load a new clipboard from schematic file -
schematic
-
schematicSet
-
clipboard
com.sk89q.worldedit.extent.clipboard.Clipboard clipboard()Current clipboard- Returns:
- clipboard
-
clipboardSize
long clipboardSize()Size of the clipboard in blocks- Returns:
- true
-
shiftOffset
boolean shiftOffset()Shift to the next offset value.- Returns:
- true if the offset was shiftable
-
brush
-