public class ProgWidgetComment extends ProgWidgetText
IProgWidget.WidgetDifficultystring| Constructor and Description |
|---|
ProgWidgetComment() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addToTooltip() |
boolean |
freeToUse() |
net.minecraft.item.DyeColor |
getColor() |
java.util.List<net.minecraft.util.text.ITextComponent> |
getExtraStringInfo() |
int |
getHeight() |
java.util.List<ProgWidgetType<?>> |
getParameters()
Get the types of the widgets which connect to this widget on the right, in order (top to bottom).
|
net.minecraft.util.ResourceLocation |
getTexture() |
void |
getTooltip(java.util.List<net.minecraft.util.text.ITextComponent> curTooltip) |
int |
getWidth() |
ProgWidgetType<?> |
returnType()
For "auxiliary" widgets that are added onto the left or right of another widget, get the type of the widget
being connected to.
|
getDifficulty, hasStepInput, readFromNBT, readFromPacket, withText, writeToNBT, writeToPacketaddErrors, addWarnings, canBeRunByComputers, canSetParameter, copy, fromNBT, fromPacket, getConnectedParameters, getMaxUV, getOutputWidget, getOutputWidget, getParent, getTextureSize, getType, getTypeID, getWidgetAI, getWidgetTargetAI, getX, getY, hasBlacklist, hasStepOutput, isAvailable, setOutputWidget, setParameter, setParent, setX, setYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, getTranslationKey, isDifficultyOKpublic ProgWidgetType<?> returnType()
IProgWidgetreturnType in interface IProgWidgetreturnType in class ProgWidgetTextpublic java.util.List<ProgWidgetType<?>> getParameters()
IProgWidgetIProgWidget.getConnectedParameters() will be double the length of this list,
since these widgets can be added on both the right (whitelist) and left (blacklist) sides.getParameters in interface IProgWidgetgetParameters in class ProgWidgetTextpublic void getTooltip(java.util.List<net.minecraft.util.text.ITextComponent> curTooltip)
getTooltip in interface IProgWidgetgetTooltip in class ProgWidgetTextprotected boolean addToTooltip()
addToTooltip in class ProgWidgetTextpublic int getHeight()
getHeight in interface IProgWidgetgetHeight in class ProgWidgetpublic int getWidth()
getWidth in interface IProgWidgetgetWidth in class ProgWidgetpublic net.minecraft.item.DyeColor getColor()
getColor in interface IProgWidgetgetColor in class ProgWidgetTextpublic net.minecraft.util.ResourceLocation getTexture()
getTexture in interface IProgWidgetgetTexture in class ProgWidgetTextpublic java.util.List<net.minecraft.util.text.ITextComponent> getExtraStringInfo()
getExtraStringInfo in interface IProgWidgetgetExtraStringInfo in class ProgWidgetTextpublic boolean freeToUse()