Package com.ryandw11.structure.schematic
Class SchematicSignReplacer
java.lang.Object
com.ryandw11.structure.schematic.SchematicSignReplacer
Handle the replacement of signs in schematics.
-
Method Summary
Modifier and TypeMethodDescriptionprotected static voidprocessAndReplaceSign(org.bukkit.Location location, org.bukkit.Location minLoc, org.bukkit.Location maxLoc, Structure structure, double structureRotation)Process a structure sign.protected static voidreplaceSignWithSchematic(org.bukkit.Location location, Structure parentStructure, int iteration)Replace a sign with a schematic.
-
Method Details
-
processAndReplaceSign
protected static void processAndReplaceSign(org.bukkit.Location location, org.bukkit.Location minLoc, org.bukkit.Location maxLoc, Structure structure, double structureRotation)Process a structure sign.- Parameters:
location- The location of the sign.minLoc- The minimum location of the structure schematic.maxLoc- The maximum location of the structure schematic.structure- The structure that was spawned.structureRotation- The rotation of the structure.
-
replaceSignWithSchematic
protected static void replaceSignWithSchematic(org.bukkit.Location location, Structure parentStructure, int iteration)Replace a sign with a schematic.- Parameters:
location- The location of the sign.parentStructure- The parent structure.iteration- The iteration of schematic pasting.
-