RenderContext
Types
Link copied to clipboard
enum TextureFilter
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun drawNinePatch(@NotNull patch: @NotNull NinePatch<@NotNull MyResourceLocation>, x: Float, y: Float, width: Int, height: Int)
Link copied to clipboard
Link copied to clipboard
abstract fun drawString(@NotNull fontRenderer: @NotNull IFontRenderer, @NotNull text: @NotNull String, x: Int, y: Int, color: Int, shadow: Boolean): Int
Link copied to clipboard
open fun drawStringCenteredScaledMaxWidth(@NotNull text: @NotNull String, @NotNull fr: @NotNull IFontRenderer, x: Float, y: Float, shadow: Boolean, length: Int, color: Int)
Link copied to clipboard
fun RenderContext.drawStringCenteredScalingDownWithMaxWidth(text: String, centerX: Int, centerY: Int, maxWidth: Int, color: Int, shadow: Boolean = false, fr: IFontRenderer = minecraft.defaultFontRenderer)
Link copied to clipboard
open fun drawStringScaledMaxWidth(@NotNull text: @NotNull String, @NotNull fontRenderer: @NotNull IFontRenderer, x: Int, y: Int, shadow: Boolean, width: Int, color: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NotNull
Dynamically load a buffered image into a minecraft bindable texture.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun renderItemStack(@NotNull itemStack: @NotNull IItemStack, x: Int, y: Int, @Nullable overlayText: @Nullable String)
Link copied to clipboard
Link copied to clipboard
Set the texture min and mag filter which dictate how an image is upscaled / interpolated.