Class BoatRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Boat>
net.minecraft.client.renderer.entity.BoatRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<Boat.Type,com.mojang.datafixers.util.Pair<ResourceLocation,BoatModel>>
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<ResourceLocation,BoatModel>
getModelWithLocation(Boat boat)
getTextureLocation(Boat p_113927_)
Deprecated.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,BoatModel>> boatResources
-
-
Constructor Details
-
BoatRenderer
-
-
Method Details
-
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,BoatModel> getModelWithLocation(Boat boat)
-