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),