Started by
MaxPai
on
Topic category: Help with MCreator software
I want to make a modification that replaces every grass block, water block, crops and plants etc., which are exposed to the sky, with dirt, every time it becomes day. How do I do that?
Its possible just with your custom blocks.
With Vanilla Minecraft blocks its impossible.
Ok, Its possible but it is really hard to do.
With custom block u can do it this way:
Set variable to 0
while variable <= ("top position where blocks can be placed") do
Set variable to variable + 1
if (Get Block From x, y + variable, z == Block:Air) then
Place Block "your choice, for example: (Burnt grass)" on x, y, z
break
end
end
But it is very hard for computer. If I were u I would not do that.