I need some help with custom grass block and defining a block models bounding box appropiately

Started by SkylieTuff on

Topic category: Help with modding (Java Edition)

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need some help with custom grass block and defining a block models bounding box appropiately

First: I tried in grass block to run a procedure on tick

If not is air at x=0, y+1=1, z=0 to replace with dirt and vise versa for dirt block. 

Problem is that when you cover it with a grass, flower or etc it changes it to dirt block instead of doing nothing. 

 

Second: I have made stairs block model, and etc. But when I try to get them to work for a player to step up, they do nothing. I even tried changing the bounding block model in all different directions but it just doesn't work. I don't need help in rotating it, or etc as I know how to do that. 

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I got my grass working…
Sat, 02/09/2019 - 01:39

I got my grass working properly now it's just the stair block.

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For the wrong version and I…
Mon, 02/11/2019 - 03:33

For the wrong version and I've tried every tutorial for my version 1.8.2 and nothing works. This is for the bounding box on the stairs anyway and there's only one tutorial and that is for 1.10 + or lower version of mcreator

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do: If there is air…
Mon, 02/18/2019 - 00:16

You can do:

If there is air at y+1 or block at y+1 == grass, sign etc

Just add or pblock but keep in mind that adding all non full blocks will take you about full 5min to add and over 30 or commands

I did that before and note that glass panels and carpets doesn't work with this

After all I can send you complete procedure 

Last seen on 22:41, 16. Oct 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'd really appreciate it as…
Sun, 02/24/2019 - 18:02

I'd really appreciate it as when I first attempted it I got to work but when I placed grass under trees they went back to dirt. -;( Though I want this grass to go to dirt when its s'posed to and back to grass when its s'posed to and then to snow when its s'posed to. 

Also if you have a guide to do custom bounding boxes code that would also be very helpful. I want to make a special block similiar to stairs except they give you a step up i;e 1.5 blocks and grants speed boost 1. they would work like stairs with the full rotation. 

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For switching from dirt to…
Wed, 02/27/2019 - 00:45

For switching from dirt to grass just doo as I said before an if you want to change it to dirt again just add not black after if

Also you can change grass to snow grass by checking if there is snow above