mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-17 19:43:42 +01:00
9bd07d4ed0
- JEI screens render individual widgets instead of the full white background. Adresses #8
29 lines
458 B
Java
29 lines
458 B
Java
package com.simibubi.create.compat.jei;
|
|
|
|
import mezz.jei.api.gui.drawable.IDrawable;
|
|
|
|
public class EmptyBackground implements IDrawable {
|
|
|
|
private int width;
|
|
private int height;
|
|
|
|
public EmptyBackground(int width, int height) {
|
|
this.width = width;
|
|
this.height = height;
|
|
}
|
|
|
|
@Override
|
|
public int getWidth() {
|
|
return width;
|
|
}
|
|
|
|
@Override
|
|
public int getHeight() {
|
|
return height;
|
|
}
|
|
|
|
@Override
|
|
public void draw(int xOffset, int yOffset) {
|
|
}
|
|
|
|
}
|