public final class Widgets
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Arrow |
createArrow(@NotNull me.shedaniel.math.Point point) |
static @NotNull BurningFire |
createBurningFire(@NotNull me.shedaniel.math.Point point) |
static @NotNull Button |
createButton(@NotNull me.shedaniel.math.Rectangle bounds,
@NotNull net.minecraft.util.text.ITextComponent text) |
static @NotNull Panel |
createCategoryBase(@NotNull me.shedaniel.math.Rectangle rectangle) |
static @NotNull Panel |
createCategoryBase(@NotNull me.shedaniel.math.Rectangle rectangle,
int color) |
static @NotNull Label |
createClickableLabel(@NotNull me.shedaniel.math.Point point,
@NotNull net.minecraft.util.text.ITextComponent text,
@Nullable java.util.function.Consumer<Label> onClick) |
static @NotNull Widget |
createDrawableWidget(@NotNull DrawableConsumer drawable) |
static @NotNull Widget |
createFilledRectangle(@NotNull me.shedaniel.math.Rectangle rectangle,
int color) |
static @NotNull Label |
createLabel(@NotNull me.shedaniel.math.Point point,
@NotNull net.minecraft.util.text.ITextComponent text) |
static @NotNull Panel |
createRecipeBase(@NotNull me.shedaniel.math.Rectangle rectangle) |
static @NotNull Panel |
createRecipeBase(@NotNull me.shedaniel.math.Rectangle rectangle,
int color) |
static @NotNull Widget |
createResultSlotBackground(@NotNull me.shedaniel.math.Point point) |
static @NotNull Slot |
createSlot(@NotNull me.shedaniel.math.Point point) |
static @NotNull Widget |
createSlotBackground(@NotNull me.shedaniel.math.Point point) |
static @NotNull Panel |
createSlotBase(@NotNull me.shedaniel.math.Rectangle rectangle) |
static @NotNull Panel |
createSlotBase(@NotNull me.shedaniel.math.Rectangle rectangle,
int color) |
static @NotNull Widget |
createTexturedWidget(@NotNull net.minecraft.util.ResourceLocation identifier,
int x,
int y,
float u,
float v,
int width,
int height) |
static @NotNull Widget |
createTexturedWidget(@NotNull net.minecraft.util.ResourceLocation identifier,
int x,
int y,
float u,
float v,
int width,
int height,
int textureWidth,
int textureHeight) |
static @NotNull Widget |
createTexturedWidget(@NotNull net.minecraft.util.ResourceLocation identifier,
int x,
int y,
float u,
float v,
int width,
int height,
int uWidth,
int vHeight,
int textureWidth,
int textureHeight) |
static @NotNull Widget |
createTexturedWidget(@NotNull net.minecraft.util.ResourceLocation identifier,
int x,
int y,
int width,
int height) |
static @NotNull Widget |
createTexturedWidget(@NotNull net.minecraft.util.ResourceLocation identifier,
@NotNull me.shedaniel.math.Rectangle bounds) |
static @NotNull Widget |
createTexturedWidget(@NotNull net.minecraft.util.ResourceLocation identifier,
@NotNull me.shedaniel.math.Rectangle bounds,
float u,
float v) |
static @NotNull Widget |
createTexturedWidget(@NotNull net.minecraft.util.ResourceLocation identifier,
@NotNull me.shedaniel.math.Rectangle bounds,
float u,
float v,
int textureWidth,
int textureHeight) |
static @NotNull Widget |
createTexturedWidget(@NotNull net.minecraft.util.ResourceLocation identifier,
@NotNull me.shedaniel.math.Rectangle bounds,
float u,
float v,
int uWidth,
int vHeight,
int textureWidth,
int textureHeight) |
static void |
produceClickSound() |
static @NotNull Widget |
wrapVanillaWidget(@NotNull net.minecraft.client.gui.IGuiEventListener element) |
@NotNull public static @NotNull Widget createDrawableWidget(@NotNull @NotNull DrawableConsumer drawable)
@NotNull public static @NotNull Widget wrapVanillaWidget(@NotNull @NotNull net.minecraft.client.gui.IGuiEventListener element)
@NotNull public static @NotNull Widget createTexturedWidget(@NotNull @NotNull net.minecraft.util.ResourceLocation identifier, @NotNull @NotNull me.shedaniel.math.Rectangle bounds)
@NotNull public static @NotNull Widget createTexturedWidget(@NotNull @NotNull net.minecraft.util.ResourceLocation identifier, int x, int y, int width, int height)
@NotNull public static @NotNull Widget createTexturedWidget(@NotNull @NotNull net.minecraft.util.ResourceLocation identifier, @NotNull @NotNull me.shedaniel.math.Rectangle bounds, float u, float v)
@NotNull public static @NotNull Widget createTexturedWidget(@NotNull @NotNull net.minecraft.util.ResourceLocation identifier, int x, int y, float u, float v, int width, int height)
@NotNull public static @NotNull Widget createTexturedWidget(@NotNull @NotNull net.minecraft.util.ResourceLocation identifier, @NotNull @NotNull me.shedaniel.math.Rectangle bounds, float u, float v, int textureWidth, int textureHeight)
@NotNull public static @NotNull Widget createTexturedWidget(@NotNull @NotNull net.minecraft.util.ResourceLocation identifier, int x, int y, float u, float v, int width, int height, int textureWidth, int textureHeight)
@NotNull public static @NotNull Widget createTexturedWidget(@NotNull @NotNull net.minecraft.util.ResourceLocation identifier, @NotNull @NotNull me.shedaniel.math.Rectangle bounds, float u, float v, int uWidth, int vHeight, int textureWidth, int textureHeight)
@NotNull public static @NotNull Widget createTexturedWidget(@NotNull @NotNull net.minecraft.util.ResourceLocation identifier, int x, int y, float u, float v, int width, int height, int uWidth, int vHeight, int textureWidth, int textureHeight)
@NotNull public static @NotNull Widget createFilledRectangle(@NotNull @NotNull me.shedaniel.math.Rectangle rectangle, int color)
@NotNull public static @NotNull Label createLabel(@NotNull @NotNull me.shedaniel.math.Point point, @NotNull @NotNull net.minecraft.util.text.ITextComponent text)
@NotNull public static @NotNull Label createClickableLabel(@NotNull @NotNull me.shedaniel.math.Point point, @NotNull @NotNull net.minecraft.util.text.ITextComponent text, @Nullable @Nullable java.util.function.Consumer<Label> onClick)
@NotNull public static @NotNull Arrow createArrow(@NotNull @NotNull me.shedaniel.math.Point point)
@NotNull public static @NotNull BurningFire createBurningFire(@NotNull @NotNull me.shedaniel.math.Point point)
@NotNull public static @NotNull Widget createSlotBackground(@NotNull @NotNull me.shedaniel.math.Point point)
@NotNull public static @NotNull Widget createResultSlotBackground(@NotNull @NotNull me.shedaniel.math.Point point)
@NotNull public static @NotNull Panel createRecipeBase(@NotNull @NotNull me.shedaniel.math.Rectangle rectangle)
@NotNull public static @NotNull Panel createCategoryBase(@NotNull @NotNull me.shedaniel.math.Rectangle rectangle)
@NotNull public static @NotNull Panel createRecipeBase(@NotNull @NotNull me.shedaniel.math.Rectangle rectangle, int color)
@NotNull public static @NotNull Panel createCategoryBase(@NotNull @NotNull me.shedaniel.math.Rectangle rectangle, int color)
@NotNull public static @NotNull Panel createSlotBase(@NotNull @NotNull me.shedaniel.math.Rectangle rectangle)
@NotNull public static @NotNull Panel createSlotBase(@NotNull @NotNull me.shedaniel.math.Rectangle rectangle, int color)
@NotNull public static @NotNull Slot createSlot(@NotNull @NotNull me.shedaniel.math.Point point)
@NotNull public static @NotNull Button createButton(@NotNull @NotNull me.shedaniel.math.Rectangle bounds, @NotNull @NotNull net.minecraft.util.text.ITextComponent text)
public static void produceClickSound()