Replacing Entity With Stone Blocks?

Started by perigrine3 on

Topic category: Help with modding (Java Edition)

Last seen on 23:54, 6. Nov 2020
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?

Last seen on 03:28, 23. Mar 2024
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.

Last seen on 20:07, 9. Feb 2024
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,