Class FireComponent
java.lang.Object
dev.engine_room.flywheel.lib.visual.component.FireComponent
- All Implemented Interfaces:
EntityComponent
A component that uses instances to render the fire animation on an entity.
-
Constructor Summary
ConstructorsConstructorDescriptionFireComponent(VisualizationContext context, net.minecraft.world.entity.Entity entity) -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginFrame(DynamicVisual.Context context) Update the fire instances.voiddelete()
-
Constructor Details
-
FireComponent
-
-
Method Details
-
beginFrame
Update the fire instances. You'd typically call this in your visual'sbeginFramemethod.- Specified by:
beginFramein interfaceEntityComponent- Parameters:
context- The frame context.
-
delete
public void delete()- Specified by:
deletein interfaceEntityComponent
-