mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
Order the codec properly please ;)
This commit is contained in:
parent
b261d92bcd
commit
f8cc525237
1 changed files with 2 additions and 2 deletions
|
@ -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("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)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue