mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Fix Liquid Fuel recipe codec
This commit is contained in:
parent
f2596f974a
commit
b261d92bcd
6 changed files with 15 additions and 15 deletions
|
@ -1,8 +1,8 @@
|
|||
// 1.20.4 2024-03-04T22:51:31.6019301 Fuel Recipes
|
||||
aef6f2014740888715f60df148e6d6e86dad4f53 data/actuallyadditions/recipes/liquid_fuel/canola_oil.json
|
||||
3eead46bedb2a9175860ff3f53e3ee204ab097f0 data/actuallyadditions/recipes/liquid_fuel/crystallized_canola_oil.json
|
||||
ab58d627e646b606f4a188cac0f4ee9239395d59 data/actuallyadditions/recipes/liquid_fuel/empowered_canola_oil.json
|
||||
c0d4b30844c113fa36e0714aca19d718b1d59cb5 data/actuallyadditions/recipes/liquid_fuel/refined_canola_oil.json
|
||||
// 1.20.4 2024-03-09T00:34:36.2427438 Fuel Recipes
|
||||
75286df7dca41e4bc9c79cdea8f32aa5bacf6ae3 data/actuallyadditions/recipes/liquid_fuel/canola_oil.json
|
||||
5cead1caac7e914bc9aa53fb8a936dadf05475d5 data/actuallyadditions/recipes/liquid_fuel/crystallized_canola_oil.json
|
||||
177a8185ff924e5f4f02a7205320abc526274af0 data/actuallyadditions/recipes/liquid_fuel/empowered_canola_oil.json
|
||||
4a17bc7a54342a49f6c666b5971dd8882c01223a data/actuallyadditions/recipes/liquid_fuel/refined_canola_oil.json
|
||||
0732b5aebc03718a2adf8710c149021b1bc05eb7 data/actuallyadditions/recipes/solid_fuel/charcoal.json
|
||||
5a8956fa96bf886b5b13d3359ee58dcaee9b87cc data/actuallyadditions/recipes/solid_fuel/coal-block.json
|
||||
d6dbd4428a27289d3407a7609c5e8342a0c72b1a data/actuallyadditions/recipes/solid_fuel/coal.json
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"type": "actuallyadditions:liquid_fuel",
|
||||
"burn_time": 4000,
|
||||
"burn_time": 100,
|
||||
"fuel": {
|
||||
"Amount": 50,
|
||||
"FluidName": "actuallyadditions:canola_oil"
|
||||
},
|
||||
"total_energy": 100
|
||||
"total_energy": 4000
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"type": "actuallyadditions:liquid_fuel",
|
||||
"burn_time": 28000,
|
||||
"burn_time": 280,
|
||||
"fuel": {
|
||||
"Amount": 50,
|
||||
"FluidName": "actuallyadditions:crystallized_oil"
|
||||
},
|
||||
"total_energy": 280
|
||||
"total_energy": 28000
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"type": "actuallyadditions:liquid_fuel",
|
||||
"burn_time": 48000,
|
||||
"burn_time": 400,
|
||||
"fuel": {
|
||||
"Amount": 50,
|
||||
"FluidName": "actuallyadditions:empowered_oil"
|
||||
},
|
||||
"total_energy": 400
|
||||
"total_energy": 48000
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"type": "actuallyadditions:liquid_fuel",
|
||||
"burn_time": 9600,
|
||||
"burn_time": 120,
|
||||
"fuel": {
|
||||
"Amount": 50,
|
||||
"FluidName": "actuallyadditions:refined_canola_oil"
|
||||
},
|
||||
"total_energy": 120
|
||||
"total_energy": 9600
|
||||
}
|
|
@ -95,8 +95,8 @@ public class LiquidFuelRecipe implements Recipe<Container> {
|
|||
private static final Codec<LiquidFuelRecipe> CODEC = RecordCodecBuilder.create(
|
||||
instance -> instance.group(
|
||||
FluidStack.CODEC.fieldOf("fuel").forGetter(recipe -> recipe.fuel),
|
||||
Codec.INT.fieldOf("total_energy").forGetter(recipe -> recipe.burnTime),
|
||||
Codec.INT.fieldOf("burn_time").forGetter(recipe -> recipe.totalEnergy)
|
||||
Codec.INT.fieldOf("burn_time").forGetter(recipe -> recipe.burnTime),
|
||||
Codec.INT.fieldOf("total_energy").forGetter(recipe -> recipe.totalEnergy)
|
||||
)
|
||||
.apply(instance, LiquidFuelRecipe::new)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue