22w04a
This commit is contained in:
1 parent
889e3b6999
commit
a95622e749
4 files changed
+5
-5
No files matched your search
@@ -134,7 +134,7 @@ public class Inventories {
|
||||
RegistryAccess regs = cc.registryAccess();
|
||||
for (Recipe<?> recipe: recipes)
|
||||
{
|
||||
ItemStack result = recipe.getResultItem();
|
||||
ItemStack result = recipe.getResultItem(regs);
|
||||
List<Value> ingredientValue = new ArrayList<>();
|
||||
recipe.getIngredients().forEach(
|
||||
ingredient ->
|
||||
|
||||
@@ -363,7 +363,7 @@ public class ShapesRenderer
|
||||
{
|
||||
// draw the item
|
||||
client.getItemRenderer().renderStatic(shape.item, transformType, light,
|
||||
OverlayTexture.NO_OVERLAY, matrices, immediate, (int) shape.key(client.level.registryAccess()));
|
||||
OverlayTexture.NO_OVERLAY, matrices, immediate, client.level, (int) shape.key(client.level.registryAccess()));
|
||||
}
|
||||
}
|
||||
matrices.popPose();
|
||||
|
||||
Reference in new issue
Block a user