Class Cracks

java.lang.Object
net.minecraft.entity.passive.Cracks

public class Cracks extends Object
Mappings:
Namespace Name
named net/minecraft/entity/passive/Cracks
intermediary net/minecraft/class_9273
official bvg
  • Field Details

    • IRON_GOLEM

      public static final Cracks IRON_GOLEM
      Mappings:
      Namespace Name Mixin selector
      named IRON_GOLEM Lnet/minecraft/entity/passive/Cracks;IRON_GOLEM:Lnet/minecraft/entity/passive/Cracks;
      intermediary field_49210 Lnet/minecraft/class_9273;field_49210:Lnet/minecraft/class_9273;
      official a Lbvg;a:Lbvg;
    • WOLF_ARMOR

      public static final Cracks WOLF_ARMOR
      Mappings:
      Namespace Name Mixin selector
      named WOLF_ARMOR Lnet/minecraft/entity/passive/Cracks;WOLF_ARMOR:Lnet/minecraft/entity/passive/Cracks;
      intermediary field_49211 Lnet/minecraft/class_9273;field_49211:Lnet/minecraft/class_9273;
      official b Lbvg;b:Lbvg;
    • lowCrackThreshold

      private final float lowCrackThreshold
      Mappings:
      Namespace Name Mixin selector
      named lowCrackThreshold Lnet/minecraft/entity/passive/Cracks;lowCrackThreshold:F
      intermediary field_49212 Lnet/minecraft/class_9273;field_49212:F
      official c Lbvg;c:F
    • mediumCrackThreshold

      private final float mediumCrackThreshold
      Mappings:
      Namespace Name Mixin selector
      named mediumCrackThreshold Lnet/minecraft/entity/passive/Cracks;mediumCrackThreshold:F
      intermediary field_49213 Lnet/minecraft/class_9273;field_49213:F
      official d Lbvg;d:F
    • highCrackThreshold

      private final float highCrackThreshold
      Mappings:
      Namespace Name Mixin selector
      named highCrackThreshold Lnet/minecraft/entity/passive/Cracks;highCrackThreshold:F
      intermediary field_49214 Lnet/minecraft/class_9273;field_49214:F
      official e Lbvg;e:F
  • Constructor Details

    • Cracks

      private Cracks(float lowCrackThreshold, float mediumCrackThreshold, float highCrackThreshold)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/Cracks;<init>(FFF)V
      intermediary <init> Lnet/minecraft/class_9273;<init>(FFF)V
      official <init> Lbvg;<init>(FFF)V
  • Method Details

    • getCrackLevel

      public Cracks.CrackLevel getCrackLevel(float health)
      Mappings:
      Namespace Name Mixin selector
      named getCrackLevel Lnet/minecraft/entity/passive/Cracks;getCrackLevel(F)Lnet/minecraft/entity/passive/Cracks$CrackLevel;
      intermediary method_57282 Lnet/minecraft/class_9273;method_57282(F)Lnet/minecraft/class_9273$class_4621;
      official a Lbvg;a(F)Lbvg$a;
    • getCrackLevel

      public Cracks.CrackLevel getCrackLevel(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named getCrackLevel Lnet/minecraft/entity/passive/Cracks;getCrackLevel(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/passive/Cracks$CrackLevel;
      intermediary method_57284 Lnet/minecraft/class_9273;method_57284(Lnet/minecraft/class_1799;)Lnet/minecraft/class_9273$class_4621;
      official a Lbvg;a(Lcxo;)Lbvg$a;
    • getCrackLevel

      public Cracks.CrackLevel getCrackLevel(int currentDamage, int maxDamage)
      Mappings:
      Namespace Name Mixin selector
      named getCrackLevel Lnet/minecraft/entity/passive/Cracks;getCrackLevel(II)Lnet/minecraft/entity/passive/Cracks$CrackLevel;
      intermediary method_57283 Lnet/minecraft/class_9273;method_57283(II)Lnet/minecraft/class_9273$class_4621;
      official a Lbvg;a(II)Lbvg$a;