Package be.seeseemelk.mockbukkit
Class MockUnsafeValues
java.lang.Object
be.seeseemelk.mockbukkit.MockUnsafeValues
- All Implemented Interfaces:
UnsafeValues
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckSupported(@NotNull PluginDescriptionFile pdf) Deprecated.@NotNull net.kyori.adventure.text.serializer.gson.GsonComponentSerializerDeprecated.@NotNull net.kyori.adventure.text.flattener.ComponentFlattenerDeprecated.deserializeEntity(byte[] data, World world) Deprecated.deserializeEntity(byte[] data, World world, boolean preserveUUID) Deprecated.deserializeItem(byte[] data) Deprecated.fromLegacy(Material material) Deprecated.fromLegacy(MaterialData material) Deprecated.fromLegacy(MaterialData material, boolean itemPriority) Deprecated.fromLegacy(Material material, byte data) Deprecated.getCreativeCategory(Material material) Deprecated.intDeprecated.com.google.common.collect.Multimap<Attribute,AttributeModifier> getDefaultAttributeModifiers(Material material, EquipmentSlot slot) Deprecated.@NotNull AttributablegetDefaultEntityAttributes(@NotNull NamespacedKey entityKey) Deprecated.@NotNull com.google.common.collect.Multimap<Attribute,AttributeModifier> getItemAttributes(@NotNull Material material, @NotNull EquipmentSlot equipmentSlot) Deprecated.getItemRarity(Material material) Deprecated.getItemStackRarity(ItemStack itemStack) Deprecated.@NotNull StringDeprecated.getMaterial(String material, int version) Deprecated.intDeprecated.Deprecated.getTranslationKey(Block block) Deprecated.getTranslationKey(EntityType type) Deprecated.getTranslationKey(ItemStack itemStack) Deprecated.Deprecated.Deprecated.@NotNull net.kyori.adventure.text.serializer.gson.GsonComponentSerializerDeprecated.booleanhasDefaultEntityAttributes(@NotNull NamespacedKey entityKey) Deprecated.booleanisCollidable(@NotNull Material material) Deprecated.booleanisSupportedApiVersion(String apiVersion) Deprecated.booleanisValidRepairItemStack(@NotNull ItemStack itemToBeRepaired, @NotNull ItemStack repairMaterial) Deprecated.@NotNull net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializerDeprecated.loadAdvancement(NamespacedKey key, String advancement) Deprecated.modifyItemStack(ItemStack stack, String arguments) Deprecated.intDeprecated.@NotNull net.kyori.adventure.text.serializer.plain.PlainComponentSerializerDeprecated, for removal: This API element is subject to removal in a future version.@NotNull net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializerDeprecated.byte[]processClass(PluginDescriptionFile pdf, String path, byte[] clazz) Deprecated.registryFor(Class<T> classOfT) Deprecated.booleanDeprecated.voidDeprecated.byte[]serializeEntity(Entity entity) Deprecated.byte[]serializeItem(ItemStack item) Deprecated.voidsetMinimumApiVersion(String minimumApiVersion) Deprecated.Sets the minimum api-version allowed.@NotNull MaterialDeprecated.
-
Constructor Details
-
MockUnsafeValues
public MockUnsafeValues()Deprecated.
-
-
Method Details
-
componentFlattener
@NotNull public @NotNull net.kyori.adventure.text.flattener.ComponentFlattener componentFlattener()Deprecated.- Specified by:
componentFlattenerin interfaceUnsafeValues
-
plainComponentSerializer
@Deprecated(forRemoval=true) @NotNull public @NotNull net.kyori.adventure.text.serializer.plain.PlainComponentSerializer plainComponentSerializer()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
plainComponentSerializerin interfaceUnsafeValues
-
plainTextSerializer
@NotNull public @NotNull net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer plainTextSerializer()Deprecated.- Specified by:
plainTextSerializerin interfaceUnsafeValues
-
gsonComponentSerializer
@NotNull public @NotNull net.kyori.adventure.text.serializer.gson.GsonComponentSerializer gsonComponentSerializer()Deprecated.- Specified by:
gsonComponentSerializerin interfaceUnsafeValues
-
colorDownsamplingGsonComponentSerializer
@NotNull public @NotNull net.kyori.adventure.text.serializer.gson.GsonComponentSerializer colorDownsamplingGsonComponentSerializer()Deprecated.- Specified by:
colorDownsamplingGsonComponentSerializerin interfaceUnsafeValues
-
legacyComponentSerializer
@NotNull public @NotNull net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer legacyComponentSerializer()Deprecated.- Specified by:
legacyComponentSerializerin interfaceUnsafeValues
-
reportTimings
public void reportTimings()Deprecated.- Specified by:
reportTimingsin interfaceUnsafeValues
-
toLegacy
Deprecated.- Specified by:
toLegacyin interfaceUnsafeValues
-
fromLegacy
Deprecated.- Specified by:
fromLegacyin interfaceUnsafeValues
-
fromLegacy
Deprecated.- Specified by:
fromLegacyin interfaceUnsafeValues
-
fromLegacy
Deprecated.- Specified by:
fromLegacyin interfaceUnsafeValues
-
fromLegacy
Deprecated.- Specified by:
fromLegacyin interfaceUnsafeValues
-
getDataVersion
public int getDataVersion()Deprecated.- Specified by:
getDataVersionin interfaceUnsafeValues
-
modifyItemStack
Deprecated.- Specified by:
modifyItemStackin interfaceUnsafeValues
-
setMinimumApiVersion
Deprecated.Sets the minimum api-version allowed.- Parameters:
minimumApiVersion- The minimum API version to support.
-
checkSupported
public void checkSupported(@NotNull @NotNull PluginDescriptionFile pdf) throws InvalidPluginException Deprecated.- Specified by:
checkSupportedin interfaceUnsafeValues- Throws:
InvalidPluginException
-
processClass
Deprecated.- Specified by:
processClassin interfaceUnsafeValues
-
loadAdvancement
Deprecated.- Specified by:
loadAdvancementin interfaceUnsafeValues
-
removeAdvancement
Deprecated.- Specified by:
removeAdvancementin interfaceUnsafeValues
-
getDefaultAttributeModifiers
public com.google.common.collect.Multimap<Attribute,AttributeModifier> getDefaultAttributeModifiers(Material material, EquipmentSlot slot) Deprecated.- Specified by:
getDefaultAttributeModifiersin interfaceUnsafeValues
-
getCreativeCategory
Deprecated.- Specified by:
getCreativeCategoryin interfaceUnsafeValues
-
getTimingsServerName
Deprecated.- Specified by:
getTimingsServerNamein interfaceUnsafeValues
-
getVersionFetcher
Deprecated.- Specified by:
getVersionFetcherin interfaceUnsafeValues
-
isSupportedApiVersion
Deprecated.- Specified by:
isSupportedApiVersionin interfaceUnsafeValues
-
serializeItem
Deprecated.- Specified by:
serializeItemin interfaceUnsafeValues
-
deserializeItem
Deprecated.- Specified by:
deserializeItemin interfaceUnsafeValues
-
serializeEntity
Deprecated.- Specified by:
serializeEntityin interfaceUnsafeValues
-
deserializeEntity
Deprecated.- Specified by:
deserializeEntityin interfaceUnsafeValues
-
deserializeEntity
Deprecated.- Specified by:
deserializeEntityin interfaceUnsafeValues
-
getTranslationKey
Deprecated.- Specified by:
getTranslationKeyin interfaceUnsafeValues
-
getTranslationKey
Deprecated.- Specified by:
getTranslationKeyin interfaceUnsafeValues
-
getTranslationKey
Deprecated.- Specified by:
getTranslationKeyin interfaceUnsafeValues
-
getTranslationKey
Deprecated.- Specified by:
getTranslationKeyin interfaceUnsafeValues
-
nextEntityId
public int nextEntityId()Deprecated.- Specified by:
nextEntityIdin interfaceUnsafeValues
-
registryFor
Deprecated.- Specified by:
registryForin interfaceUnsafeValues
-
getMainLevelName
Deprecated.- Specified by:
getMainLevelNamein interfaceUnsafeValues
-
getItemRarity
Deprecated.- Specified by:
getItemRarityin interfaceUnsafeValues
-
getItemStackRarity
Deprecated.- Specified by:
getItemStackRarityin interfaceUnsafeValues
-
isValidRepairItemStack
public boolean isValidRepairItemStack(@NotNull @NotNull ItemStack itemToBeRepaired, @NotNull @NotNull ItemStack repairMaterial) Deprecated.- Specified by:
isValidRepairItemStackin interfaceUnsafeValues
-
getItemAttributes
@NotNull public @NotNull com.google.common.collect.Multimap<Attribute,AttributeModifier> getItemAttributes(@NotNull @NotNull Material material, @NotNull @NotNull EquipmentSlot equipmentSlot) Deprecated.- Specified by:
getItemAttributesin interfaceUnsafeValues
-
getProtocolVersion
public int getProtocolVersion()Deprecated.- Specified by:
getProtocolVersionin interfaceUnsafeValues
-
hasDefaultEntityAttributes
Deprecated.- Specified by:
hasDefaultEntityAttributesin interfaceUnsafeValues
-
getDefaultEntityAttributes
@NotNull public @NotNull Attributable getDefaultEntityAttributes(@NotNull @NotNull NamespacedKey entityKey) Deprecated.- Specified by:
getDefaultEntityAttributesin interfaceUnsafeValues
-
isCollidable
Deprecated.- Specified by:
isCollidablein interfaceUnsafeValues
-
getMaterial
Deprecated.- Specified by:
getMaterialin interfaceUnsafeValues
-