Posted November 28, 20213 yr I want to do that in the blocks use method, so I have the parameters BlockState, Level, BlockPos, Player, InteractionHand and BlockHitResult.
November 28, 20213 yr you need to check if the Block north, east, south, west, above or below your Block is you can get the Block via Level#getBlockState and then BlockState#getBlock Edited November 28, 20213 yr by Luis_ST
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.