java – Minecraft modding 1.12 draw image

I want to draw an image that I created but the image is too big. Now I want the Gui to enlarge the image to a reasonable size, but when I change the width and the height it does not make the image enlarge / raise, but only the texture.

Code where I draw the image on the screen:

@Cancel
public void drawScreen (int mouseX, int mouseY, float partialTicks)
{
this.drawDefaultBackground ();
super.drawScreen (mouseX, mouseY, partialTicks);
this.renderHoveredToolTip (mouseX, mouseY);
Slot slot = getSlotAtPosition (mouseX, mouseY);

if (slot! = null) {
if (slot.getStack (). getItem () instanceof MonsterCard) {
this.mc.getTextureManager (). bindTexture (new resource location (Reference.MODID + ": textures / elements /" + ((MonsterCard) slot.getStack (). getItem ()). getName () + ".png"));
int i = (this.width - this.xSize) / 4;
int j = (this.height - this.ySize) / 2;
this.drawTexturedModalRect (0, 0, 0, 0, 154, 226);
}
}
}

Image that I want to draw that is 154px x 226px:

enter the description of the image here

Exit:

enter the description of the image here