Class AEStackRendering

java.lang.Object
appeng.api.client.AEStackRendering

@Environment(CLIENT) @ThreadSafe public class AEStackRendering extends Object
Registry for IAEStackRenderHandler. Also contains convenience functions to render a stack without having to query the render handler first.
  • Constructor Details

    • AEStackRendering

      public AEStackRendering()
  • Method Details

    • register

      public static <T extends AEKey> void register(AEKeyType channel, Class<T> keyClass, IAEStackRenderHandler<T> handler)
    • get

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

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

      public static void drawInGui(net.minecraft.client.Minecraft minecraft, com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int z, 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)
    • getDisplayName

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

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