Class ClusterSubmunitionMesh

java.lang.Object
com.hbm_m.client.render.projectile.ClusterSubmunitionMesh

public final class ClusterSubmunitionMesh extends Object
Кэш части MiniNuke из fatman.obj для суббоеприпасов кластерной боеголовки.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    applyEntityRotation(com.mojang.blaze3d.vertex.PoseStack poseStack, float yaw, float pitch)
    Поворот суббоеприпаса как RenderBulletMK4 (yaw − 90°, pitch + 180° по Z).
    static void
    applyModelTransform(com.mojang.blaze3d.vertex.PoseStack poseStack)
    Трансформ модели как LegoClient.RENDER_BOMB.
    static void
     
    static void
    reload(net.minecraft.server.packs.resources.ResourceManager rm)
     
    static void
    render(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer consumer, int packedLight, int packedOverlay)
     

    Methods inherited from class java.lang.Object

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

    • TEXTURE

      public static final net.minecraft.resources.ResourceLocation TEXTURE
  • Method Details

    • reload

      public static void reload(net.minecraft.server.packs.resources.ResourceManager rm)
    • ensureLoaded

      public static void ensureLoaded()
    • render

      public static void render(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer consumer, int packedLight, int packedOverlay)
    • applyModelTransform

      public static void applyModelTransform(com.mojang.blaze3d.vertex.PoseStack poseStack)
      Трансформ модели как LegoClient.RENDER_BOMB.
    • applyEntityRotation

      public static void applyEntityRotation(com.mojang.blaze3d.vertex.PoseStack poseStack, float yaw, float pitch)
      Поворот суббоеприпаса как RenderBulletMK4 (yaw − 90°, pitch + 180° по Z).