Class SchematicSignReplacer

java.lang.Object
com.ryandw11.structure.schematic.SchematicSignReplacer

public class SchematicSignReplacer extends Object
Handle the replacement of signs in schematics.
  • 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.