Class PixelmonRendering
java.lang.Object
com.pixelmonmod.pixelmon.client.render.PixelmonRendering
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocation
static final int
static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
static final net.minecraft.client.renderer.RenderType
static final com.google.common.collect.ImmutableMap<net.minecraft.world.item.ItemDisplayContext,
com.mojang.math.Transformation> static final net.minecraft.client.renderer.block.model.ItemTransforms
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.renderer.entity.EntityRendererProvider.Context
static net.minecraft.client.renderer.RenderType
static net.minecraft.client.renderer.RenderType
getDebugLineStripRenderType
(net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shading, net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard transparency, net.minecraft.client.renderer.RenderStateShard.CullStateShard culling, net.minecraft.client.renderer.RenderStateShard.LightmapStateShard lightmap, net.minecraft.client.renderer.RenderStateShard.OverlayStateShard overlay) static net.minecraft.client.renderer.RenderType
static Optional<net.minecraft.client.model.Model>
static Optional<net.minecraft.client.model.Model>
static Optional<net.minecraft.client.model.Model>
getModel
(net.minecraft.resources.ResourceLocation resource) static net.minecraft.client.renderer.RenderType
getOBJRenderType
(net.minecraft.resources.ResourceLocation texture) static net.minecraft.client.renderer.RenderType
getOBJRenderTypeUndelegated
(net.minecraft.resources.ResourceLocation texture) static net.minecraft.client.renderer.RenderType
getQuadRenderType
(net.minecraft.client.renderer.RenderStateShard.TextureStateShard textureState, net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shading, net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard transparency, net.minecraft.client.renderer.RenderStateShard.CullStateShard culling, net.minecraft.client.renderer.RenderStateShard.LightmapStateShard lightmap, net.minecraft.client.renderer.RenderStateShard.OverlayStateShard overlay) static net.minecraft.client.renderer.RenderType
getSMDCulledRenderType
(net.minecraft.resources.ResourceLocation texture) static net.minecraft.client.renderer.RenderType
getSMDEmissiveRenderType
(net.minecraft.resources.ResourceLocation texture) static net.minecraft.client.renderer.RenderType
getSMDRenderType
(net.minecraft.resources.ResourceLocation texture) static net.minecraft.client.renderer.RenderType
getSMDRenderTypeWithShader
(net.minecraft.resources.ResourceLocation texture, net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shader, boolean wireframe, boolean vertex) static net.minecraft.client.renderer.RenderType
getTriangleRenderType
(net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shading, net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard transparency, net.minecraft.client.renderer.RenderStateShard.CullStateShard culling, net.minecraft.client.renderer.RenderStateShard.LightmapStateShard lightmap, net.minecraft.client.renderer.RenderStateShard.OverlayStateShard overlay) static net.minecraft.client.renderer.RenderType
getVertexSMDRenderType
(net.minecraft.resources.ResourceLocation texture) static net.minecraft.client.renderer.RenderType
getWireFrameSMDRenderType
(net.minecraft.resources.ResourceLocation texture) static net.minecraft.client.renderer.RenderType
gui()
static net.minecraft.client.renderer.RenderType
static net.minecraft.client.renderer.RenderType
outline
(net.minecraft.client.renderer.RenderStateShard.CullStateShard p_239265_1_) static net.minecraft.client.renderer.RenderType
outline
(net.minecraft.resources.ResourceLocation resourceLocation) static void
renderBlockModel
(com.mojang.blaze3d.vertex.PoseStack.Pose mat, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.resources.model.BakedModel model, float f, float g, float b, int light, int overlay, net.minecraftforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType type) static <T extends net.minecraft.world.entity.Entity>
voidrenderEntity
(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer, T entity, int packedLight, boolean fullbright, float partialTicks) static <T extends net.minecraft.world.entity.Entity>
voidrenderEntity
(net.minecraft.client.gui.GuiGraphics graphics, T entity, boolean fullbright, float partialTicks) static void
renderQuadList
(com.mojang.blaze3d.vertex.PoseStack.Pose mat, com.mojang.blaze3d.vertex.VertexConsumer builder, float r, float g, float b, List<net.minecraft.client.renderer.block.model.BakedQuad> quads, int light, int overlay) static net.minecraft.client.renderer.RenderType
static net.minecraft.client.renderer.RenderType
-
Field Details
-
FULLBRIGHT
public static final int FULLBRIGHT- See Also:
-
EMPTY_TEX
public static final net.minecraft.resources.ResourceLocation EMPTY_TEX -
STANDARD_ITEM_TRANSFORMS
public static final net.minecraft.client.renderer.block.model.ItemTransforms STANDARD_ITEM_TRANSFORMS -
STANDARD_ITEM_TRANSFORMATIONS
public static final com.google.common.collect.ImmutableMap<net.minecraft.world.item.ItemDisplayContext,com.mojang.math.Transformation> STANDARD_ITEM_TRANSFORMATIONS -
GLOW_TRANSPARENCY
public static net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard GLOW_TRANSPARENCY -
LINE_STRIP
public static final net.minecraft.client.renderer.RenderType LINE_STRIP
-
-
Constructor Details
-
PixelmonRendering
public PixelmonRendering()
-
-
Method Details
-
outline
public static net.minecraft.client.renderer.RenderType outline(net.minecraft.resources.ResourceLocation resourceLocation) -
outline
public static net.minecraft.client.renderer.RenderType outline(net.minecraft.client.renderer.RenderStateShard.CullStateShard p_239265_1_) -
getSMDRenderTypeWithShader
public static net.minecraft.client.renderer.RenderType getSMDRenderTypeWithShader(net.minecraft.resources.ResourceLocation texture, net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shader, boolean wireframe, boolean vertex) -
createRenderingContext
public static net.minecraft.client.renderer.entity.EntityRendererProvider.Context createRenderingContext() -
gui
public static net.minecraft.client.renderer.RenderType gui() -
triangleFan
public static net.minecraft.client.renderer.RenderType triangleFan() -
lineStrip
public static net.minecraft.client.renderer.RenderType lineStrip() -
thinLines
public static net.minecraft.client.renderer.RenderType thinLines() -
getBellRenderType
public static net.minecraft.client.renderer.RenderType getBellRenderType() -
getDebugLineStripRenderType
public static net.minecraft.client.renderer.RenderType getDebugLineStripRenderType(net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shading, net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard transparency, net.minecraft.client.renderer.RenderStateShard.CullStateShard culling, net.minecraft.client.renderer.RenderStateShard.LightmapStateShard lightmap, net.minecraft.client.renderer.RenderStateShard.OverlayStateShard overlay) -
getTriangleRenderType
public static net.minecraft.client.renderer.RenderType getTriangleRenderType(net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shading, net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard transparency, net.minecraft.client.renderer.RenderStateShard.CullStateShard culling, net.minecraft.client.renderer.RenderStateShard.LightmapStateShard lightmap, net.minecraft.client.renderer.RenderStateShard.OverlayStateShard overlay) -
getQuadRenderType
public static net.minecraft.client.renderer.RenderType getQuadRenderType(net.minecraft.client.renderer.RenderStateShard.TextureStateShard textureState, net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shading, net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard transparency, net.minecraft.client.renderer.RenderStateShard.CullStateShard culling, net.minecraft.client.renderer.RenderStateShard.LightmapStateShard lightmap, net.minecraft.client.renderer.RenderStateShard.OverlayStateShard overlay) -
getSMDCulledRenderType
public static net.minecraft.client.renderer.RenderType getSMDCulledRenderType(net.minecraft.resources.ResourceLocation texture) -
getDroppedItemShadowRenderType
public static net.minecraft.client.renderer.RenderType getDroppedItemShadowRenderType() -
getSMDRenderType
public static net.minecraft.client.renderer.RenderType getSMDRenderType(net.minecraft.resources.ResourceLocation texture) -
getWireFrameSMDRenderType
public static net.minecraft.client.renderer.RenderType getWireFrameSMDRenderType(net.minecraft.resources.ResourceLocation texture) -
getSMDEmissiveRenderType
public static net.minecraft.client.renderer.RenderType getSMDEmissiveRenderType(net.minecraft.resources.ResourceLocation texture) -
getVertexSMDRenderType
public static net.minecraft.client.renderer.RenderType getVertexSMDRenderType(net.minecraft.resources.ResourceLocation texture) -
getOBJRenderType
public static net.minecraft.client.renderer.RenderType getOBJRenderType(net.minecraft.resources.ResourceLocation texture) -
getOBJRenderTypeUndelegated
public static net.minecraft.client.renderer.RenderType getOBJRenderTypeUndelegated(net.minecraft.resources.ResourceLocation texture) -
renderEntity
public static <T extends net.minecraft.world.entity.Entity> void renderEntity(net.minecraft.client.gui.GuiGraphics graphics, T entity, boolean fullbright, float partialTicks) -
renderEntity
public static <T extends net.minecraft.world.entity.Entity> void renderEntity(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer, T entity, int packedLight, boolean fullbright, float partialTicks) -
getModel
-
getModel
-
getModel
public static Optional<net.minecraft.client.model.Model> getModel(net.minecraft.resources.ResourceLocation resource) -
renderBlockModel
public static void renderBlockModel(com.mojang.blaze3d.vertex.PoseStack.Pose mat, com.mojang.blaze3d.vertex.VertexConsumer builder, @Nullable net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.resources.model.BakedModel model, float f, float g, float b, int light, int overlay, net.minecraftforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType type) -
renderQuadList
public static void renderQuadList(com.mojang.blaze3d.vertex.PoseStack.Pose mat, com.mojang.blaze3d.vertex.VertexConsumer builder, float r, float g, float b, List<net.minecraft.client.renderer.block.model.BakedQuad> quads, int light, int overlay)
-