mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-18 07:57:59 +01:00
Fixed farmer's delight cutting board recipes
This commit is contained in:
parent
51ca5b17cd
commit
b03d5e917e
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ public class CuttingBoardRecipeJsonBuilder {
|
|||
public record Tool(Identifier type, TagKey<Item> tag) {
|
||||
static final Codec<Tool> CODEC = RecordCodecBuilder.create(ii -> ii.group(
|
||||
Identifier.CODEC.fieldOf("type").forGetter(Tool::type),
|
||||
TagKey.codec(RegistryKeys.ITEM).fieldOf("tag").forGetter(Tool::tag)
|
||||
TagKey.unprefixedCodec(RegistryKeys.ITEM).fieldOf("tag").forGetter(Tool::tag)
|
||||
).apply(ii, Tool::new));
|
||||
}
|
||||
public record Result(Identifier item, int count) {
|
||||
|
|
Loading…
Reference in a new issue