Posted November 21, 20231 yr Hello, i am trying to add a new axe that would mine an entire tree, however i can not detect the type of wood that is broken so i can only break it, could someone help me find the solution for this
November 21, 20231 yr You can get the Block using Level#getBlockState and then BlockState#getBlock to get the raw block.
November 25, 20231 yr Author Thank you, but i have done that already, but i still can't get the wood type
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.