Replacing Entity With Stone Blocks?

Started by perigrine3 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Replacing Entity With Stone Blocks?

I am working on a troll entity, and I want it to despawn and be replaced by an upright column of two stone blocks. Ideas on how I could accomplish this?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the On entity tick update…
Fri, 07/31/2020 - 01:01

In the On entity tick update procedure, use the "is day in provided world" block (from world data tab) to check if it is day, and, if it is, despawn the entity and spawn the stone structure at its position.

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use this: At (x, y, z, of…
Tue, 12/28/2021 - 13:02

use this:

At (x, y, z, of entity) place block: (stone)
At (x, y+1, z of entity) place block: (stone)

Procedure blocks with similar text,