Currently, as shown above, the blocks eligible for stoveFire are hardcoded into the mod. Since the general direction is that Minecraft wants to become more data-driven, I think the eligible blocks should be moved into its own separate tag which is searched for instead when determining whether stoveFire executes successfully. Datapacks could then change this to their liking, for example by also allowing campfires and lava to count towards stoveFire.
Name of tag (subject to change): sleeppunisher:stove_fire_sources
Default contents:
https://github.com/kmorales13/SleepPunisher/blob/ffd9e58a55391e9b0ecfb29e58736ed7d7031c46/src/main/java/net/sleeppunisher/SleepPunisher.java#L229-L230
Currently, as shown above, the blocks eligible for
stoveFire
are hardcoded into the mod. Since the general direction is that Minecraft wants to become more data-driven, I think the eligible blocks should be moved into its own separate tag which is searched for instead when determining whetherstoveFire
executes successfully. Datapacks could then change this to their liking, for example by also allowing campfires and lava to count towardsstoveFire
.Name of tag (subject to change):
sleeppunisher:stove_fire_sources
Default contents: