Class AEKeyRendering
java.lang.Object
appeng.client.api.AEKeyRendering
Registry for
AEKeyRenderer. Also contains convenience functions to render a stack without having to query the
render handler first.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddrawInGui(net.minecraft.client.Minecraft minecraft, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int x, int y, AEKey what) static <T extends AEKey>
@Nullable AEKeyRenderer<? super T, ?> get(T key) static <T extends AEKey>
AEKeyRenderer<? super T, ?> getOrThrow(T key) static List<net.minecraft.network.chat.Component> getTooltip(AEKey stack) static <T extends AEKey, S>
voidregister(AEKeyType channel, Class<T> keyClass, AEKeyRenderer<T, S> handler)
-
Constructor Details
-
AEKeyRendering
public AEKeyRendering()
-
-
Method Details
-
register
public static <T extends AEKey, S> void register(AEKeyType channel, Class<T> keyClass, AEKeyRenderer<T, S> handler) -
get
-
getOrThrow
-
drawInGui
public static void drawInGui(net.minecraft.client.Minecraft minecraft, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int x, int y, AEKey what) -
getTooltip
-