Interface StatusBarOverlayRenderEvents.RenderMountHealthBarCallback
- Enclosing class:
StatusBarOverlayRenderEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface StatusBarOverlayRenderEvents.RenderMountHealthBarCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoidrender(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity mount, HeartBarContext heartBarContext)
-
Method Details
-
render
void render(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity mount, HeartBarContext heartBarContext) - Parameters:
graphics- Graphical draw context for the HUDplayer- The main playermount- The animal the player is riding (ex: pig, horse, camel)heartBarContext- Data associated with the mount heart bar.
-