public class MCEditor extends UIContainer<MCEditor> implements IGuiText<MCEditor>
ITransformable.Alpha, ITransformable.Brightness, ITransformable.Color, ITransformable.Position<T>, ITransformable.Rotate, ITransformable.Scale, ITransformable.Size<T>, ITransformable.TranslateclipContent, components, contentHeight, contentWidth, horizontalPadding, titleLabel, verticalPadding, xOffset, yOffset| Constructor and Description |
|---|
MCEditor(MalisisGui gui) |
MCEditor(MalisisGui gui,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
MalisisFont |
getFont()
Gets the
MalisisFont. |
FontRenderOptions |
getFontRenderOptions()
Gets the
FontRenderOptions. |
UISelect<net.minecraft.util.text.TextFormatting> |
getSelect() |
UITextField |
getTextfield() |
void |
onChecked(UICheckBox.CheckEvent event) |
MCEditor |
setFont(MalisisFont font)
Sets the
MalisisFont. |
MCEditor |
setFontRenderOptions(FontRenderOptions fro)
Sets the
FontRenderOptions. |
add, calculateContentSize, componentX, componentY, drawBackground, drawForeground, getClipArea, getComponent, getComponent, getComponentAt, getContentHeight, getContentWidth, getHorizontalPadding, getOffsetX, getOffsetY, getScrollStep, getTitle, getVerticalPadding, onAddedToScreen, onClose, onComponentSpaceChange, onComponentStateChange, onContentUpdate, remove, removeAll, setClipContent, setDisabled, setOffsetX, setOffsetY, setPadding, setTitle, setVisible, shouldClipContentaddControlComponent, attachData, draw, fireEvent, getAlpha, getAnchor, getData, getGui, getHeight, getIconProvider, getName, getParent, getPropertyString, getRawHeight, getRawWidth, getRenderer, getTooltip, getWidth, getX, getY, getZIndex, isDisabled, isFocused, isHovered, isInsideBounds, isRelativeHeight, isRelativeWidth, isVisible, onButtonPress, onButtonRelease, onClick, onDoubleClick, onDrag, onKeyTyped, onMouseMove, onRightClick, onScrollWheel, parentX, parentY, register, relativeX, relativeY, removeAllControlComponents, removeControlComponent, screenX, screenY, self, setAlpha, setAnchor, setFocused, setHovered, setName, setParent, setPosition, setPosition, setSize, setTooltip, setTooltip, setZIndex, toString, unregisterpublic MCEditor(MalisisGui gui)
public MCEditor(MalisisGui gui, int width, int height)
public UITextField getTextfield()
public UISelect<net.minecraft.util.text.TextFormatting> getSelect()
public MalisisFont getFont()
IGuiTextMalisisFont.public MCEditor setFont(MalisisFont font)
IGuiTextMalisisFont.public FontRenderOptions getFontRenderOptions()
IGuiTextFontRenderOptions.getFontRenderOptions in interface IGuiText<MCEditor>public MCEditor setFontRenderOptions(FontRenderOptions fro)
IGuiTextFontRenderOptions.setFontRenderOptions in interface IGuiText<MCEditor>fro - the fropublic void onChecked(UICheckBox.CheckEvent event)