Class AEKeyRendering

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

public class AEKeyRendering extends Object
Registry for AEKeyRenderHandler. 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> void register(AEKeyType channel, Class<T> keyClass, AEKeyRenderHandler<T> handler)
    • get

      @Nullable public static @Nullable AEKeyRenderHandler<?> get(AEKeyType channel)
    • getOrThrow

      public static AEKeyRenderHandler<?> getOrThrow(AEKeyType channel)
    • drawInGui

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

      public static void drawOnBlockFace(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource buffers, AEKey what, float scale, int combinedLightIn, net.minecraft.world.level.Level level)
    • getDisplayName

      public static net.minecraft.network.chat.Component getDisplayName(AEKey stack)
    • getTooltip

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