public class ProgWidgetLiquidExport extends ProgWidgetInventoryBase implements ILiquidFiltered, ILiquidExport
IProgWidget.WidgetDifficultyaiManagerALL_SIDES| Constructor and Description |
|---|
ProgWidgetLiquidExport() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.DyeColor |
getColor() |
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() |
net.minecraft.entity.ai.goal.Goal |
getWidgetAI(IDroneBase drone,
IProgWidget widget)
Get the AI for this progwidget
|
boolean |
isFluidValid(net.minecraft.fluid.Fluid fluid) |
boolean |
isPlacingFluidBlocks() |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
readFromPacket(net.minecraft.network.PacketBuffer buf) |
void |
setPlaceFluidBlocks(boolean placeFluidBlocks) |
void |
writeToNBT(net.minecraft.nbt.CompoundNBT tag)
At least do
tag.putString("name", getTypeID().toString()); |
void |
writeToPacket(net.minecraft.network.PacketBuffer buf) |
addErrors, getCount, getExtraStringInfo, getSides, getTooltip, isUsingSides, setCount, setSides, setUseCount, useCountaddVariables, getArea, getArea, getAreaExtents, getCachedAreaList, getCachedAreaSet, getChunkCache, getDifficulty, getEntitiesInArea, getEntitiesInArea, 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, waitgetDirForSides, getSidesFromDir, isSideSelectedgetEntityFilterPositioncreate, freeToUse, getTranslationKey, isDifficultyOKpublic net.minecraft.util.ResourceLocation getTexture()
getTexture in interface IProgWidgetpublic 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 ProgWidgetAreaItemBasepublic boolean isFluidValid(net.minecraft.fluid.Fluid fluid)
isFluidValid in interface ILiquidFilteredpublic 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 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 ProgWidgetInventoryBasetag - NBT tag to write topublic void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
readFromNBT in interface IProgWidgetreadFromNBT in class ProgWidgetInventoryBasepublic void writeToPacket(net.minecraft.network.PacketBuffer buf)
writeToPacket in interface IProgWidgetwriteToPacket in class ProgWidgetInventoryBasepublic void readFromPacket(net.minecraft.network.PacketBuffer buf)
readFromPacket in interface IProgWidgetreadFromPacket in class ProgWidgetInventoryBasepublic void setPlaceFluidBlocks(boolean placeFluidBlocks)
setPlaceFluidBlocks in interface ILiquidExportpublic boolean isPlacingFluidBlocks()
isPlacingFluidBlocks in interface ILiquidExport