Package net.ixdarklord.coolcatcanvas.api.client.vfx
package net.ixdarklord.coolcatcanvas.api.client.vfx
-
ClassDescriptionA value over a lifetime, in three points: it eases from
starttomiddleover the first half, then frommiddletoendover the second.Blocks drawn as ghosts: their real models (block entities' too, a chest as a chest), drawn by the game's own renderers with the player's camera into a picture of their own, then laid over the world at one opacity and tint.A block to draw as a ghost, where it is drawn.Where a ghost shows, against the world in front of it or behind it.What a kind of effect particle looks like and how it lives, built once and spawned many times withWorldParticles.How a particle's quad is laid in the world.A rift in the world, fromWorldRifts.open(net.ixdarklord.coolcatcanvas.api.client.vfx.RiftSpec, net.minecraft.world.phys.Vec3).What a rift looks and sounds like: a tear in the air that opens, hangs there, and closes.The path something moved along over its last few ticks, drawn as a ribbon withVfxDraw.trail(net.ixdarklord.coolcatcanvas.api.client.vfx.Trail, net.ixdarklord.coolcatcanvas.api.client.vfx.Curve, int, int).How a world effect combines with the scene behind it.Draws shapes of oneVfxMaterialinto the world for the current frame, from aVfxRenderer.A named world effect a client can play: usually a fewWorldParticlesandWorldVfxcalls.World effects by name, so the server can start them withVfxControl.play.The frame aVfxRendereris drawing into.What a world effect is drawn with: a texture, how it blends, and how softly it meets solid things.Draws world effects each frame; registered withregister(net.minecraft.resources.ResourceLocation, net.ixdarklord.coolcatcanvas.api.client.vfx.VfxRenderer).Spawns effect particles (ParticleSpec) in the world the client is in.Rifts: tears in the air, drawn by a shader (VfxMaterial.RIFT_SHADER) and run through three acts.World effects: glowing shapes drawn in the world, after everything else in it and before the player's hand.