Interface IValueTypeLogicProgrammerElement<S extends ISubGuiBox,G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu,GIC extends ILogicProgrammerElementClient<S,G,C>>
- Type Parameters:
S- The sub gui box type.G- The type of gui.C- The type of container.
- All Superinterfaces:
IGuiInputElement<S,,G, C, GIC> ILogicProgrammerElement<S,G, C, GIC>
- All Known Implementing Classes:
ValueTypeBooleanLPElement,ValueTypeIngredientsLPElement,ValueTypeItemStackLPElement,ValueTypeListLPElement,ValueTypeLPElementBase,ValueTypeOperatorLPElement,ValueTypeRecipeLPElement,ValueTypeStringLPElement
public interface IValueTypeLogicProgrammerElement<S extends ISubGuiBox,G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu,GIC extends ILogicProgrammerElementClient<S,G,C>>
extends ILogicProgrammerElement<S,G,C,GIC>
An element instantiation of a value type inside the logic programmer.
-
Method Summary
Modifier and TypeMethodDescription<G2 extends net.minecraft.client.gui.screens.Screen,C2 extends net.minecraft.world.inventory.AbstractContainerMenu>
IGuiInputElementValueType<?, G2, C2, ?> getValue()IValueType<?> voidMethods inherited from interface org.cyclops.integrateddynamics.api.client.gui.subgui.IGuiInputElement
activate, deactivate, getClient, getColor, getName, getRenderPattern, getSymbol, loadTooltip, validateMethods inherited from interface org.cyclops.integrateddynamics.api.logicprogrammer.ILogicProgrammerElement
canCurrentlyReadFromOtherItem, canWriteElementPre, createSlot, getItemStackSizeLimit, getMatchString, getType, isFor, isItemValidForSlot, loadElement, matchesInput, matchesOutput, onInputSlotUpdated, setValueInContainer, slotClick, writeElement
-
Method Details
-
getValueType
IValueType<?> getValueType()- Returns:
- The value type of this element.
-
getValue
IValue getValue()- Returns:
- The current value.
-
setValue
- Parameters:
value- The new value.
-
createInnerGuiElement
@Nullable <G2 extends net.minecraft.client.gui.screens.Screen,C2 extends net.minecraft.world.inventory.AbstractContainerMenu> IGuiInputElementValueType<?,G2, createInnerGuiElement()C2, ?> - Type Parameters:
G2- The type of gui.C2- The type of container.- Returns:
- Create an inner gui element for modifying the value, may be null if it doesn't apply.
-