#Creating a Lumberjack Axe from Hoplite(need a recommendation)

1 messages · Page 1 of 1 (latest)

tight bane
#

I made a json in tags that holds all wood types, "wood" and "log" and I know you can use items entity contents to check, but that works with the dropped items, so any ideas on how to break all logs around the one you just broke?

warped stoneBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1733814184:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

#
⚠️ You already have a question open!

Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D

Open question: #1315834081438859316

tight bane
#

By the way, it would work kind of like veinminer

tight bane
#

here is my concept command
execute at @e[type=minecraft:item,nbt={Item:{id:"minecraft:oak_log"}}] as @s run fill ~1 ~1 ~1 ~-1 ~-1 ~-1 air replace #1184185477843136672
ideally i can replace oak_log with lumber_axe:wood (a json full of all woods) and I would also like to be able to have the wood drop, but I do not know how for either, so if you know how please let me know. I wont be back here until around 4pm pst, so if I do not respond that is why.

#

Thank you.

random lantern
#

execute as @e[type=item] if items entity @s contents ...

#

also, vanilla already has a tag for all logs, so you don't need to make your own unless you want a different set

#

also also, if you use ` around your code for code blocks you won't have to worry about accidental links like that

#

as for dropping the wood you need to use the destroy setting for the command, which for fill doesn't allow a filter so i think you'd need to run multiple checks like execute if block ~ ~ ~ #minecraft:logs run setblock ~ ~ ~ air destroy

warped stoneBOT
#
Closed for inactivity

This question has been inactive for some time, so it's going to be closed for inactivity. If you still need it, please disregard this message.

warped stoneBOT
#
Closed for inactivity

This question has been inactive for some time, so it's going to be closed for inactivity. If you still need it, please disregard this message.

#

Re-opened the channel. Make sure to close it again once you're done.

#
Question Closed

Your question, #1315929256735408148 (Creating a Lumberjack Axe from Hoplite(need a recommendation)), was resolved!

Original Message

#1315929256735408148 message

Duration open

6d1h59m

warped stoneBOT
#
Closed for inactivity

This question has been inactive for some time, so it's going to be closed for inactivity. If you still need it, please disregard this message.

#

Re-opened the channel. Make sure to close it again once you're done.