Posted May 10, 201411 yr maxStackSize is protected, and the getter is deprecated. So what are we supposed to use? Access Transformers?
May 10, 201411 yr From which class do you want to get the maxStackSize field? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
May 10, 201411 yr Author Can't seem to find such method in the Item class. I must be blind. What's the method name?
May 10, 201411 yr Author AHA see I WAS blind! But what's the point of this method? It just calls the deprecated one without using the ItemStack at all.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.