Class AEKeyRendering

java.lang.Object
appeng.client.api.AEKeyRendering

public class AEKeyRendering extends Object
Registry for AEKeyRenderer. Also contains convenience functions to render a stack without having to query the render handler first.
  • 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

      @Nullable public static <T extends AEKey> @Nullable AEKeyRenderer<? super T, ?> get(T key)
    • getOrThrow

      public static <T extends AEKey> AEKeyRenderer<? super T, ?> getOrThrow(T key)
    • drawInGui

      public static void drawInGui(net.minecraft.client.Minecraft minecraft, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int x, int y, AEKey what)
    • getTooltip

      public static List<net.minecraft.network.chat.Component> getTooltip(AEKey stack)