Package appeng.api.client
Class AEStackRendering
java.lang.Object
appeng.api.client.AEStackRendering
Registry for
IAEStackRenderHandler. 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, com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int z, AEKey what) static voiddrawOnBlockFace(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource buffers, AEKey what, float scale, int combinedLightIn) static IAEStackRenderHandler<?>static net.minecraft.network.chat.ComponentgetDisplayName(AEKey stack) static IAEStackRenderHandler<?>getOrThrow(AEKeyType channel) static List<net.minecraft.network.chat.Component>getTooltip(AEKey stack) static <T extends AEKey>
voidregister(AEKeyType channel, Class<T> keyClass, IAEStackRenderHandler<T> handler)
-
Constructor Details
-
AEStackRendering
public AEStackRendering()
-
-
Method Details
-
register
public static <T extends AEKey> void register(AEKeyType channel, Class<T> keyClass, IAEStackRenderHandler<T> handler) -
get
-
getOrThrow
-
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
-
getTooltip
-