Class WireRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Wire>
com.codinglitch.simpleradio.client.core.registry.renderers.WireRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength -
Constructor Summary
ConstructorsConstructorDescriptionWireRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildQuad(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.ResourceLocationgetTextureLocation(Wire wireEntity) voidrender(Wire wire, float f, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource source, int i) static voidrenderPlayer(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 voidrenderWire(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
-
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:
renderin classnet.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
- Specified by:
getTextureLocationin classnet.minecraft.client.renderer.entity.EntityRenderer<Wire>
-