From 4abb1774b7bf4ce40f3519deeff18cfd4639755f Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 30 Dec 2023 23:37:49 +0100 Subject: [PATCH] Fix build --- src/main/java/com/minelittlepony/unicopia/block/FruitBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/block/FruitBlock.java b/src/main/java/com/minelittlepony/unicopia/block/FruitBlock.java index 17e3d4e3..2458d5bb 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/FruitBlock.java +++ b/src/main/java/com/minelittlepony/unicopia/block/FruitBlock.java @@ -26,7 +26,7 @@ public class FruitBlock extends Block implements Buckable { public static final MapCodec CODEC = RecordCodecBuilder.mapCodec(instance -> instance.group( Direction.CODEC.fieldOf("attachment_face").forGetter(b -> b.attachmentFace), Registries.BLOCK.getCodec().fieldOf("stem").forGetter(b -> b.stem), - RecordCodecBuilder.create(i -> i.group( + RecordCodecBuilder.create(i -> i.group( Codec.DOUBLE.fieldOf("stem_offset").forGetter(b -> (double)0), Codec.DOUBLE.fieldOf("fruit_offset").forGetter(b -> (double)0) ).apply(i, FruitBlock::createFruitShape)).fieldOf("shape").forGetter(b -> b.shape),