API Reference
This page is a compact map of PulseLib public API. Classes marked internal in source are listed only when they explain the public behavior.
Animatable¶
PAnimatable<T>- implemented by entities, block entities, items, and custom animatable objects.PItemAnimatable<T>- item animatable withregisterClientExtension.PAnimationManager<T>- owns controller factories, active controllers, bound model, and ticking.InstanceAnimationManager<T>- manager for entity/block-entity style instances.SingletonAnimationManager<T>- keyed manager cache for singleton objects like items.AnimManagerKey- stable animation manager key from object, item stack, entity, or block entity.PAnimationController<T>- state handler, active animation, timing, stage progression, and bone frame sampling.ControllerState-PLAY,PAUSE,STOP.PLibAnimationTicker- client ticking hook for animation managers.
Animation model¶
PRawAnimation- builder for runtime animation stage sequences.PAnimationType-PLAY_ONCE,HOLD_LAST_FRAME,CYCLE.PAnimation- parsed animation with length, bone channels, and events.PBoneAnimation- channels for one bone.PAnimationChannel-POSITION,ROTATION,SCALE.PKeyFrameChannel- position, rotation, and scale keyframes.PInterpolationType- interpolation functions and registry.BoneFrame- sampled translation, rotation, scale.PAnimationEvent- sealed sound/particle events.PAnimationEventDispatcher- client event dispatch and locator resolution.
Model data and caches¶
PModelData- renderer-facing model location, model format, and texture mapping.DefaultBlockModelDataDefaultItemModelDataDefaultEntityModelDataDefaultEntityLayerModelDataPModel- raw loaded model.PBoneandPMesh- raw bones and meshes.PBakedModel,PBakedBone,PBakedMesh- baked GPU-ready model representation.PMeshRenderContext- render type, color, light, and overlay inherited or overridden per mesh.PMeshRenderResolver- baked-bone/baked-mesh resolver used by immediate model drawing and attachment rendering.PModelCache- model loader registry, client reload listener, baking, cache cleanup.
Loading¶
PModelLoader- model loader interface.PGltfModelLoaderandPGltfModelParserPGeckoModelLoaderandPGeckoModelParserPGltfAnimationEventSidecarParserPGeckoAnimationEventParser
Rendering¶
PRenderer<T, RS>- render-state based renderer contract.PBlockRenderer<T, RS>PItemRenderer<T, RS>PEntityRenderer<T, RS>PEntityRenderLayer<T, RS>PRenderState<T>,PBlockRenderState<T>,PItemRenderState<T>,PEntityRenderState<T>- renderer state extraction and cached model/animatable/key access.PRenderTypes- triangle render types, shaders, vertex format.PRenderQueue- instanced render submission.
Textures¶
PTextureCache- runtime atlas registration and texture cache.RuntimeLoader- atlas sprite source.PLibSpriteMetadata-pulselib.emissivetexture metadata.PulseLibEvents.RegisterTextureEvent- mod bus texture registration event.
Armor and attachments¶
PAttachmentAnchorPAttachmentAnchorResolversPAttachmentBindingPTransformPLivingAttachmentSourcePLivingAttachmentSourcesPLivingAttachmentDefinitionPLivingAttachmentsPLivingMeshRenderResolverPLivingMeshRenderResolversPHumanoidAnchorsPHumanoidBindingsPLivingAttachmentLayerPHumanoidAttachmentLayerPArmorClientExtensionsPLibArmorHandlerPulseLibEvents.AttachmentRegistrationEvent- mod bus attachment definition registration event.
Helpers¶
PLibHelper- manager creation and default entity/living render-state factories.PLibRenderHelper-Minecraft.getInstance()helper.PLibParserHelper- glTF accessor helpers.PLibDatabase- constants andrl(String).