Need to set a Logic Data Parameter true on entity spawn

Started by Herios on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 day ago
Joined Jan 2024
Points:
184

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
Need to set a Logic Data Parameter true on entity spawn

Basically, I have an item that spawns an entity, but the thing is that the entity it spawns has 5 variants, which use Logic Data Parameters. The problem is that I want to make an individual spawn item for each variant, and it seems I can only use the "Event/target entity" block in the "On block right clicked" procedure type. That means I cannot use the "For custom entity --- of type --- set logic data parameter to True/False" block as the "Event/target entity" of the procedure is the player. What should I do in this case? 

Active 1 day ago
Joined Jan 2024
Points:
184

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
My procedure:    
Thu, 02/13/2025 - 00:44

My procedure:

 

 

Active 4 months ago
Joined Sep 2024
Points:
110

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
You should be able to call…
Sat, 04/19/2025 - 22:14

You should be able to call the procedure (in the advanced tab) and type "entity" as a dependency. That should replace the player as the event entity with whatever you want, I think.