ZerpCraft
ZerpCraft
Update: I believe QuartzLib NBT.java is the problem. Line 309 try { Object tagCompound; try { //1.18 tagCompound = Reflection.call(mcItemStack.getClass(), mcItemStack, "t"); } catch (Exception e) { //1.17 try {...
Ok, that line was a bit of a red herring. Now I'm thinking it's this line: `Reflection.call(MC_ITEM_STACK, mcItemStack, "setTag", tagCompound);` Throwing: `[11:47:23 WARN]: java.lang.NoSuchMethodException: net.minecraft.world.item.ItemStack.setTag(net.minecraft.nbt.NBTTagCompound) [11:47:23 WARN]: at java.base/java.lang.Class.getDeclaredMethod(Class.java:2675) [11:47:23...
Who knew I'd be learning so much today! So it seems the Reflections class is what's used to reference internal Minecraft classes? And on new version releases the class might...
Fixed it. tagCompound = Reflection.call(mcItemStack.getClass(), mcItemStack, "t"); The "t" needs to change to a "u" for 1.18.2