#New mining mechanics

2 messages · Page 1 of 1 (latest)

brazen edge
#

I want to make it so you have to use a new axe I’m making to mine logs instead of using your fist like in RLCraft but I’m not sure how to do that, this is 1.20 btw

alpine mango
#

I think theres a AttackBlockCallback.EVENT event that you can use to detect when a player punches/attempts mining a block.

I'm not sure, but I think you might be a able to conditionally cancel the mining. So you could do a check to see if the player is mining with your new axe, or their bare hand, or some other item.