Class PartTypeInterfaceCraftingAttuned.State
java.lang.Object
org.cyclops.integrateddynamics.core.part.PartStateBase<P>
org.cyclops.integratedcrafting.core.part.PartTypeInterfaceCraftingBase.State<PartTypeInterfaceCraftingAttuned,PartTypeInterfaceCraftingAttuned.State>
org.cyclops.integratedcrafting.part.PartTypeInterfaceCraftingAttuned.State
- All Implemented Interfaces:
org.cyclops.cyclopscore.persist.IDirtyMarkListener,ICraftingInterface,ICraftingResultsSink,org.cyclops.integrateddynamics.api.part.IPartState<PartTypeInterfaceCraftingAttuned>
- Enclosing class:
- PartTypeInterfaceCraftingAttuned
public static class PartTypeInterfaceCraftingAttuned.State
extends PartTypeInterfaceCraftingBase.State<PartTypeInterfaceCraftingAttuned,PartTypeInterfaceCraftingAttuned.State>
-
Field Summary
FieldsFields inherited from class org.cyclops.integratedcrafting.core.part.PartTypeInterfaceCraftingBase.State
craftingNetwork, lastPlayer, network, partNetwork, valueDeseralizationContextFields inherited from interface org.cyclops.integrateddynamics.api.part.IPartState
GLOBALCOUNTER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition>protected net.minecraftforge.common.util.LazyOptional<org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler>booleanvoidreadFromNBT(org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.CompoundTag tag) voidsetNetworks(@Nullable org.cyclops.integrateddynamics.api.network.INetwork network, @Nullable ICraftingNetwork craftingNetwork, @Nullable org.cyclops.integrateddynamics.api.network.IPartNetwork partNetwork, int channel, @Nullable org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext, boolean initialize) voidwriteToNBT(net.minecraft.nbt.CompoundTag tag) Methods inherited from class org.cyclops.integratedcrafting.core.part.PartTypeInterfaceCraftingBase.State
addResult, cancelCraftingJob, canScheduleCraftingJobs, flushInventoryOutputBuffer, forceObservationOnInsertable, getCapability, getChannel, getChannelCrafting, getCraftingJobHandler, getCraftingJobs, getCraftingJobsCount, getCraftingJobStatus, getCraftingNetwork, getDefaultUpdateInterval, getIngredientComponentTargetSideOverride, getInventoryOutputBuffer, getPendingCraftingJobOutputs, getPosition, getTarget, reloadRecipes, scheduleCraftingJob, setChannelCrafting, setIngredientComponentTargetSideOverride, setLastPlayer, setShouldAddToCraftingNetwork, setTarget, shouldAddToCraftingNetwork, wrapStorageCapabilityMethods inherited from class org.cyclops.integrateddynamics.core.part.PartStateBase
addVolatileCapability, clearInventoriesNamed, forceBlockRenderUpdate, gatherCapabilities, generateId, getAspectProperties, getId, getInventoriesNamed, getInventoryNamed, getMaxOffset, getOffsetVariableError, getPriority, getTargetOffset, getTargetSideOverride, getUpdateInterval, isDirtyAndReset, isEnabled, isForceBlockRenderUpdateAndReset, isUpdateAndReset, markDirty, markOffsetVariablesChanged, onDirty, readAspectProperties, removeVolatileCapability, sendUpdate, setAspectProperties, setChannel, setEnabled, setInventoryNamed, setMaxOffset, setPriority, setTargetOffset, setTargetSideOverride, setUpdateInterval, updateOffsetVariables, writeAspectPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.integrateddynamics.api.part.IPartState
loadInventoryNamed, saveInventoryNamed
-
Field Details
-
hasValidTarget
protected boolean hasValidTarget
-
-
Constructor Details
-
State
public State()
-
-
Method Details
-
getTargetRecipeHandler
protected net.minecraftforge.common.util.LazyOptional<org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler> getTargetRecipeHandler() -
setNetworks
public void setNetworks(@Nullable @Nullable org.cyclops.integrateddynamics.api.network.INetwork network, @Nullable @Nullable ICraftingNetwork craftingNetwork, @Nullable @Nullable org.cyclops.integrateddynamics.api.network.IPartNetwork partNetwork, int channel, @Nullable @Nullable org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext, boolean initialize) -
hasValidTarget
public boolean hasValidTarget() -
writeToNBT
public void writeToNBT(net.minecraft.nbt.CompoundTag tag) - Specified by:
writeToNBTin interfaceorg.cyclops.integrateddynamics.api.part.IPartState<PartTypeInterfaceCraftingAttuned>- Overrides:
writeToNBTin classPartTypeInterfaceCraftingBase.State<PartTypeInterfaceCraftingAttuned,PartTypeInterfaceCraftingAttuned.State>
-
readFromNBT
public void readFromNBT(org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.CompoundTag tag) - Specified by:
readFromNBTin interfaceorg.cyclops.integrateddynamics.api.part.IPartState<PartTypeInterfaceCraftingAttuned>- Overrides:
readFromNBTin classPartTypeInterfaceCraftingBase.State<PartTypeInterfaceCraftingAttuned,PartTypeInterfaceCraftingAttuned.State>
-
getRecipes
public Collection<org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition> getRecipes()- Returns:
- The collection of recipes that is exposed by this crafting interface.
-