Class ValueObjectTypeChemicalStack
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeBase<ValueObjectTypeChemicalStack.ValueChemicalStack>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueObjectTypeBase<ValueObjectTypeChemicalStack.ValueChemicalStack>
org.cyclops.integratedmekanism.value.ValueObjectTypeChemicalStack
- All Implemented Interfaces:
org.cyclops.integrateddynamics.api.evaluate.variable.IValueType<ValueObjectTypeChemicalStack.ValueChemicalStack>,org.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeNamed<ValueObjectTypeChemicalStack.ValueChemicalStack>,org.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeNullable<ValueObjectTypeChemicalStack.ValueChemicalStack>,org.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeUniquelyNamed<ValueObjectTypeChemicalStack.ValueChemicalStack>
public class ValueObjectTypeChemicalStack
extends org.cyclops.integrateddynamics.core.evaluate.variable.ValueObjectTypeBase<ValueObjectTypeChemicalStack.ValueChemicalStack>
implements org.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeNamed<ValueObjectTypeChemicalStack.ValueChemicalStack>, org.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeUniquelyNamed<ValueObjectTypeChemicalStack.ValueChemicalStack>, org.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeNullable<ValueObjectTypeChemicalStack.ValueChemicalStack>
Value type with values that are fluidstacks.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IValueType
org.cyclops.integrateddynamics.api.evaluate.variable.IValueType.ValueTypeComparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.cyclops.integrateddynamics.core.logicprogrammer.ValueTypeLPElementBasedeserialize(org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.Tag value) protected StringgetModId()booleannet.minecraft.nbt.Tagserialize(org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext, ValueObjectTypeChemicalStack.ValueChemicalStack value) net.minecraft.network.chat.MutableComponentstatic net.minecraft.world.item.ItemStackvalueToItemStack(mekanism.api.chemical.ChemicalStack chemicalStack) Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueObjectTypeBase
isObjectMethods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeBase
canDeserialize, cast, correspondsTo, getDisplayColor, getDisplayColorFormat, getTranslationKey, getTypeName, getTypeNamespace, getUniqueName, getUnlocalizedPrefix, isCategory, loadTooltip, materialize, parseString, registerModelResourceLocation, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IValueType
canDeserialize, cast, correspondsTo, getDisplayColor, getDisplayColorFormat, getTranslationKey, getTypeName, getUniqueName, getVariableItemOverrideModel, isCategory, isObject, loadTooltip, materialize, parseString, renderISTER, toString
-
Constructor Details
-
ValueObjectTypeChemicalStack
public ValueObjectTypeChemicalStack()
-
-
Method Details
-
getModId
- Overrides:
getModIdin classorg.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeBase<ValueObjectTypeChemicalStack.ValueChemicalStack>
-
getDefault
- Specified by:
getDefaultin interfaceorg.cyclops.integrateddynamics.api.evaluate.variable.IValueType<ValueObjectTypeChemicalStack.ValueChemicalStack>
-
toCompactString
public net.minecraft.network.chat.MutableComponent toCompactString(ValueObjectTypeChemicalStack.ValueChemicalStack value) - Specified by:
toCompactStringin interfaceorg.cyclops.integrateddynamics.api.evaluate.variable.IValueType<ValueObjectTypeChemicalStack.ValueChemicalStack>
-
serialize
public net.minecraft.nbt.Tag serialize(org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext, ValueObjectTypeChemicalStack.ValueChemicalStack value) - Specified by:
serializein interfaceorg.cyclops.integrateddynamics.api.evaluate.variable.IValueType<ValueObjectTypeChemicalStack.ValueChemicalStack>
-
deserialize
public ValueObjectTypeChemicalStack.ValueChemicalStack deserialize(org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext, net.minecraft.nbt.Tag value) - Specified by:
deserializein interfaceorg.cyclops.integrateddynamics.api.evaluate.variable.IValueType<ValueObjectTypeChemicalStack.ValueChemicalStack>
-
getName
- Specified by:
getNamein interfaceorg.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeNamed<ValueObjectTypeChemicalStack.ValueChemicalStack>
-
isNull
- Specified by:
isNullin interfaceorg.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeNullable<ValueObjectTypeChemicalStack.ValueChemicalStack>
-
createLogicProgrammerElement
public org.cyclops.integrateddynamics.core.logicprogrammer.ValueTypeLPElementBase createLogicProgrammerElement()- Specified by:
createLogicProgrammerElementin interfaceorg.cyclops.integrateddynamics.api.evaluate.variable.IValueType<ValueObjectTypeChemicalStack.ValueChemicalStack>- Overrides:
createLogicProgrammerElementin classorg.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeBase<ValueObjectTypeChemicalStack.ValueChemicalStack>
-
valueToItemStack
public static net.minecraft.world.item.ItemStack valueToItemStack(mekanism.api.chemical.ChemicalStack chemicalStack) -
getUniqueName
- Specified by:
getUniqueNamein interfaceorg.cyclops.integrateddynamics.api.evaluate.variable.IValueTypeUniquelyNamed<ValueObjectTypeChemicalStack.ValueChemicalStack>
-