Interface VfxFrame
public interface VfxFrame
The frame a
VfxRenderer is drawing into.-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3draw(VfxMaterial material) The drawer for a material.net.minecraft.client.multiplayer.ClientLevellevel()floatHow far the frame is between the last tick and the next, 0 to 1.floattime()Seconds since the client started, for animation that shouldn't step with ticks.
-
Method Details
-
level
net.minecraft.client.multiplayer.ClientLevel level() -
partialTick
float partialTick()How far the frame is between the last tick and the next, 0 to 1. -
time
float time()Seconds since the client started, for animation that shouldn't step with ticks. -
cameraPosition
net.minecraft.world.phys.Vec3 cameraPosition() -
draw
The drawer for a material. Shapes of equal materials are batched, whoever draws them.
-