public class ProgWidgetHarvest extends ProgWidgetDigAndPlace implements IToolUser
IBlockOrdered.OrderingIProgWidget.WidgetDifficultyaiManager| Constructor and Description |
|---|
ProgWidgetHarvest() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.DyeColor |
getColor() |
net.minecraft.util.ResourceLocation |
getTexture() |
void |
getTooltip(java.util.List<net.minecraft.util.text.ITextComponent> curTooltip) |
net.minecraft.entity.ai.goal.Goal |
getWidgetAI(IDroneBase drone,
IProgWidget widget)
Get the AI for this progwidget
|
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
readFromPacket(net.minecraft.network.PacketBuffer buf) |
boolean |
requiresTool() |
void |
setRequiresTool(boolean requireHoe) |
void |
writeToNBT(net.minecraft.nbt.CompoundNBT tag)
At least do
tag.putString("name", getTypeID().toString()); |
void |
writeToPacket(net.minecraft.network.PacketBuffer buf) |
getExtraStringInfo, getMaxActions, getOrder, setMaxActions, setOrder, setUseMaxActions, useMaxActionsaddErrors, 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, getWidgetTargetAI, getWidth, getX, getY, hasBlacklist, hasStepOutput, isAvailable, setOutputWidget, setParameter, setParent, setX, setYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsMaxActionsgetEntityFilterPositioncreate, freeToUse, getTranslationKey, isDifficultyOKpublic net.minecraft.util.ResourceLocation getTexture()
getTexture in interface IProgWidgetpublic net.minecraft.entity.ai.goal.Goal getWidgetAI(IDroneBase drone, IProgWidget widget)
IProgWidgetgetWidgetAI in interface IProgWidgetgetWidgetAI in class ProgWidgetdrone - the dronewidget - will be 'this' most of the time, but not when controlled externally (e.g. ComputerCraft)public net.minecraft.item.DyeColor getColor()
getColor in interface IProgWidgetpublic boolean requiresTool()
requiresTool in interface IToolUserpublic void setRequiresTool(boolean requireHoe)
setRequiresTool in interface IToolUserpublic void getTooltip(java.util.List<net.minecraft.util.text.ITextComponent> curTooltip)
getTooltip in interface IProgWidgetgetTooltip in class ProgWidgetDigAndPlacepublic 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 ProgWidgetDigAndPlacetag - NBT tag to write topublic void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
readFromNBT in interface IProgWidgetreadFromNBT in class ProgWidgetDigAndPlacepublic void writeToPacket(net.minecraft.network.PacketBuffer buf)
writeToPacket in interface IProgWidgetwriteToPacket in class ProgWidgetDigAndPlacepublic void readFromPacket(net.minecraft.network.PacketBuffer buf)
readFromPacket in interface IProgWidgetreadFromPacket in class ProgWidgetDigAndPlace