@ApiStatus.Internal
public final class InternalWidgets
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Widget |
createAutoCraftingButtonWidget(me.shedaniel.math.Rectangle displayBounds,
me.shedaniel.math.Rectangle rectangle,
net.minecraft.util.text.ITextComponent text,
java.util.function.Supplier<RecipeDisplay> displaySupplier,
java.util.List<Widget> setupDisplay,
RecipeCategory<?> category) |
static Widget |
mergeWidgets(Widget widget1,
Widget widget2) |
static Widget |
wrapLateRenderable(Widget widget) |
static WidgetWithBounds |
wrapLateRenderable(WidgetWithBounds widget) |
static WidgetWithBounds |
wrapTranslate(WidgetWithBounds widget,
float x,
float y,
float z) |
public static Widget createAutoCraftingButtonWidget(me.shedaniel.math.Rectangle displayBounds, me.shedaniel.math.Rectangle rectangle, net.minecraft.util.text.ITextComponent text, java.util.function.Supplier<RecipeDisplay> displaySupplier, java.util.List<Widget> setupDisplay, RecipeCategory<?> category)
public static WidgetWithBounds wrapLateRenderable(WidgetWithBounds widget)
public static WidgetWithBounds wrapTranslate(WidgetWithBounds widget, float x, float y, float z)