Class BedrockParticleAttachment

java.lang.Object
com.viaversion.viafabricplus.bedrock.appearance.BedrockParticleAttachment

public final class BedrockParticleAttachment extends Object
An actor and its optional world locator sampled together for an emitter update.
  • Constructor Summary

    Constructors
    Constructor
    Description
    BedrockParticleAttachment(net.minecraft.world.phys.Vec3 position, float yaw, org.joml.Matrix4fc locator, net.minecraft.world.phys.AABB bounds, Map<String,Object> queries)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    registry(net.minecraft.world.phys.Vec3 previousPosition, net.minecraft.world.phys.Vec3 currentPosition, float previousYaw, float currentYaw, float partialTick, org.joml.Matrix4fc locator)
    Retained registry components can outlive their actor object.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BedrockParticleAttachment

      public BedrockParticleAttachment(net.minecraft.world.phys.Vec3 position, float yaw, org.joml.Matrix4fc locator, net.minecraft.world.phys.AABB bounds, Map<String,Object> queries)
  • Method Details

    • registry

      public static BedrockParticleAttachment registry(net.minecraft.world.phys.Vec3 previousPosition, net.minecraft.world.phys.Vec3 currentPosition, float previousYaw, float currentYaw, float partialTick, org.joml.Matrix4fc locator)
      Retained registry components can outlive their actor object.