Add background tint to arcane workbench GUI, fixes #96
This commit is contained in:
@@ -53,6 +53,8 @@ public class GuiArcaneWorkbench extends GuiContainer {
|
|||||||
@Override
|
@Override
|
||||||
public void drawScreen(int p_73863_1_, int p_73863_2_, float p_73863_3_){
|
public void drawScreen(int p_73863_1_, int p_73863_2_, float p_73863_3_){
|
||||||
|
|
||||||
|
this.drawDefaultBackground();
|
||||||
|
|
||||||
// Tests if there is a wand in the workbench and edits the positioning accordingly
|
// Tests if there is a wand in the workbench and edits the positioning accordingly
|
||||||
if(this.inventorySlots.getSlot(ContainerArcaneWorkbench.WAND_SLOT).getHasStack() && this.inventorySlots
|
if(this.inventorySlots.getSlot(ContainerArcaneWorkbench.WAND_SLOT).getHasStack() && this.inventorySlots
|
||||||
.getSlot(ContainerArcaneWorkbench.WAND_SLOT).getStack().getItem() instanceof ItemWand){
|
.getSlot(ContainerArcaneWorkbench.WAND_SLOT).getStack().getItem() instanceof ItemWand){
|
||||||
|
|||||||
Reference in New Issue
Block a user