-
Notifications
You must be signed in to change notification settings - Fork 63
Customization
To see the KubeJS compat docs, go here
Note
That system is only supported from version 1.2e
There is already a compatibility with most fuels that use forge tags, but you can add your own fuel types
1. Create a data pack
2. Create a data/<namespace>/createdieselgenerators/fuel_type directory
3. Add a JSON file that looks like this
versions 1.3.3+:
{
"fluid": "#forge:diesel",
"normal": {
"speed": 96.0,
"strength": 6144.0,
"burn_rate": 0.05
},
"modular": {
"speed": 96.0,
"strength": 8192.0,
"burn_rate": 0.05
},
"huge": {
"speed": 224.0,
"strength": 16384.0,
"burn_rate": 0.05
},
"sound_pitch": 0.9,
"burner_multiplier": 0.6
}sound_pitch property contains the pitch of the sound made by engines
fluid property contains the tag of a fluid (starting with '#' example: #forge:gasoline) or a fluid ( example: minecraft:lava )
normal property contains the fuel stats for a normal diesel engine
speed property contains the speed for an engine for this fuel type
strength property contains the stress capacity for an engine for this fuel type
burn_rate property contains the burn rate for an engine for this fuel type in mB/t
modular property contains the fuel stats for a modular diesel engine
huge property contains the fuel stats for a huge diesel engine
burner_multiplier property contains the strength of this fuel used in a burner (0 - doesn't work in a burner, 1 - normal strength, >1 - stronger than normal)
There are already some skins in the base mod, but you can add a skin in these few steps.
1. Create a texture pack
2. Create lighter_skins.json in your namespace ( example: assets/examplepack/lighter_skins.json )
This file should contain a JSON array like this:
[
{
"name": "pizza",
"id": "pizza_skin"
},
{
"name": "pizza lighter",
"id": "pizza_skin"
}
]name property should contain the name that a lighter should have.
id property should contain the id of the lighter.
3. Create your lighter models
These models should be located in assets/createdieselgenerators/models/item/lighter, their name must be <skin-id>.json, <skin-id>_open.json or <skin-id>_ignited.json
4. Load your texture pack
You should see your skins after renaming the lighter
Configure pumpjack output fluid by giving the fluid the createdieselgenerators:pumpjack_output Biomes can be denied from having oil by the createdieselgenerators:deny_oil_biomes tag or have an increased amount of oil by the createdieselgenerators:oil_biomes tag. There are even more things to configure in the config.