Class BedrockActorRenderTypes

java.lang.Object
com.viaversion.viafabricplus.bedrock.render.BedrockActorRenderTypes

public final class BedrockActorRenderTypes extends Object
  • Field Details

    • PIPELINES

      public static final List<com.mojang.renderpearl.api.pipeline.RenderPipeline> 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)