Recently decided to take on ores for my massive project. I had some experience with custom blocks in 1.19.2 already, but it seems like they changed something in 1.20.x? The "remove" feature of blocks doesn't work at all. Main and place features are all good, with the odd one out there being "remove" for some reason. Maybe I'm missing something? The "remove" feature is in the pic
#Why "remove" feature of the custom block isn't working?
1 messages · Page 1 of 1 (latest)
<@&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:1722385424: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
What are you talking about "main", "place", and "remove" features?
Are you referring to a particular method of making custom blocks?
Yes, with lit up armor stands.
Main is used for registering the block itself to run remove or place features. If special item frame was placed, it runs place feature to set armor stand that displays the block model, and the base block which in my case is sandstone. If item frame doesn't have sandstone beneath it, it runs remove which should drop the block drops and kill armor stand, item frame and base block drops. That's what I can remember about it, I uses it quite a while ago
Ok... And the remove isn't working. In what way?
It doesn't even appear in the game when using /function, at all.
Gotcha, well I do see a syntax error in the screenshot you attached
Meanwhile main and place work just as intended.
You have distance0..2, not distance=0..2
But after that, if it still isn't working, I recommend checking the output logs.
Ty, I'll check on it tomorrow when I'll get back to pc. I was too sleepy to notice the missing =
Yes, that syntax error was the cause. I probably wouldn't even notice it and scrap the idea. Thanks a lot for helping out
Question Closed
Your question, #1267993562373427218 (Why "remove" feature of the custom block isn't working?), was resolved!
Original Message
#1267993562373427218 message
Duration open
11h45m