cech12 / unlitcampfire Goto Github PK
View Code? Open in Web Editor NEWMinecraft mod were placed campfires are unlit.
Home Page: https://www.curseforge.com/minecraft/mc-mods/unlit-campfire
License: MIT License
Minecraft mod were placed campfires are unlit.
Home Page: https://www.curseforge.com/minecraft/mc-mods/unlit-campfire
License: MIT License
Since the mod is fairly similar to how campfires behave in Don't Starve I feel like it'd be nice to do something like that where campfires have a visual indicator that they're gonna go out soon. Like the title says as the remaining time gets lower and lower the light level decreases, at max it's the max light level beyond a campfire's normal brightness as well.
So basically this mod is already huge on what it does for campfires. But in my opinion there's just one thing missing, which's having different textures for each certain "level"/burn time thats remaining. For example, you can divide the total burn time by 4 and on each 1/4 thats increased/lessened it'll update the textures to a lower ammount of fire yk, simmilarly to the different fire levels in this game called Don't Starve:
Hey I think it would be neat if torches became finite too, since they are the cheapest lightsource. Im playing on fabric, so I'd be doubly grateful for a port to 1.18 :)
1.20.6
Forge
50.0.13
2.4.0.1
No response
---- Minecraft Crash Report ----
// Why is it breaking :(
Time: 2024-05-13 15:11:01
Description: Exception in server tick loop
java.lang.IllegalArgumentException: Cannot set property BooleanProperty{name=infinite, clazz=class java.lang.Boolean, values=[true, false]} as it does not exist in Block{minecraft:campfire}
at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.StateHolder.setValue(StateHolder.java:121) ~[forge-1.20.6-50.0.13-client.jar!/:?] {re:classloading}
at TRANSFORMER/[email protected]/de.cech12.unlitcampfire.platform.ForgeConfigHelper.setGeneratedCampfireIsLitInfinitely(ForgeConfigHelper.java:207) ~[unlitcampfire-forge-1.20.6-2.4.0.1.jar!/:1.20.6-2.4.0.1] {re:classloading}
at TRANSFORMER/[email protected]/de.cech12.unlitcampfire.platform.ForgeConfigHelper.loadChangedConfigData(ForgeConfigHelper.java:215) ~[unlitcampfire-forge-1.20.6-2.4.0.1.jar!/:1.20.6-2.4.0.1] {re:classloading}
at TRANSFORMER/[email protected]/de.cech12.unlitcampfire.platform.ForgeConfigHelper.onLoad(ForgeConfigHelper.java:222) ~[unlitcampfire-forge-1.20.6-2.4.0.1.jar!/:1.20.6-2.4.0.1] {re:classloading}
at TRANSFORMER/[email protected]/de.cech12.unlitcampfire.platform.__ForgeConfigHelper_onLoad_Loading.invoke(.dynamic) ~[unlitcampfire-forge-1.20.6-2.4.0.1.jar!/:1.20.6-2.4.0.1] {re:classloading,pl:eventbus:B}
at SECURE-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:48) ~[eventbus-6.2.6.jar!/:?] {}
at SECURE-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:304) ~[eventbus-6.2.6.jar!/:?] {}
at SECURE-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:290) ~[eventbus-6.2.6.jar!/:?] {}
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.javafmlmod.FMLModContainer.lambda$new$0(FMLModContainer.java:42) ~[javafmllanguage-1.20.6-50.0.13.jar!/:50.0.13] {}
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.lambda$dispatchConfigEvent$9(ModContainer.java:171) ~[fmlcore-1.20.6-50.0.13.jar!/:1.0] {}
at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {}
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.dispatchConfigEvent(ModContainer.java:171) ~[fmlcore-1.20.6-50.0.13.jar!/:1.0] {}
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ModConfig.fireEvent(ModConfig.java:77) ~[fmlcore-1.20.6-50.0.13.jar!/:?] {}
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:62) ~[fmlcore-1.20.6-50.0.13.jar!/:?] {}
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:50) ~[fmlcore-1.20.6-50.0.13.jar!/:?] {}
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {}
at java.base/java.util.Collections$SynchronizedCollection.forEach(Collections.java:2351) ~[?:?] {}
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:50) ~[fmlcore-1.20.6-50.0.13.jar!/:?] {}
at TRANSFORMER/[email protected]/net.minecraftforge.server.ServerLifecycleHooks.handleServerAboutToStart(ServerLifecycleHooks.java:79) ~[forge-1.20.6-50.0.13-universal.jar!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.initServer(IntegratedServer.java:75) ~[forge-1.20.6-50.0.13-client.jar!/:?] {re:classloading,pl:runtimedistcleaner:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:659) ~[forge-1.20.6-50.0.13-client.jar!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:261) ~[forge-1.20.6-50.0.13-client.jar!/:?] {re:classloading,pl:accesstransformer:B}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.20.6
Minecraft Version ID: 1.20.6
Operating System: Mac OS X (aarch64) version 14.4.1
Java Version: 21.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 1394606080 bytes (1330 MiB) / 1858076672 bytes (1772 MiB) up to 34359738368 bytes (32768 MiB)
CPUs: 20
Processor Vendor: Apple Inc.
Processor Name: Apple M1 Ultra
Identifier: Apple Inc. Family 0x1b588bb3 Model 0 Stepping 0
Microarchitecture: ARM64 SoC: Firestorm + Icestorm
Frequency (GHz): 3.23
Number of physical packages: 1
Number of physical CPUs: 20
Number of logical CPUs: 20
Graphics card #0 name: Apple M1 Ultra
Graphics card #0 vendor: Apple (0x106b)
Graphics card #0 VRAM (MB): 0.00
Graphics card #0 deviceId: unknown
Graphics card #0 versionInfo: unknown
Memory slot #0 capacity (MB): 0.00
Memory slot #0 clockSpeed (GHz): 0.00
Memory slot #0 type: unknown
Virtual memory max (MB): 65536.00
Virtual memory used (MB): 30625.45
Swap memory total (MB): 0.00
Swap memory used (MB): 0.00
JVM Flags: 11 total; -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:-ZUncommit -XX:ZCollectionInterval=5 -XX:ZAllocationSpikeTolerance=2.0 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -Xms1513M -Xmx32768M -Xss2M
Server Running: true
Player Count: 0 / 8; []
Active Data Packs: vanilla, mod:forge (incompatible), mod:unlitcampfire (incompatible)
Available Data Packs: bundle, mod:forge (incompatible), mod:unlitcampfire (incompatible), trade_rebalance, update_1_21, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: -1272651210010856806
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'
Launched Version: 1.20.6-forge-50.0.13
ModLauncher: 10.2.1
ModLauncher launch target: forge_client
ModLauncher naming: mcp
ModLauncher services:
/ slf4jfixer PLUGINSERVICE
/ runtimedistcleaner PLUGINSERVICE
/ runtime_enum_extender PLUGINSERVICE
/ object_holder_definalize PLUGINSERVICE
/ capability_token_subclass PLUGINSERVICE
/ accesstransformer PLUGINSERVICE
/ eventbus PLUGINSERVICE
/ mixin PLUGINSERVICE
/ fml TRANSFORMATIONSERVICE
/ mixin TRANSFORMATIONSERVICE
FML Language Providers:
lowcodefml@50
[email protected]
[email protected]
Mod List:
forge-1.20.6-50.0.13-client.jar |Minecraft |minecraft |1.20.6 |DONE |Manifest: NOSIGNATURE
forge-1.20.6-50.0.13-universal.jar |Forge |forge |50.0.13 |DONE |Manifest: NOSIGNATURE
unlitcampfire-forge-1.20.6-2.4.0.1.jar |Unlit Campfire |unlitcampfire |1.20.6-2.4.0.1 |DONE |Manifest: NOSIGNATURE
Crash Report UUID: afe3edfe-5419-4483-854d-402323d43f13
FML: 0.0
Forge: net.minecraftforge:50.0.13
No response
No response
1.19.4
Forge
45.1.0
unlitcampfire-forge-1.19-1.7.1.0
No response
When trying to add burnables materials into campfire, the game crashes.
When you try to interact with the right mouse button with a campfire, the game also crashes.
In new versions 1.20+ this bug is fixed I would like fixes for 1.19.2-1.19.4 thanks
No response
No response
AtheoAng3l0:
This mod could use an optional Fire Starter tool so the Campfire could be made an early-game cooker for survival mod packs. Limit the tool so it only works on Campfires. Alternatively, you could make Campfires ignitable with two Sticks or Flint using both hands (and igniting it consumes the items).
It feels very immersion-breaking to have campfires instantly extinguish when rain starts. In my opinion it would be better if the campfires extinguished a short while after rainfall begins, perhaps with some extra smoking effects beforehand.
I was wondering if it would be possible to make campfires burn out after sleeping, as (in game) it would have been as if the requisite amount of time had passed. I tested this, but it appears that the campfire only un-lights itself when so many ticks of gameplay have passed, I suggest this me moved to using in game time(as measured by the /query time gametime command or something equivalent). This would allow for the campfire to unlight itself more realistically, and this would of course be configurable.
elexblue84:
"What about making it so you also have to add wood (like a furnace) to keep it burning?"
WiiSafetyManual:
You should add different textures for the amount of time you have left before the campfire runs out, that way people know when they need to add fuel
Simple suggestion, allow more time until camp fire goes out. I would like to make mine go for 45 minutes
Current limit 10000 ticks
1.20.1
Forge
47.2.0
1.9.0.1
Any mod that has a campfire structure
Naturally generated structures with campfires have a chance to crash the game
No response
DanielGolan suggested to change the texture of the icons of the campfire and the soul campfire. To have no fire.
To differenciate them some red/yellow or blue/white particles should be added.
1.18.2
Forge
40.1.52
1.7.0.0
No response
noodleassault:
I seem to have an issue where the campfires burn infinitely even with default burn time. With oneprobe installed, it looks like it counts down to 1999 ticks left but then freezes there. If I reload the world it'll go to 1998 ticks left, but after that it'll stay at 1998 even after reloading the world
Seems to happen with soul campfire too, and it also says 1999 ticks remaining, which is odd since I think it should start at 2000000 right?
No response
Canary
Update this mod to 1.20.
TODOs
Guides:
When I use 1.18.1-1.5.1.0, I can't let the campfire have the functions of these mods.
Can you be compatible with them?
This will be great !
https://www.curseforge.com/minecraft/mc-mods/no-hostiles-around-campfire
https://www.curseforge.com/minecraft/mc-mods/healing-campfire
1.20.4
Fabric
0.97.0
2.3.0.0
Lithium makes the unlit timer infinite, meaning the campfire will never burn off, nearly like the unlit campfire mod is not installed
Lithium
If possible, could there be a config to have naturally generated campfires not time out like player-placed ones?
I'm thinking for villages that generate with them as decoration.
During the port to 1.20, Jade & The One Probe were not ported to 1.20 yet.
Re-add the support for them, when they are available
?
Forge
?
?
No response
brass_mccrafty:
Hi there! When right-clicking the campfire with a shovel to put it out, shovel action is not cancelled but instead the shovel is just deleted. No other issues are present but this one could be very detrimental to survival
cech12: I asked for the versions (Minecraft & Mod) but no answer yet. I think, the issue is, that wooden shovels are burnables and have the "put out" interaction. Maybe this is not considered.
No response
No response
It would be nice if the campfires have the abitlity to unlit/despawn after a configurable amount of time/ticks.
Idea from TheIrishStud
Basically, Torches burn out just like the campfire, but you can use the campfire to light them or even other torches. Going under water can put them out? Putting them away can put them out? You could also start the campfire with a torch or even catch other things on fire??
Hello, i try just add for resource pack in modpack i seen which i can't do this i don't know why.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.