Here is my current script:
http://pastie.org/p/4BLhWZiXRNhhdEMxRCp1EJ
onEvent('block.right_click', event => {
var plankable = new Array("minecraft:stripped_oak_log")
if(event.block.id == "minecraft:stripped_oak_log" && event.hand == MAIN_HAND && event.item == "minecraft:iron_axe") {
Utils.server.tell("Axe")
}
})
I don't know how to paste it nicely like everyone does, please let me know how
So I want to replace "minecraft:stripped_oak_log" with either my arrary plankable or with a forge tag, however it stops working when I do. Same goes for event.item.
Let me know. Thanks!