Class PartTypeInventoryWriter
java.lang.Object
org.cyclops.integrateddynamics.api.part.PartTypeAdapter<PartTypeInventoryWriter,PartStateWriterBase<PartTypeInventoryWriter>>
org.cyclops.integrateddynamics.core.part.PartTypeBase<PartTypeInventoryWriter,PartStateWriterBase<PartTypeInventoryWriter>>
org.cyclops.integrateddynamics.core.part.PartTypeConfigurable<PartTypeInventoryWriter,PartStateWriterBase<PartTypeInventoryWriter>>
org.cyclops.integrateddynamics.core.part.PartTypeAspects<PartTypeInventoryWriter,PartStateWriterBase<PartTypeInventoryWriter>>
org.cyclops.integrateddynamics.core.part.write.PartTypeWriteBase<PartTypeInventoryWriter,PartStateWriterBase<PartTypeInventoryWriter>>
org.cyclops.integrateddynamics.part.PartTypeInventoryWriter
- All Implemented Interfaces:
INetworkEventListener<IPartNetworkElement<PartTypeInventoryWriter,
,PartStateWriterBase<PartTypeInventoryWriter>>> IPartType<PartTypeInventoryWriter,
,PartStateWriterBase<PartTypeInventoryWriter>> IPartTypeActiveVariable<PartTypeInventoryWriter,
,PartStateWriterBase<PartTypeInventoryWriter>> IPartTypeWriter<PartTypeInventoryWriter,
PartStateWriterBase<PartTypeInventoryWriter>>
public class PartTypeInventoryWriter
extends PartTypeWriteBase<PartTypeInventoryWriter,PartStateWriterBase<PartTypeInventoryWriter>>
An inventory writer part.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.part.PartTypeBase
PartTypeBase.IEventAction<P extends IPartType<P,
S>, S extends IPartState<P>, E extends INetworkEvent> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Methods inherited from class org.cyclops.integrateddynamics.core.part.write.PartTypeWriteBase
addDrops, afterNetworkAlive, beforeNetworkKill, constructNetworkEventActions, createBlock, getActiveAspect, getActiveVariable, getBlockState, getContainerProvider, getStatus, getWriteAspects, hasActiveVariable, loadTooltip, onVariableContentsUpdated, setTargetOffset, shouldTriggerBlockRenderUpdate, update, updateActivation, writeExtraGuiData
Methods inherited from class org.cyclops.integrateddynamics.core.part.PartTypeAspects
getAspects, isUpdate, loadTooltip
Methods inherited from class org.cyclops.integrateddynamics.core.part.PartTypeConfigurable
getContainerProviderOffsets, getContainerProviderSettings, writeExtraGuiDataOffsets, writeExtraGuiDataSettings
Methods inherited from class org.cyclops.integrateddynamics.core.part.PartTypeBase
createItem, createNetworkElement, createTranslationKey, forceLightTransparency, getBaseBlockState, getBlockModelPath, getMod, getSubscribedEvents, getUniqueName, hasEventSubscriptions, onEvent, onPartActivated, registerBlock
Methods inherited from class org.cyclops.integrateddynamics.api.part.PartTypeAdapter
afterNetworkReAlive, defaultBlockState, fromNBT, getChannel, getCloneItemStack, getItemStack, getMinimumUpdateInterval, getPriority, getState, getTarget, getTargetOffset, getTargetSideOverride, getTranslationKey, getUpdateInterval, hasOffsetVariables, isEnabled, isSolid, onBlockNeighborChange, onNetworkAddition, onNetworkRemoval, onOffsetVariablesChanged, onPostRemoved, onPreRemoved, postUpdate, setEnabled, setPriorityAndChannel, setTargetSideOverride, setUpdateInterval, toNBT, updateTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.integrateddynamics.api.network.INetworkEventListener
getSubscribedEvents, hasEventSubscriptions, onEvent
Methods inherited from interface org.cyclops.integrateddynamics.api.part.IPartType
afterNetworkReAlive, createNetworkElement, defaultBlockState, forceLightTransparency, fromNBT, getBaseBlockState, getBlockModelPath, getChannel, getCloneItemStack, getContainerProviderOffsets, getContainerProviderSettings, getItem, getItemStack, getMinimumUpdateInterval, getPartRenderPosition, getPriority, getState, getTarget, getTargetOffset, getTargetSideOverride, getTranslationKey, getUniqueName, getUpdateInterval, isEnabled, isSolid, isUpdate, loadTooltip, onBlockNeighborChange, onNetworkAddition, onNetworkRemoval, onOffsetVariablesChanged, onPartActivated, onPostRemoved, onPreRemoved, postUpdate, setEnabled, setPriorityAndChannel, setTargetSideOverride, setUpdateInterval, supportsOffsets, toNBT, updateTick, writeExtraGuiDataOffsets, writeExtraGuiDataSettings
-
Constructor Details
-
PartTypeInventoryWriter
-
-
Method Details
-
constructDefaultState
- Specified by:
constructDefaultState
in classPartTypeAdapter<PartTypeInventoryWriter,
PartStateWriterBase<PartTypeInventoryWriter>> - Returns:
- Constructor call for a new default state for this part type.
-
getConsumptionRate
- Specified by:
getConsumptionRate
in interfaceIPartType<PartTypeInventoryWriter,
PartStateWriterBase<PartTypeInventoryWriter>> - Overrides:
getConsumptionRate
in classPartTypeAspects<PartTypeInventoryWriter,
PartStateWriterBase<PartTypeInventoryWriter>> - Parameters:
state
- The state- Returns:
- The consumption rate of this part for the given state.
-