Class DelayVariableFacade
java.lang.Object
org.cyclops.integrateddynamics.core.item.VariableFacadeBase
org.cyclops.integrateddynamics.core.item.ProxyVariableFacade
org.cyclops.integrateddynamics.core.item.DelayVariableFacade
- All Implemented Interfaces:
IDelayVariableFacade
,IProxyVariableFacade
,IVariableFacade
Variable facade for variables determined by delays.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.item.ProxyVariableFacade
ProxyVariableFacade.VariableRecursionException
Nested classes/interfaces inherited from interface org.cyclops.integrateddynamics.api.item.IVariableFacade
IVariableFacade.IValidator
-
Constructor Summary
ConstructorDescriptionDelayVariableFacade
(boolean generateId, int proxyId) DelayVariableFacade
(int id, int proxyId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModelOverlay
(IVariableModelBaked variableModelBaked, List<net.minecraft.client.renderer.block.model.BakedQuad> quads, net.minecraft.util.RandomSource random, net.neoforged.neoforge.client.model.data.ModelData modelData) Handle the quads for the given baked model.protected net.minecraft.network.chat.MutableComponent
protected net.minecraft.network.chat.MutableComponent
getProxyInvalidTypeError
(IPartNetwork network, IValueType containingValueType, IValueType actualType) protected net.minecraft.network.chat.MutableComponent
protected net.minecraft.network.chat.Component
Methods inherited from class org.cyclops.integrateddynamics.core.item.ProxyVariableFacade
appendHoverText, getOutputType, getProxy, getTargetVariable, getVariable, isValid, validate
Methods inherited from class org.cyclops.integrateddynamics.core.item.VariableFacadeBase
generateId, getLabel, getReferenceDisplay
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.item.IProxyVariableFacade
getProxyId
Methods inherited from interface org.cyclops.integrateddynamics.api.item.IVariableFacade
appendHoverText, getId, getLabel, getOutputType, getVariable, getVariableItemOverrideModel, isValid, renderISTER, validate
-
Constructor Details
-
DelayVariableFacade
public DelayVariableFacade(boolean generateId, int proxyId) -
DelayVariableFacade
public DelayVariableFacade(int id, int proxyId)
-
-
Method Details
-
getProxyNotInNetworkError
protected net.minecraft.network.chat.MutableComponent getProxyNotInNetworkError()- Overrides:
getProxyNotInNetworkError
in classProxyVariableFacade
-
getProxyInvalidError
protected net.minecraft.network.chat.MutableComponent getProxyInvalidError()- Overrides:
getProxyInvalidError
in classProxyVariableFacade
-
getProxyInvalidTypeError
protected net.minecraft.network.chat.MutableComponent getProxyInvalidTypeError(IPartNetwork network, IValueType containingValueType, IValueType actualType) - Overrides:
getProxyInvalidTypeError
in classProxyVariableFacade
-
getProxyTooltip
protected net.minecraft.network.chat.Component getProxyTooltip()- Overrides:
getProxyTooltip
in classProxyVariableFacade
-
addModelOverlay
public void addModelOverlay(IVariableModelBaked variableModelBaked, List<net.minecraft.client.renderer.block.model.BakedQuad> quads, net.minecraft.util.RandomSource random, net.neoforged.neoforge.client.model.data.ModelData modelData) Description copied from interface:IVariableFacade
Handle the quads for the given baked model.- Specified by:
addModelOverlay
in interfaceIVariableFacade
- Overrides:
addModelOverlay
in classProxyVariableFacade
- Parameters:
variableModelBaked
- The baked model.quads
- The quads that can be added to.random
- A random instance.modelData
- Model data.
-