NeverGonnaGiveYouUp Posted November 28, 2021 Posted November 28, 2021 I want to do that in the blocks use method, so I have the parameters BlockState, Level, BlockPos, Player, InteractionHand and BlockHitResult. Quote
Luis_ST Posted November 28, 2021 Posted November 28, 2021 (edited) 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, 2021 by Luis_ST Quote
Recommended Posts
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.