Replies: 1 comment 3 replies
-
Material is bad design and considered quasi deprecated, see the Block/ItemType APIs |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
Because Material is an enumeration class, if I want to register blocks to the server in some special cases, I can't use Material to get the newly registered blocks. It is difficult to be compatible with plugins using Material. Due to the characteristics of Java, it is very dangerous to forcibly add enumerations to Material. So can I refer to the Blocks class of nms to modify Material to make it registrable?
Describe the solution you'd like.
Modify Material to make it registrable
Describe alternatives you've considered.
Use unsafe to force add enumeration to Material
Other
No response
Beta Was this translation helpful? Give feedback.
All reactions