Skip to content

Commit

Permalink
comment out the 1.21.4 brewing stand Background slots on 1.21.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jan 4, 2025
1 parent 799f37c commit b802f30
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,12 @@ else if (previewData.nbt() != null && previewData.nbt().contains(NbtKeys.DISABLE
{
InventoryOverlay.renderInventoryBackground(type, xInv, yInv, props.slotsPerRow, totalSlots, mc);
// TODO 1.21.4+
/*
if (type == InventoryOverlay.InventoryRenderType.BREWING_STAND)
{
InventoryOverlay.renderBrewerBackgroundSlots(previewData.inv(), xInv, yInv, drawContext);
}
*/
InventoryOverlay.renderInventoryStacks(type, previewData.inv(), xInv + props.slotOffsetX, yInv + props.slotOffsetY, props.slotsPerRow, startSlot, totalSlots, lockedSlots, mc, drawContext, mouseX, mouseY);
}

Expand Down Expand Up @@ -286,7 +288,7 @@ private void dumpOffers(DefaultedList<ItemStack> offers, @Nonnull DynamicRegistr
}
else
{
System.out.printf("[%d] Item Nbt: [%s]\n", i, entry.toNbt(registry));
System.out.printf("[%d] Item Nbt: [%s]\n", i, entry.encode(registry));
}

i++;
Expand Down

0 comments on commit b802f30

Please sign in to comment.