Package work.torp.domain.api
Class FieldFunctions
- java.lang.Object
-
- work.torp.domain.api.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)
-
-
-
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)
-
-