Replacing Entity With Stone Blocks?

Started by perigrine3 on Fri, 07/31/2020 - 00:42

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Replacing Entity With Stone Blocks?
Fri, 07/31/2020 - 00:42

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 06:15, 12. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 11:19, 30. Apr 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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,