Class EntityOutlineManager
java.lang.Object
com.render.api.EntityOutlineManager
Tracks entity outline registrations and applies them during rendering.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyOutline(net.minecraft.world.entity.Entity entity, net.minecraft.client.renderer.entity.state.EntityRenderState state) Applies the currently tracked outline style to a render state.track(net.minecraft.world.entity.Entity entity) Tracks an entity with the default outline style.track(net.minecraft.world.entity.Entity entity, EntityOutlineStyle style) Tracks an entity with the supplied outline style.
-
Method Details
-
track
Tracks an entity with the supplied outline style.- Parameters:
entity- entity to outlinestyle- outline style to apply while the registration is active- Returns:
- a handle that stops tracking the outline when closed
-
track
Tracks an entity with the default outline style.- Parameters:
entity- entity to outline- Returns:
- a handle that stops tracking the outline when closed
-
applyOutline
public void applyOutline(net.minecraft.world.entity.Entity entity, net.minecraft.client.renderer.entity.state.EntityRenderState state) Applies the currently tracked outline style to a render state.- Parameters:
entity- entity being renderedstate- render state receiving the outline color
-