How do I make Campfires be unlit when placing

Started by TeaAxolotl on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make Campfires be unlit when placing

I'm working on a mod and I need Campfires to be unlit when placed for the progression. How would I go about doing that?

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
All campfires placed by theā€¦
Sat, 09/21/2024 - 02:53

All campfires placed by the player be unlit? Or when generated in structures?
Whichever way, I believe you can light and unlight campfires by setting their "lit" parameters to true/false, using this block:
Set boolean property ["lit"] of block at x: [x] y: [y] z: [z] to [false]