(Tutorial) How to make logs strippable, without code and able to place blocks on it.

Started by supermj767 on

Topic category: Help with modding (Java Edition)

Last seen on 01:09, 26. Apr 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(Tutorial) How to make logs strippable, without code and able to place blocks on it.
Tue, 10/18/2022 - 20:16 (edited)

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 :

on player right clicks block

Then make a procedure that looks like this : 

This Procedure

 

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
Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
somethings like that for…
Wed, 10/13/2021 - 19:38

somethings like that for example won't show on search bar, instead go to Entity Data

Last seen on 02:07, 20. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where is the "is _ tooltype …
Wed, 10/13/2021 - 19:47

where is the "is _ tooltype _"?

Last seen on 02:07, 20. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm i found it, all i need…
Wed, 10/13/2021 - 19:49

nvm i found it, all i need now is the top part with the = sign, but i cant find it

Last seen on 02:07, 20. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm got that too.
Wed, 10/13/2021 - 19:53

nvm got that too.

Last seen on 02:07, 20. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this is still not letting me…
Thu, 10/14/2021 - 18:53

this is still not letting me place blocks on it.

Last seen on 13:33, 28. Mar 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can't place blocks on it…
Sat, 04/02/2022 - 00:46

You can't place blocks on it. L tutorial.

Last seen on 01:09, 26. Apr 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Don't apply the procedure to…
Sat, 04/02/2022 - 01:37

Don't apply the procedure to your custom log.

Last seen on 17:55, 7. Feb 2023
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nolsjokes it wont show if…
Wed, 04/27/2022 - 21:28

Nolsjokes it wont show if you search it up.

But you can find it in entity data

Last seen on 17:55, 7. Feb 2023
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
don't pay attention to my…
Wed, 04/27/2022 - 21:31

don't pay attention to my comment above I didn't know he found it

Last seen on 04:53, 5. May 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You are still unable to…
Thu, 05/05/2022 - 02:34

You are still unable to place anything on the unstripped logs without crouching? I'm using mcreator version 2021.3

Last seen on 01:09, 26. Apr 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You should be able to place…
Tue, 05/24/2022 - 18:28

You should be able to place blocks on the unstripped logs using this method on any version of MCreator.

Last seen on 11:37, 12. Nov 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This (and all other strip…
Tue, 10/18/2022 - 18:58

This (and all other strip codes) have the same problem. It completey takes over the right click of the log, which means that you cannot place any blocks on it anymore (without sneaking). Every time you try to right-click this code activates. If you have an axe, it get stripped. If not, then the code silently exits.

I have not yet solved it, since I am very new to MCreator, but there should be an "else" statments that calls base.doTheNormalThing-someting if you are not holding an axe in your hand.

Just need to figure this out....

Last seen on 01:09, 26. Apr 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make sure NOT to apply this…
Tue, 10/18/2022 - 20:09

Make sure NOT to apply this procedure to the custom log, then it will work.

Last seen on 02:06, 29. Apr 2023
Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
something more updated? i…
Tue, 04/11/2023 - 13:51

something more updated? i mean, half of that boxes didn't show on recent versions