java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Wire>
com.codinglitch.simpleradio.client.core.registry.renderers.WireRenderer

public class WireRenderer extends net.minecraft.client.renderer.entity.EntityRenderer<Wire>
  • Field Summary

    Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer

    entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
  • Constructor Summary

    Constructors
    Constructor
    Description
    WireRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    buildQuad(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix4f matrix, int overlay, int packedLight, net.minecraft.world.phys.Vec3 normal, float index, float offset, float tile, net.minecraft.world.phys.Vec3 one, net.minecraft.world.phys.Vec3 two, net.minecraft.world.phys.Vec3 three, net.minecraft.world.phys.Vec3 four)
     
    net.minecraft.resources.ResourceLocation
     
    void
    render(Wire wire, float f, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource source, int i)
     
    static void
    renderPlayer(net.minecraft.client.player.AbstractClientPlayer player, net.minecraft.client.renderer.MultiBufferSource source, com.mojang.blaze3d.vertex.PoseStack poseStack, float partialTick, @Nullable net.minecraft.client.Camera camera)
     
    static void
    renderWire(net.minecraft.world.level.Level level, net.minecraft.client.renderer.MultiBufferSource source, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, @Nullable Wire wire, float partialTick)
     

    Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer

    getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WireRenderer

      public WireRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context context)
  • Method Details

    • renderWire

      public static void renderWire(net.minecraft.world.level.Level level, net.minecraft.client.renderer.MultiBufferSource source, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, @Nullable @Nullable Wire wire, float partialTick)
    • render

      public void render(Wire wire, float f, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource source, int i)
      Overrides:
      render in class net.minecraft.client.renderer.entity.EntityRenderer<Wire>
    • renderPlayer

      public static void renderPlayer(net.minecraft.client.player.AbstractClientPlayer player, net.minecraft.client.renderer.MultiBufferSource source, com.mojang.blaze3d.vertex.PoseStack poseStack, float partialTick, @Nullable @Nullable net.minecraft.client.Camera camera)
    • buildQuad

      public static void buildQuad(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix4f matrix, int overlay, int packedLight, net.minecraft.world.phys.Vec3 normal, float index, float offset, float tile, net.minecraft.world.phys.Vec3 one, net.minecraft.world.phys.Vec3 two, net.minecraft.world.phys.Vec3 three, net.minecraft.world.phys.Vec3 four)
    • getTextureLocation

      public net.minecraft.resources.ResourceLocation getTextureLocation(Wire wireEntity)
      Specified by:
      getTextureLocation in class net.minecraft.client.renderer.entity.EntityRenderer<Wire>