类 PassiveEntity.PassiveData

    • 字段详细资料

      • spawnCount

        private int spawnCount
        Mappings:
        Namespace Name Mixin selector
        official a Lasj$a;a:I
        intermediary field_20684 Lnet/minecraft/class_1296$class_4697;field_20684:I
        named spawnCount Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;spawnCount:I
      • babyAllowed

        private final boolean babyAllowed
        Mappings:
        Namespace Name Mixin selector
        official b Lasj$a;b:Z
        intermediary field_20685 Lnet/minecraft/class_1296$class_4697;field_20685:Z
        named babyAllowed Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;babyAllowed:Z
      • babyChance

        private final float babyChance
        Mappings:
        Namespace Name Mixin selector
        official c Lasj$a;c:F
        intermediary field_20686 Lnet/minecraft/class_1296$class_4697;field_20686:F
        named babyChance Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;babyChance:F
    • 构造器详细资料

      • PassiveData

        private PassiveData​(boolean babyAllowed,
                            float babyChance)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lasj$a;<init>(ZF)V
        intermediary <init> Lnet/minecraft/class_1296$class_4697;<init>(ZF)V
        named <init> Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;<init>(ZF)V
      • PassiveData

        public PassiveData​(boolean babyAllowed)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lasj$a;<init>(Z)V
        intermediary <init> Lnet/minecraft/class_1296$class_4697;<init>(Z)V
        named <init> Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;<init>(Z)V
      • PassiveData

        public PassiveData​(float babyChance)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lasj$a;<init>(F)V
        intermediary <init> Lnet/minecraft/class_1296$class_4697;<init>(F)V
        named <init> Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;<init>(F)V
    • 方法详细资料

      • getSpawnedCount

        public int getSpawnedCount()
        Mappings:
        Namespace Name Mixin selector
        official a Lasj$a;a()I
        intermediary method_22432 Lnet/minecraft/class_1296$class_4697;method_22432()I
        named getSpawnedCount Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;getSpawnedCount()I
      • countSpawned

        public void countSpawned()
        Mappings:
        Namespace Name Mixin selector
        official b Lasj$a;b()V
        intermediary method_22435 Lnet/minecraft/class_1296$class_4697;method_22435()V
        named countSpawned Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;countSpawned()V
      • canSpawnBaby

        public boolean canSpawnBaby()
        Mappings:
        Namespace Name Mixin selector
        official c Lasj$a;c()Z
        intermediary method_22436 Lnet/minecraft/class_1296$class_4697;method_22436()Z
        named canSpawnBaby Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;canSpawnBaby()Z
      • getBabyChance

        public float getBabyChance()
        Mappings:
        Namespace Name Mixin selector
        official d Lasj$a;d()F
        intermediary method_22437 Lnet/minecraft/class_1296$class_4697;method_22437()F
        named getBabyChance Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;getBabyChance()F