Generated by
JDiff

Interface org.bukkit.UnsafeValues

Removed Methods
<any> getDefaultAttributeModifiers(Material, EquipmentSlot)  
 

Added Methods
GsonComponentSerializer colorDownsamplingGsonComponentSerializer()  
ComponentFlattener componentFlattener()  
ItemStack deserializeItem(byte[])  
<any> getItemAttributes(Material, EquipmentSlot) Returns an immutable multimap of attributes for the material and slot.
ItemRarity getItemRarity(Material) Gets the item rarity of a material.
ItemRarity getItemStackRarity(ItemStack) Gets the item rarity of the itemstack.
int getProtocolVersion() Returns the server's protocol version.
String getTimingsServerName() Server name to report to timings v2
String getTranslationKey(Material) Return the translation key for the Material, so the client can translate it into the active locale when using a net.kyori.adventure.text.TranslatableComponent.
String getTranslationKey(Block) Return the translation key for the Block, so the client can translate it into the active locale when using a net.kyori.adventure.text.TranslatableComponent.
String getTranslationKey(EntityType) Return the translation key for the EntityType, so the client can translate it into the active locale when using a net.kyori.adventure.text.TranslatableComponent.
This is null, when the EntityType isn't known to NMS (custom entities)
String getTranslationKey(ItemStack) Return the translation key for the ItemStack, so the client can translate it into the active locale when using a net.kyori.adventure.text.TranslatableComponent.
VersionFetcher getVersionFetcher() Called once by the version command on first use, then cached.
GsonComponentSerializer gsonComponentSerializer()  
boolean isLegacyPlugin(Plugin)  
boolean isSupportedApiVersion(String)  
boolean isValidRepairItemStack(ItemStack, ItemStack) Checks if an itemstack can be repaired with another itemstack.
LegacyComponentSerializer legacyComponentSerializer()  
int nextEntityId() Creates and returns the next EntityId available.
PlainComponentSerializer plainComponentSerializer()  
void reportTimings()  
byte[] serializeItem(ItemStack)