public abstract class ProgWidgetDigAndPlace extends ProgWidgetAreaItemBase implements IBlockOrdered, IMaxActions
IBlockOrdered.OrderingIProgWidget.WidgetDifficultyaiManager| Modifier and Type | Method and Description |
|---|---|
java.util.List<net.minecraft.util.text.ITextComponent> |
getExtraStringInfo() |
int |
getMaxActions() |
IBlockOrdered.Ordering |
getOrder() |
void |
getTooltip(java.util.List<net.minecraft.util.text.ITextComponent> curTooltip) |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
readFromPacket(net.minecraft.network.PacketBuffer buf) |
void |
setMaxActions(int maxActions) |
void |
setOrder(IBlockOrdered.Ordering order) |
void |
setUseMaxActions(boolean useMaxActions) |
boolean |
useMaxActions() |
void |
writeToNBT(net.minecraft.nbt.CompoundNBT tag)
At least do
tag.putString("name", getTypeID().toString()); |
void |
writeToPacket(net.minecraft.network.PacketBuffer buf) |
addErrors, addVariables, getArea, getArea, getAreaExtents, getCachedAreaList, getCachedAreaSet, getChunkCache, getDifficulty, getEntitiesInArea, getEntitiesInArea, getParameters, getValidEntities, hasStepInput, invalidateAreaCache, isEntityValid, isItemFilterEmpty, isItemValidForFilters, isItemValidForFilters, returnType, setAIManageraddWarnings, canBeRunByComputers, canSetParameter, copy, fromNBT, fromPacket, getConnectedParameters, getHeight, getMaxUV, getOutputWidget, getOutputWidget, getParent, getTextureSize, getType, getTypeID, getWidgetAI, getWidgetTargetAI, getWidth, getX, getY, hasBlacklist, hasStepOutput, isAvailable, setOutputWidget, setParameter, setParent, setX, setYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsMaxActionsgetEntityFilterPositioncreate, freeToUse, getColor, getTexture, getTranslationKey, isDifficultyOKpublic IBlockOrdered.Ordering getOrder()
getOrder in interface IBlockOrderedpublic void setOrder(IBlockOrdered.Ordering order)
setOrder in interface IBlockOrderedpublic void getTooltip(java.util.List<net.minecraft.util.text.ITextComponent> curTooltip)
getTooltip in interface IProgWidgetgetTooltip in class ProgWidgetpublic void writeToNBT(net.minecraft.nbt.CompoundNBT tag)
IProgWidgettag.putString("name", getTypeID().toString());
Note that the base implementation ProgWidget does this.
writeToNBT in interface IProgWidgetwriteToNBT in class ProgWidgettag - NBT tag to write topublic void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
readFromNBT in interface IProgWidgetreadFromNBT in class ProgWidgetpublic void writeToPacket(net.minecraft.network.PacketBuffer buf)
writeToPacket in interface IProgWidgetwriteToPacket in class ProgWidgetpublic void readFromPacket(net.minecraft.network.PacketBuffer buf)
readFromPacket in interface IProgWidgetreadFromPacket in class ProgWidgetpublic java.util.List<net.minecraft.util.text.ITextComponent> getExtraStringInfo()
getExtraStringInfo in interface IProgWidgetgetExtraStringInfo in class ProgWidgetpublic void setMaxActions(int maxActions)
setMaxActions in interface IMaxActionspublic int getMaxActions()
getMaxActions in interface IMaxActionspublic void setUseMaxActions(boolean useMaxActions)
setUseMaxActions in interface IMaxActionspublic boolean useMaxActions()
useMaxActions in interface IMaxActions