Package net.ixdarklord.coolcatcanvas.internal.client.armature
package net.ixdarklord.coolcatcanvas.internal.client.armature
-
ClassDescriptionArmatures on the client: the armature item model type, trails, and forgetting animators on leaving a world.Carries out the server's armature commands on this client.A model as a file reader leaves it: joints, faces, points, textures and clips, all in Blockbench's own axes (model pixels, Y up, facing north).One side of a cube: the texture rectangle
(u0,v0)-(u1,v1)(0 to 1; u0 > u1 mirrors) and how many quarter turns clockwise it is rotated.Four corners in order around the face (a triangle repeats its last), with texture coordinates from 0 to 1.A texture slot: pixels inside the model file, or a texture in a resource pack.Plays sound and particle keyframes by themselves: a sound effect naming a sound event, a particle effect naming a world effect (VfxEffects) or a simple particle type.The animator of every entity, block entity and item stack drawn with an armature, held only as long as the thing itself (weak keys, compared by identity).The armatures read so far, by id.An armature's faces, ready to draw: one group per texture and material (each group is one draw), and in each group the faces of each joint in a flat array.Draws every armature trail that is still being fed, as one world effect.