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

Started by supermj767 on

Topic category: Help with Minecraft modding (Java Edition)

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
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.

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.

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.

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

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

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

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.

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....

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.

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

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
All of these procedure…
Tue, 04/11/2023 - 15:12

All of these procedure blocks are in the latest versions, you just got to find them, there is a search bar at the top of the procedure editor.

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Where are they in the latest…
Thu, 05/18/2023 - 15:29

Where are they in the latest version? I've watched multiple videos on how procedures work in general and still can't find half of these things.

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can search for them in…
Thu, 05/18/2023 - 15:32

You can search for them in the search bar at the top of the screen.

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yo I come for two things…
Tue, 07/18/2023 - 18:42

Yo I come for two things your procedure doesn't do

1: the creative mode check is missing. 
2: when i put a block (which is in my off hand) against a log while i have the ax it skins the wood and puts the block down (which minecraft doesn't do because it just skins the wood) 

and what does the "swing hand" do?