How do I make it so that plants from the modification can grow on grass from the modification?

Started by dsclusv on

Topic category: Help with MCreator software

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make it so that plants from the modification can grow on grass from the modification?

Good afternoon, everyone. 

Perhaps my question is stupid, but I am just learning MCreator.

Suppose we have a block "InfectedGrassBlock" and a plant "InfectedTallGrass". 
The following settings are used for the block:
MATERIAL - GRASS;
STEP SOUND - GROUND.
And yet, the grass does not appear when generating the world, and it cannot be placed on this block as if it were not grass. How can this problem be solved? Thanks in advance.


I apologize for my bad English, it's not my native language.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block materials do not…
Mon, 12/18/2023 - 20:00

Block materials do not determine how a block generates, they only determine other properties of the block. If you want your grass to generate in the world, you need to make a 'world feature' that spreads patches of that block. 

As for placing grass on your block, there should be a seperate property called 'can plants sustain on this block' in 'advanced settings' that will enable vanilla plants to be placed on your block.