From f8cc525237a1aaf4007e646f3ef706b58dd404c7 Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Sat, 9 Mar 2024 00:37:34 +0100 Subject: [PATCH] Order the codec properly please ;) --- .../actuallyadditions/mod/crafting/LiquidFuelRecipe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/LiquidFuelRecipe.java b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/LiquidFuelRecipe.java index 119fcacfc..daf35ce45 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/LiquidFuelRecipe.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/LiquidFuelRecipe.java @@ -95,8 +95,8 @@ public class LiquidFuelRecipe implements Recipe { private static final Codec CODEC = RecordCodecBuilder.create( instance -> instance.group( FluidStack.CODEC.fieldOf("fuel").forGetter(recipe -> recipe.fuel), - Codec.INT.fieldOf("burn_time").forGetter(recipe -> recipe.burnTime), - Codec.INT.fieldOf("total_energy").forGetter(recipe -> recipe.totalEnergy) + Codec.INT.fieldOf("total_energy").forGetter(recipe -> recipe.totalEnergy), + Codec.INT.fieldOf("burn_time").forGetter(recipe -> recipe.burnTime) ) .apply(instance, LiquidFuelRecipe::new) );