Started by
supermj767
on
Topic category: Help with modding (Java Edition)
Hello, supermj767 here, I'm going to show you how to make the ability to strip custom log blocks whilst having the ability to place on them without the need of code at all!
I have seen many tutorials on "how to make make a block strippable" but none of them work very well.
Simply create a procedure mod element
Use the "player right clicks block" global procedure :
Then make a procedure that looks like this :
And your done!
If you want to make this work for the off hand (left hand) aswell just change every "Item in main-hand" to "Item in off-hand" and it should work.
This procedure acts exactly as it does in regular Minecraft!
Important: Make sure NOT to apply it to your custom log!
If you have a problem please explain in the comments below and I will help you.
Post any questions or feedback in the comments, Thank you!
Edited by supermj767 on Tue, 10/18/2022 - 20:16
omg thx will be so useful for my mod!!
No problem :)
but how do i make the procedure look like less longer
Right click the procedure blocks you want to shrink, then click "external inputs"
very awesome tutorial, this should be good procedure
This should honestly be one of the preset procedures. Very helpful.
Thanks!
very helpful
This doesnt work, half of these blocks either dont exist for me or they dont connect
What Minecraft version is your mod in?
@Nolsjokes
the procedures blocks are modified and you need to search for every piece manually
Im in 1.16.5, and i do search them individually but they just show random ones
for example?
when i search for "item in main hand of" for example, it shows everything but that