Class PixelmonBoatRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<net.minecraft.world.entity.vehicle.Boat>
net.minecraft.client.renderer.entity.BoatRenderer
com.pixelmonmod.pixelmon.client.render.entity.renderers.PixelmonBoatRenderer
public class PixelmonBoatRenderer
extends net.minecraft.client.renderer.entity.BoatRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ConstructorDescriptionPixelmonBoatRenderer
(net.minecraft.client.renderer.entity.EntityRendererProvider.Context p_i46190_1_, boolean chestBoat) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation,
net.minecraft.client.model.ListModel<net.minecraft.world.entity.vehicle.Boat>> getModelWithLocation
(net.minecraft.world.entity.vehicle.Boat boat) net.minecraft.resources.ResourceLocation
getTextureLocation
(net.minecraft.world.entity.vehicle.Boat boat) void
render
(net.minecraft.world.entity.vehicle.Boat entity, float p_225623_2_, float p_225623_3_, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int partialTick) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Constructor Details
-
PixelmonBoatRenderer
public PixelmonBoatRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context p_i46190_1_, boolean chestBoat)
-
-
Method Details
-
render
public void render(net.minecraft.world.entity.vehicle.Boat entity, float p_225623_2_, float p_225623_3_, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int partialTick) - Overrides:
render
in classnet.minecraft.client.renderer.entity.BoatRenderer
-
getModelWithLocation
public com.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation,net.minecraft.client.model.ListModel<net.minecraft.world.entity.vehicle.Boat>> getModelWithLocation(net.minecraft.world.entity.vehicle.Boat boat) - Overrides:
getModelWithLocation
in classnet.minecraft.client.renderer.entity.BoatRenderer
-
getTextureLocation
public net.minecraft.resources.ResourceLocation getTextureLocation(net.minecraft.world.entity.vehicle.Boat boat) - Overrides:
getTextureLocation
in classnet.minecraft.client.renderer.entity.BoatRenderer
-