Class FieldFunctions


  • public class FieldFunctions
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldFunctions()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.bukkit.block.Block> getAllBlocksInField​(int domainBlockId)  
      work.torp.domain.domainblock.DomainBlock getPlacedDomainBlockByID​(int domainBlockId)  
      java.util.List<work.torp.domain.domainblock.DomainBlock> getPlacedDomainBlocksSearch​(java.lang.String owner, java.lang.String blockKey, java.lang.String worldName)  
      boolean locationInField​(org.bukkit.Location location)  
      boolean resizeField​(int domainBlockID, org.bukkit.Location corner1, org.bukkit.Location corner2, java.util.UUID playerUUID)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FieldFunctions

        public FieldFunctions()
    • Method Detail

      • resizeField

        public boolean resizeField​(int domainBlockID,
                                   org.bukkit.Location corner1,
                                   org.bukkit.Location corner2,
                                   java.util.UUID playerUUID)
      • getAllBlocksInField

        public java.util.List<org.bukkit.block.Block> getAllBlocksInField​(int domainBlockId)
      • locationInField

        public boolean locationInField​(org.bukkit.Location location)
      • getPlacedDomainBlockByID

        public work.torp.domain.domainblock.DomainBlock getPlacedDomainBlockByID​(int domainBlockId)
      • getPlacedDomainBlocksSearch

        public java.util.List<work.torp.domain.domainblock.DomainBlock> getPlacedDomainBlocksSearch​(java.lang.String owner,
                                                                                                    java.lang.String blockKey,
                                                                                                    java.lang.String worldName)