Class BedrockActorRenderTypes
java.lang.Object
com.viaversion.viafabricplus.bedrock.render.BedrockActorRenderTypes
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.renderer.rendertype.RenderTypecreate(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorUvTransform uv, boolean netherLighting) static net.minecraft.client.renderer.rendertype.RenderTypecreate(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorUvTransform uv, boolean netherLighting, BedrockActorTint tint) static net.minecraft.client.renderer.rendertype.RenderTypecreateFrameGlint(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorGlintFrames.Frame frame, float scaleU, float scaleV, boolean netherLighting) Uses one captured clock/options frame and each submitted vertex's own lightmap input.static net.minecraft.client.renderer.rendertype.RenderTypecreateGlint(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorGlint glint, boolean netherLighting) Draws the verified glint family with explicit native inputs; callers own clock and lighting production.static net.minecraft.client.renderer.rendertype.RenderTypecreateGui(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorUvTransform uv) static net.minecraft.client.renderer.rendertype.RenderTypeforGui(net.minecraft.client.renderer.rendertype.RenderType type) A queued GUI draw must retain its own pipeline without changing the cached world material.static net.minecraft.client.renderer.rendertype.RenderTypeforPlayer(net.minecraft.client.renderer.rendertype.RenderType type) World player surfaces fade without changing a cached hand or unrelated actor material.static intlightCoords(int light, boolean ignoreLighting) static boolean
-
Field Details
-
PIPELINES
-
-
Method Details
-
lightCoords
public static int lightCoords(int light, boolean ignoreLighting) -
usesNetherLighting
public static boolean usesNetherLighting() -
create
public static net.minecraft.client.renderer.rendertype.RenderType create(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorUvTransform uv, boolean netherLighting) -
create
public static net.minecraft.client.renderer.rendertype.RenderType create(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorUvTransform uv, boolean netherLighting, BedrockActorTint tint) -
createGlint
public static net.minecraft.client.renderer.rendertype.RenderType createGlint(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorGlint glint, boolean netherLighting) Draws the verified glint family with explicit native inputs; callers own clock and lighting production. -
createFrameGlint
public static net.minecraft.client.renderer.rendertype.RenderType createFrameGlint(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorGlintFrames.Frame frame, float scaleU, float scaleV, boolean netherLighting) Uses one captured clock/options frame and each submitted vertex's own lightmap input. -
forPlayer
public static net.minecraft.client.renderer.rendertype.RenderType forPlayer(net.minecraft.client.renderer.rendertype.RenderType type) World player surfaces fade without changing a cached hand or unrelated actor material. -
forGui
public static net.minecraft.client.renderer.rendertype.RenderType forGui(net.minecraft.client.renderer.rendertype.RenderType type) A queued GUI draw must retain its own pipeline without changing the cached world material. -
createGui
public static net.minecraft.client.renderer.rendertype.RenderType createGui(List<net.minecraft.resources.Identifier> textures, BedrockActorMaterialDefinitions.Material material, boolean ignoreLighting, float multiplier, BedrockActorUvTransform uv)
-