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()booleantoString()withArmorType(String armorType)withBedrockData(int bedrockData)withBedrockIdentifier(String bedrockIdentifier)withEdible(boolean edible)withEntityPlacer(boolean entityPlacer)withFirstBlockRuntimeId(Integer firstBlockRuntimeId)withLastBlockRuntimeId(Integer lastBlockRuntimeId)withProtectionValue(int protectionValue)withToolTier(String toolTier)withToolType(String toolType)
-
Constructor Details
-
GeyserMappingItem
public GeyserMappingItem() -
GeyserMappingItem
-
-
Method Details
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getBedrockIdentifier
-
getBedrockData
public int getBedrockData() -
getFirstBlockRuntimeId
-
getLastBlockRuntimeId
-
getToolType
-
getToolTier
-
getArmorType
-
getProtectionValue
public int getProtectionValue() -
isEdible
public boolean isEdible() -
isEntityPlacer
public boolean isEntityPlacer() -
withBedrockIdentifier
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBedrockData
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFirstBlockRuntimeId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLastBlockRuntimeId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withToolType
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withToolTier
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withArmorType
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withProtectionValue
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEdible
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEntityPlacer
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-