Class SimpleList.Builder<T extends SimpleList.Entry<T>>
java.lang.Object
de.cheaterpaul.enchantmentmachine.client.gui.components.SimpleList.Builder<T>
- Enclosing class:
SimpleList<T extends SimpleList.Entry<T>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected final intprotected final intprotected final intprotected final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()components(List<net.minecraft.network.chat.Component> components) componentsWithClick(List<net.minecraft.network.chat.Component> components, Consumer<Integer> onClick) componentsWithClick(List<org.apache.commons.lang3.tuple.Pair<net.minecraft.network.chat.Component, Runnable>> components) itemHeight(int itemHeight)
-
Field Details
-
x
protected final int x -
y
protected final int y -
pWidth
protected final int pWidth -
pHeight
protected final int pHeight -
itemHeight
protected int itemHeight -
components
-
-
Constructor Details
-
Builder
public Builder(int x, int y, int pWidth, int pHeight)
-
-
Method Details
-
itemHeight
-
components
-
componentsWithClick
public SimpleList.Builder<T> componentsWithClick(List<org.apache.commons.lang3.tuple.Pair<net.minecraft.network.chat.Component, Runnable>> components) -
componentsWithClick
public SimpleList.Builder<T> componentsWithClick(List<net.minecraft.network.chat.Component> components, Consumer<Integer> onClick) -
build
-