Class WerewolvesBoatRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<net.minecraft.world.entity.vehicle.Boat>
net.minecraft.client.renderer.entity.BoatRenderer
de.teamlapen.werewolves.client.render.WerewolvesBoatRenderer
public class WerewolvesBoatRenderer
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
ConstructorsConstructorDescriptionWerewolvesBoatRenderer(@NotNull net.minecraft.client.renderer.entity.EntityRendererProvider.Context context, boolean hasChest) -
Method Summary
Modifier and TypeMethodDescription@NotNull com.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation,net.minecraft.client.model.ListModel<net.minecraft.world.entity.vehicle.Boat>> getModelWithLocation(@NotNull net.minecraft.world.entity.vehicle.Boat boat) @NotNull StringgetTextureLocation(@NotNull IWerewolvesBoat.BoatType type, boolean hasChest) Methods inherited from class net.minecraft.client.renderer.entity.BoatRenderer
getTextureLocation, renderMethods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Constructor Details
-
WerewolvesBoatRenderer
public WerewolvesBoatRenderer(@NotNull net.minecraft.client.renderer.entity.EntityRendererProvider.Context context, boolean hasChest)
-
-
Method Details
-
getTextureLocation
@NotNull public @NotNull String getTextureLocation(@NotNull IWerewolvesBoat.BoatType type, boolean hasChest) -
getModelWithLocation
@NotNull public @NotNull com.mojang.datafixers.util.Pair<net.minecraft.resources.ResourceLocation,net.minecraft.client.model.ListModel<net.minecraft.world.entity.vehicle.Boat>> getModelWithLocation(@NotNull @NotNull net.minecraft.world.entity.vehicle.Boat boat) - Overrides:
getModelWithLocationin classnet.minecraft.client.renderer.entity.BoatRenderer
-