Package be.seeseemelk.mockbukkit
Class MockUnsafeValues
java.lang.Object
be.seeseemelk.mockbukkit.MockUnsafeValues
- All Implemented Interfaces:
org.bukkit.UnsafeValues
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckSupported(org.bukkit.plugin.PluginDescriptionFile pdf) org.bukkit.MaterialfromLegacy(org.bukkit.Material material) org.bukkit.MaterialfromLegacy(org.bukkit.material.MaterialData material) org.bukkit.MaterialfromLegacy(org.bukkit.material.MaterialData material, boolean itemPriority) org.bukkit.block.data.BlockDatafromLegacy(org.bukkit.Material material, byte data) org.bukkit.inventory.CreativeCategorygetCreativeCategory(org.bukkit.Material material) intcom.google.common.collect.Multimap<org.bukkit.attribute.Attribute,org.bukkit.attribute.AttributeModifier> getDefaultAttributeModifiers(org.bukkit.Material material, org.bukkit.inventory.EquipmentSlot slot) org.bukkit.MaterialgetMaterial(String material, int version) org.bukkit.advancement.AdvancementloadAdvancement(org.bukkit.NamespacedKey key, String advancement) org.bukkit.inventory.ItemStackmodifyItemStack(org.bukkit.inventory.ItemStack stack, String arguments) byte[]processClass(org.bukkit.plugin.PluginDescriptionFile pdf, String path, byte[] clazz) booleanremoveAdvancement(org.bukkit.NamespacedKey key) org.bukkit.MaterialtoLegacy(org.bukkit.Material material)
-
Constructor Details
-
MockUnsafeValues
public MockUnsafeValues()
-
-
Method Details
-
toLegacy
public org.bukkit.Material toLegacy(org.bukkit.Material material) - Specified by:
toLegacyin interfaceorg.bukkit.UnsafeValues
-
fromLegacy
public org.bukkit.Material fromLegacy(org.bukkit.Material material) - Specified by:
fromLegacyin interfaceorg.bukkit.UnsafeValues
-
fromLegacy
public org.bukkit.Material fromLegacy(org.bukkit.material.MaterialData material) - Specified by:
fromLegacyin interfaceorg.bukkit.UnsafeValues
-
fromLegacy
public org.bukkit.Material fromLegacy(org.bukkit.material.MaterialData material, boolean itemPriority) - Specified by:
fromLegacyin interfaceorg.bukkit.UnsafeValues
-
fromLegacy
public org.bukkit.block.data.BlockData fromLegacy(org.bukkit.Material material, byte data) - Specified by:
fromLegacyin interfaceorg.bukkit.UnsafeValues
-
getDataVersion
public int getDataVersion()- Specified by:
getDataVersionin interfaceorg.bukkit.UnsafeValues
-
modifyItemStack
public org.bukkit.inventory.ItemStack modifyItemStack(org.bukkit.inventory.ItemStack stack, String arguments) - Specified by:
modifyItemStackin interfaceorg.bukkit.UnsafeValues
-
checkSupported
public void checkSupported(org.bukkit.plugin.PluginDescriptionFile pdf) throws org.bukkit.plugin.InvalidPluginException - Specified by:
checkSupportedin interfaceorg.bukkit.UnsafeValues- Throws:
org.bukkit.plugin.InvalidPluginException
-
processClass
- Specified by:
processClassin interfaceorg.bukkit.UnsafeValues
-
loadAdvancement
public org.bukkit.advancement.Advancement loadAdvancement(org.bukkit.NamespacedKey key, String advancement) - Specified by:
loadAdvancementin interfaceorg.bukkit.UnsafeValues
-
removeAdvancement
public boolean removeAdvancement(org.bukkit.NamespacedKey key) - Specified by:
removeAdvancementin interfaceorg.bukkit.UnsafeValues
-
getDefaultAttributeModifiers
public com.google.common.collect.Multimap<org.bukkit.attribute.Attribute,org.bukkit.attribute.AttributeModifier> getDefaultAttributeModifiers(org.bukkit.Material material, org.bukkit.inventory.EquipmentSlot slot) - Specified by:
getDefaultAttributeModifiersin interfaceorg.bukkit.UnsafeValues
-
getCreativeCategory
public org.bukkit.inventory.CreativeCategory getCreativeCategory(org.bukkit.Material material) - Specified by:
getCreativeCategoryin interfaceorg.bukkit.UnsafeValues
-
getMaterial
- Specified by:
getMaterialin interfaceorg.bukkit.UnsafeValues
-