Class PartTypeMachineReader
java.lang.Object
org.cyclops.integrateddynamics.api.part.PartTypeAdapter<PartTypeMachineReader,PartStateReaderBase<PartTypeMachineReader>>
org.cyclops.integrateddynamics.core.part.PartTypeBase<PartTypeMachineReader,PartStateReaderBase<PartTypeMachineReader>>
org.cyclops.integrateddynamics.core.part.PartTypeConfigurable<PartTypeMachineReader,PartStateReaderBase<PartTypeMachineReader>>
org.cyclops.integrateddynamics.core.part.PartTypeAspects<PartTypeMachineReader,PartStateReaderBase<PartTypeMachineReader>>
org.cyclops.integrateddynamics.core.part.read.PartTypeReadBase<PartTypeMachineReader,PartStateReaderBase<PartTypeMachineReader>>
org.cyclops.integrateddynamics.part.PartTypeMachineReader
- All Implemented Interfaces:
INetworkEventListener<IPartNetworkElement<PartTypeMachineReader,
,PartStateReaderBase<PartTypeMachineReader>>> IPartType<PartTypeMachineReader,
,PartStateReaderBase<PartTypeMachineReader>> IPartTypeReader<PartTypeMachineReader,
PartStateReaderBase<PartTypeMachineReader>>
public class PartTypeMachineReader
extends PartTypeReadBase<PartTypeMachineReader,PartStateReaderBase<PartTypeMachineReader>>
A machine reader 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.read.PartTypeReadBase
getContainerProvider, getReadAspects, getUpdateAspects, getVariable, isSolid, onBlockNeighborChange, setTargetOffset, setTargetSideOverride, update, 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
addDrops, constructNetworkEventActions, createBlock, createItem, createNetworkElement, createTranslationKey, forceLightTransparency, getBaseBlockState, getBlockModelPath, getBlockState, getMod, getSubscribedEvents, getUniqueName, hasEventSubscriptions, loadTooltip, onEvent, onPartActivated, registerBlock
Methods inherited from class org.cyclops.integrateddynamics.api.part.PartTypeAdapter
afterNetworkAlive, afterNetworkReAlive, beforeNetworkKill, defaultBlockState, fromNBT, getChannel, getCloneItemStack, getItemStack, getMinimumUpdateInterval, getPriority, getState, getTarget, getTargetOffset, getTargetSideOverride, getTranslationKey, getUpdateInterval, hasOffsetVariables, isEnabled, onNetworkAddition, onNetworkRemoval, onOffsetVariablesChanged, onPostRemoved, onPreRemoved, postUpdate, setEnabled, setPriorityAndChannel, setUpdateInterval, shouldTriggerBlockRenderUpdate, 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
addDrops, afterNetworkAlive, afterNetworkReAlive, beforeNetworkKill, createNetworkElement, defaultBlockState, forceLightTransparency, fromNBT, getBaseBlockState, getBlockModelPath, getBlockState, getChannel, getCloneItemStack, getContainerProviderOffsets, getContainerProviderSettings, getItem, getItemStack, getMinimumUpdateInterval, getPartRenderPosition, getPriority, getState, getTarget, getTargetOffset, getTargetSideOverride, getTranslationKey, getUniqueName, getUpdateInterval, isEnabled, isUpdate, loadTooltip, loadTooltip, onNetworkAddition, onNetworkRemoval, onOffsetVariablesChanged, onPartActivated, onPostRemoved, onPreRemoved, postUpdate, setEnabled, setPriorityAndChannel, setUpdateInterval, shouldTriggerBlockRenderUpdate, supportsOffsets, toNBT, updateTick, writeExtraGuiDataOffsets, writeExtraGuiDataSettings
-
Constructor Details
-
PartTypeMachineReader
-
-
Method Details
-
constructDefaultState
- Specified by:
constructDefaultState
in classPartTypeAdapter<PartTypeMachineReader,
PartStateReaderBase<PartTypeMachineReader>> - Returns:
- Constructor call for a new default state for this part type.
-
getConsumptionRate
- Specified by:
getConsumptionRate
in interfaceIPartType<PartTypeMachineReader,
PartStateReaderBase<PartTypeMachineReader>> - Overrides:
getConsumptionRate
in classPartTypeAspects<PartTypeMachineReader,
PartStateReaderBase<PartTypeMachineReader>> - Parameters:
state
- The state- Returns:
- The consumption rate of this part for the given state.
-