Class BoatRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Boat>
net.minecraft.client.renderer.entity.BoatRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<Boat.Type,
com.mojang.datafixers.util.Pair<ResourceLocation, ListModel<Boat>>> Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateBoatModel
(EntityRendererProvider.Context p_248834_, Boat.Type p_249317_, boolean p_250093_) com.mojang.datafixers.util.Pair<ResourceLocation,
ListModel<Boat>> getModelWithLocation
(Boat boat) getTextureLocation
(Boat p_113927_) Deprecated.private static String
getTextureLocation
(Boat.Type p_234566_, boolean p_234567_) void
render
(Boat p_113929_, float p_113930_, float p_113931_, PoseStack p_113932_, MultiBufferSource p_113933_, int p_113934_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
boatResources
private final Map<Boat.Type,com.mojang.datafixers.util.Pair<ResourceLocation, boatResourcesListModel<Boat>>>
-
-
Constructor Details
-
BoatRenderer
-
-
Method Details
-
createBoatModel
private ListModel<Boat> createBoatModel(EntityRendererProvider.Context p_248834_, Boat.Type p_249317_, boolean p_250093_) -
getTextureLocation
-
render
public void render(Boat p_113929_, float p_113930_, float p_113931_, PoseStack p_113932_, MultiBufferSource p_113933_, int p_113934_) - Overrides:
render
in classEntityRenderer<Boat>
-
getTextureLocation
Deprecated.- Specified by:
getTextureLocation
in classEntityRenderer<Boat>
-
getModelWithLocation
public com.mojang.datafixers.util.Pair<ResourceLocation,ListModel<Boat>> getModelWithLocation(Boat boat)
-