i'm not interily sure, but it seems that the lootmidifier is only meant to be activated when the block is destroyed or am i wrong? I don't want the item to drop when i break the log. I want it to drop when i strip the log with an axe.
I got a problem with adding interractions to existing blocks in minecraft. I want to make it so that when a minecraft log is stripped by an axe, a modded item called: "bark" is spawned on the ground (like when a sunflower is bonemealed) but using: "InteractionResult use(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHit)" in a new class i can only target blocks that has been assigned to that new class. Can anyone help?
5 replies
Important Information
By using this site, you agree to our Terms of Use.