Deprecate MethodMapping class

I do not intend to update it to support another version.
All implementations using it should be recoded and use the NMS modules instead if needed
This commit is contained in:
Christian Koop 2022-08-27 22:43:07 +02:00
parent 43148032a2
commit 5c15d66415
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3

View File

@ -5,6 +5,7 @@ import org.bukkit.inventory.ItemStack;
import java.lang.reflect.Method;
@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()),