Class WarpPad
java.lang.Object
org.kingdoms.constants.metadata.KingdomsObject<SimpleLocation>
org.kingdoms.constants.land.abstraction.KingdomItem<StructureStyle>
org.kingdoms.constants.land.structures.Structure
org.kingdoms.constants.land.structures.objects.WarpPad
- All Implemented Interfaces:
org.kingdoms.abstraction.LandOperator,FuelContainer
-
Field Summary
Fields inherited from class org.kingdoms.constants.land.abstraction.KingdomItem
level, location, styleFields inherited from class org.kingdoms.constants.metadata.KingdomsObject
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetFuel()doublePair<org.bukkit.inventory.ItemStack,NBTTagCompound> getTags()inthashCode()voidserialize(SerializationContext<org.kingdoms.data.database.dataprovider.SectionableDataSetter> context) voidvoidsetFuel(double fuel) Methods inherited from class org.kingdoms.constants.land.structures.Structure
getDisplayName, getNameOrDefault, place, remove, removeData, setName, toStringMethods inherited from class org.kingdoms.constants.land.abstraction.KingdomItem
displayParticle, displayParticle, dropItem, equals, eval, eval, getBlock, getCompressedData, getContext, getDataKey, getEdits, getHolograms, getItem, getLand, getLevel, getLocation, getMaxLevel, getStyle, getUpgradeCost, ofSection, ofSection, ofSection, playSound, playSound, remove, removeHolograms, removeHolograms, round, setHolograms, setLevel, spawnHolograms, spawnHolograms, updateHolograms, upgradeMethods inherited from class org.kingdoms.constants.metadata.KingdomsObject
compressBoolean, compressCollecton, compressCollecton, compressColor, compressInventory, compressLocation, compressLocation, compressMap, compressMetadata, compressString, compressUUID, getMetadata, getSaveMeta, setMetadata, setSaveMeta, shouldSaveMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kingdoms.constants.land.FuelContainer
addFuel, hasFuel
-
Constructor Details
-
WarpPad
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classKingdomItem<StructureStyle>
-
getFuel
public double getFuel()- Specified by:
getFuelin interfaceFuelContainer
-
setFuel
public void setFuel(double fuel) - Specified by:
setFuelin interfaceFuelContainer
-
getTags
-
setDataFromNBT
- Overrides:
setDataFromNBTin classStructure
-
getEdits
-
getMaxFuel
public double getMaxFuel()- Specified by:
getMaxFuelin interfaceFuelContainer
-
serialize
public void serialize(SerializationContext<org.kingdoms.data.database.dataprovider.SectionableDataSetter> context)
-