Deprecate the ClassMapping and MethodMapping classes
They are a huge pain to maintain... I should have put a stronger word against this when it got added...
This commit is contained in:
parent
e21db58a67
commit
eb76ba47ee
|
@ -1,5 +1,9 @@
|
|||
package com.songoda.core.compatibility;
|
||||
|
||||
/**
|
||||
* @deprecated Usage is highly discouraged – use NMSManager instead
|
||||
*/
|
||||
@Deprecated
|
||||
public enum ClassMapping {
|
||||
BIOME_BASE("world.level.biome", "BiomeBase"),
|
||||
BIOME_STORAGE("world.level.chunk", "BiomeStorage"),
|
||||
|
|
|
@ -5,6 +5,10 @@ import org.bukkit.inventory.ItemStack;
|
|||
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
/**
|
||||
* @deprecated Usage is highly discouraged – use NMSManager instead
|
||||
*/
|
||||
@Deprecated
|
||||
public enum MethodMapping {
|
||||
MC_ITEM_STACK__GET_TAG("getTag", "getTag", "s", "t", "u"),
|
||||
MC_ITEM_STACK__SET_TAG("setTag", "setTag", "c", "c", "c", ClassMapping.NBT_TAG_COMPOUND.getClazz()),
|
||||
|
|
Loading…
Reference in New Issue