Class GeyserMappingItem
java.lang.Object
org.geysermc.geyser.registry.type.GeyserMappingItem
Represents Geyser's own serialized item information before being processed per-version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintintinthashCode()booleanisEdible()booleanvoidsetArmorType(String armorType)voidsetBedrockData(int bedrockData)voidsetBedrockIdentifier(String bedrockIdentifier)voidsetEdible(boolean edible)voidsetEntityPlacer(boolean entityPlacer)voidsetFirstBlockRuntimeId(Integer firstBlockRuntimeId)voidsetLastBlockRuntimeId(Integer lastBlockRuntimeId)voidsetProtectionValue(int protectionValue)voidsetToolTier(String toolTier)voidsetToolType(String toolType)toString()
-
Constructor Details
-
GeyserMappingItem
public GeyserMappingItem()
-
-
Method Details
-
getBedrockIdentifier
-
getBedrockData
public int getBedrockData() -
getFirstBlockRuntimeId
-
getLastBlockRuntimeId
-
getToolType
-
getToolTier
-
getArmorType
-
getProtectionValue
public int getProtectionValue() -
isEdible
public boolean isEdible() -
isEntityPlacer
public boolean isEntityPlacer() -
setBedrockIdentifier
-
setBedrockData
public void setBedrockData(int bedrockData) -
setFirstBlockRuntimeId
-
setLastBlockRuntimeId
-
setToolType
-
setToolTier
-
setArmorType
-
setProtectionValue
public void setProtectionValue(int protectionValue) -
setEdible
public void setEdible(boolean edible) -
setEntityPlacer
public void setEntityPlacer(boolean entityPlacer) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-