Class ParticleSkeletonNT

java.lang.Object
com.hbm_m.particle.nt.ParticleNT
com.hbm_m.particle.nt.ParticleSkeletonNT

public class ParticleSkeletonNT extends ParticleNT
Клиентская частица «кости» — падающая часть скелета (череп, туловище, конечность). Порт ParticleSkeleton из HBM 1.7.10 под базовый класс ParticleNT. Модель: assets/hbm_m/models/effect/skeleton.obj, части "Skull", "Torso", "Limb", "SkullVillager". Текстура: assets/hbm_m/textures/particle/skeleton.png / skoilet.png.
  • Constructor Details

    • ParticleSkeletonNT

      public ParticleSkeletonNT(net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, float r, float g, float b, ParticleSkeletonNT.BoneKind kind)
    • ParticleSkeletonNT

      public ParticleSkeletonNT(net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, float r, float g, float b, ParticleSkeletonNT.BoneKind kind, float scale)
  • Method Details

    • setRotation

      public void setRotation(float yaw, float pitch)
    • tick

      public void tick()
      Overrides:
      tick in class ParticleNT
    • render

      public void render(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack)
      Specified by:
      render in class ParticleNT
    • getRenderType

      public net.minecraft.client.renderer.RenderType getRenderType()
      Specified by:
      getRenderType in class ParticleNT