Skip to content

Commit

Permalink
Fixed toast
Browse files Browse the repository at this point in the history
  • Loading branch information
Buuz135 committed Oct 14, 2023
1 parent dee9c6a commit c6d49c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
org.gradle.jvmargs=-Xmx2G
modGroup=com.buuz135
modVersion=0.4.1
modVersion=0.4.2
modBaseName=sushigocrafting
minecraftVersion=1.20.1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public PerfectionToast(ItemStack stack, Component titleComponent, @Nullable Comp
public Visibility render(GuiGraphics guiGraphics, ToastComponent p_230444_2_, long p_230444_3_) {
RenderSystem.setShaderTexture(0, TEXTURE);
RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1f);
p_230444_2_.render(guiGraphics);
//p_230444_2_.render(guiGraphics);
guiGraphics.blit(TEXTURE, 0, 0, 0, 0, this.width(), this.height());
guiGraphics.renderItem(display, 9, 9);
if (this.subtitle == null) {
guiGraphics.drawString(Minecraft.getInstance().font, this.title, 30, 12, -11534256, false);
Expand Down

0 comments on commit c6d49c9

Please sign in to comment.