Skip to content

Commit

Permalink
Fixed farmer's delight cutting board recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Dec 10, 2024
1 parent 51ca5b1 commit b03d5e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void offerTo(RecipeExporter exporter, String recipePath) {
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) {
Expand Down

0 comments on commit b03d5e9

Please sign in to comment.