first pass on 1.16.2 - no world gen
This commit is contained in:
parent
ec1ae17134
commit
6e0fc6af61
49 changed files with 139 additions and 138 deletions
|
@ -71,9 +71,9 @@ public class TRRecipeParser {
|
|||
return new FluidIngredient(fluid, Optional.empty(), amount);
|
||||
} else if (in.indexOf('#') == 0) {
|
||||
Identifier id = new Identifier(in.substring(1));
|
||||
Tag<Item> itemTag = ItemTags.getContainer().get(id);
|
||||
Tag<Item> itemTag = ItemTags.getTagGroup().getTag(id);
|
||||
if (itemTag == null) throw new CDSyntaxError("Failed to get item tag for input: " + in);
|
||||
return new TagIngredient(id, ItemTags.getContainer().get(id), amount);
|
||||
return new TagIngredient(id, ItemTags.getTagGroup().getTag(id), amount);
|
||||
} else {
|
||||
ItemStack stack;
|
||||
Optional<CompoundTag> tag = Optional.empty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue