Hey guys, I have not much knowledge about LootJS and I want to change in general that all logs can only be mined with an axe and otherwise do not drop loot (the log).
I started by removing the tags like mineble/hand_axe with kubejs and added tags like minecraft:needs_stone_tool, but this has not changed anything.
So I used/read a bit about lootJS but the wiki explain everything a bit (not bad sry Lytho). I tried first to disable completely the drop but this also dont work.
I do not know what to do now, maybe someone have more knowledge about lootJS xD
onEvent("lootjs", (event) => {
event
.addBlockLootModifier("minecraft:oak_log")
.removeLoot("minecraft:oak_log");
})



