Class ImplicitGateBuilder

java.lang.Object
org.sgrewritten.stargate.api.gate.ImplicitGateBuilder
All Implemented Interfaces:
GateBuilder

public class ImplicitGateBuilder extends Object implements GateBuilder
Scans through available gate formats, given a sign position. Finds all parameters for a valid gate format, or throws an exception if no format matched. If one already knows these parameters, look into ExplicitGateBuilder
  • Constructor Details

    • ImplicitGateBuilder

      public ImplicitGateBuilder(org.bukkit.Location signLocation, RegistryAPI registryAPI)
      Construct an instance of ImplicitGateBuilder
      Parameters:
      signLocation -

      The location of the sign to figure out gate format

      registryAPI -

      The stargate registry containing portal and network data

  • Method Details