类 PillagerEntity

    • 字段详细资料

      • CHARGING

        private static final TrackedData<Boolean> CHARGING
        Mappings:
        Namespace Name Mixin selector
        official b Lbhc;b:Lvy;
        intermediary field_7334 Lnet/minecraft/class_1604;field_7334:Lnet/minecraft/class_2940;
        named CHARGING Lnet/minecraft/entity/mob/PillagerEntity;CHARGING:Lnet/minecraft/entity/data/TrackedData;
      • field_30478

        private static final int field_30478
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official e Lbhc;e:I
        intermediary field_30478 Lnet/minecraft/class_1604;field_30478:I
        named field_30478 Lnet/minecraft/entity/mob/PillagerEntity;field_30478:I
      • field_30476

        private static final int field_30476
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official bV Lbhc;bV:I
        intermediary field_30476 Lnet/minecraft/class_1604;field_30476:I
        named field_30476 Lnet/minecraft/entity/mob/PillagerEntity;field_30476:I
      • field_30477

        private static final float field_30477
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official bW Lbhc;bW:F
        intermediary field_30477 Lnet/minecraft/class_1604;field_30477:F
        named field_30477 Lnet/minecraft/entity/mob/PillagerEntity;field_30477:F
      • inventory

        private final SimpleInventory inventory
        Mappings:
        Namespace Name Mixin selector
        official bX Lbhc;bX:Larl;
        intermediary field_7335 Lnet/minecraft/class_1604;field_7335:Lnet/minecraft/class_1277;
        named inventory Lnet/minecraft/entity/mob/PillagerEntity;inventory:Lnet/minecraft/inventory/SimpleInventory;
    • 构造器详细资料

      • PillagerEntity

        public PillagerEntity​(EntityType<? extends PillagerEntity> type,
                              World world)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lasl;<init>(Lasp;Lbvr;)V
        intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
        named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • 方法详细资料

      • initGoals

        protected void initGoals()
        覆盖:
        initGoals 在类中 IllagerEntity
        Mappings:
        Namespace Name Mixin selector
        official u Lasz;u()V
        intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
        named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
      • createPillagerAttributes

        public static DefaultAttributeContainer.Builder createPillagerAttributes()
        Mappings:
        Namespace Name Mixin selector
        official o Lbhc;o()Latx$a;
        intermediary method_26919 Lnet/minecraft/class_1604;method_26919()Lnet/minecraft/class_5132$class_5133;
        named createPillagerAttributes Lnet/minecraft/entity/mob/PillagerEntity;createPillagerAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      • initDataTracker

        protected void initDataTracker()
        覆盖:
        initDataTracker 在类中 RaiderEntity
        Mappings:
        Namespace Name Mixin selector
        official e Lasl;e()V
        intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
        named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
      • canUseRangedWeapon

        public boolean canUseRangedWeapon​(RangedWeaponItem weapon)
        覆盖:
        canUseRangedWeapon 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lbqf;)Z
        intermediary method_25938 Lnet/minecraft/class_1308;method_25938(Lnet/minecraft/class_1811;)Z
        named canUseRangedWeapon Lnet/minecraft/entity/mob/MobEntity;canUseRangedWeapon(Lnet/minecraft/item/RangedWeaponItem;)Z
      • isCharging

        public boolean isCharging()
        Mappings:
        Namespace Name Mixin selector
        official fo Lbhc;fo()Z
        intermediary method_7108 Lnet/minecraft/class_1604;method_7108()Z
        named isCharging Lnet/minecraft/entity/mob/PillagerEntity;isCharging()Z
      • setCharging

        public void setCharging​(boolean charging)
        指定者:
        setCharging 在接口中 CrossbowUser
        Mappings:
        Namespace Name Mixin selector
        official b Lbgm;b(Z)V
        intermediary method_7110 Lnet/minecraft/class_3745;method_7110(Z)V
        named setCharging Lnet/minecraft/entity/CrossbowUser;setCharging(Z)V
      • postShoot

        public void postShoot()
        指定者:
        postShoot 在接口中 CrossbowUser
        Mappings:
        Namespace Name Mixin selector
        official W_ Lbgm;W_()V
        intermediary method_24651 Lnet/minecraft/class_3745;method_24651()V
        named postShoot Lnet/minecraft/entity/CrossbowUser;postShoot()V
      • writeCustomDataToNbt

        public void writeCustomDataToNbt​(CompoundTag nbt)
        覆盖:
        writeCustomDataToNbt 在类中 RaiderEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lasl;b(Lmv;)V
        intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
        named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • getState

        public IllagerEntity.State getState()
        覆盖:
        getState 在类中 IllagerEntity
        Mappings:
        Namespace Name Mixin selector
        official m Lbgh;m()Lbgh$a;
        intermediary method_6990 Lnet/minecraft/class_1543;method_6990()Lnet/minecraft/class_1543$class_1544;
        named getState Lnet/minecraft/entity/mob/IllagerEntity;getState()Lnet/minecraft/entity/mob/IllagerEntity$State;
      • readCustomDataFromNbt

        public void readCustomDataFromNbt​(CompoundTag nbt)
        覆盖:
        readCustomDataFromNbt 在类中 RaiderEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(Lmv;)V
        intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
        named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • getPathfindingFavor

        public float getPathfindingFavor​(BlockPos pos,
                                         WorldView world)
        覆盖:
        getPathfindingFavor 在类中 HostileEntity
        Mappings:
        Namespace Name Mixin selector
        official a Latg;a(Lgb;Lbvu;)F
        intermediary method_6144 Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
        named getPathfindingFavor Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
      • getLimitPerChunk

        public int getLimitPerChunk()
        覆盖:
        getLimitPerChunk 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official eU Lasz;eU()I
        intermediary method_5945 Lnet/minecraft/class_1308;method_5945()I
        named getLimitPerChunk Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
      • initialize

        @Nullable
        public @Nullable EntityData initialize​(ServerWorldAccess world,
                                               LocalDifficulty difficulty,
                                               SpawnReason spawnReason,
                                               @Nullable
                                               @Nullable EntityData entityData,
                                               @Nullable
                                               @Nullable CompoundTag entityNbt)
        覆盖:
        initialize 在类中 RaiderEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lbwf;Lare;Latb;Latp;Lmv;)Latp;
        intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
        named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/entity/EntityData;
      • initEquipment

        protected void initEquipment​(LocalDifficulty difficulty)
        覆盖:
        initEquipment 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasz;a(Lare;)V
        intermediary method_5964 Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_1266;)V
        named initEquipment Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
      • enchantMainHandItem

        protected void enchantMainHandItem​(float power)
        覆盖:
        enchantMainHandItem 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official v Lasz;v(F)V
        intermediary method_30759 Lnet/minecraft/class_1308;method_30759(F)V
        named enchantMainHandItem Lnet/minecraft/entity/mob/MobEntity;enchantMainHandItem(F)V
      • isTeammate

        public boolean isTeammate​(Entity other)
        覆盖:
        isTeammate 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official r Lasl;r(Lasl;)Z
        intermediary method_5722 Lnet/minecraft/class_1297;method_5722(Lnet/minecraft/class_1297;)Z
        named isTeammate Lnet/minecraft/entity/Entity;isTeammate(Lnet/minecraft/entity/Entity;)Z
      • getAmbientSound

        protected SoundEvent getAmbientSound()
        覆盖:
        getAmbientSound 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official p Lasz;p()Laev;
        intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
        named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      • getDeathSound

        protected SoundEvent getDeathSound()
        覆盖:
        getDeathSound 在类中 HostileEntity
        Mappings:
        Namespace Name Mixin selector
        official q Lasy;q()Laev;
        intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
        named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      • getHurtSound

        protected SoundEvent getHurtSound​(DamageSource source)
        覆盖:
        getHurtSound 在类中 HostileEntity
        Mappings:
        Namespace Name Mixin selector
        official c Lasy;c(Larv;)Laev;
        intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
        named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      • attack

        public void attack​(LivingEntity target,
                           float pullProgress)
        指定者:
        attack 在接口中 RangedAttackMob
        Mappings:
        Namespace Name Mixin selector
        official a Lbhd;a(Lasy;F)V
        intermediary method_7105 Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)V
        named attack Lnet/minecraft/entity/ai/RangedAttackMob;attack(Lnet/minecraft/entity/LivingEntity;F)V
      • shoot

        public void shoot​(LivingEntity target,
                          ItemStack crossbow,
                          ProjectileEntity projectile,
                          float multiShotSpray)
        指定者:
        shoot 在接口中 CrossbowUser
        Mappings:
        Namespace Name Mixin selector
        official a Lbgm;a(Lasy;Lbpr;Lbjv;F)V
        intermediary method_18811 Lnet/minecraft/class_3745;method_18811(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_1676;F)V
        named shoot Lnet/minecraft/entity/CrossbowUser;shoot(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/projectile/ProjectileEntity;F)V
      • getInventory

        public Inventory getInventory()
        指定者:
        getInventory 在接口中 InventoryOwner
        Mappings:
        Namespace Name Mixin selector
        official fy Lbiq;fy()Laqz;
        intermediary method_35199 Lnet/minecraft/class_6067;method_35199()Lnet/minecraft/class_1263;
        named getInventory Lnet/minecraft/entity/InventoryOwner;getInventory()Lnet/minecraft/inventory/Inventory;
      • loot

        protected void loot​(ItemEntity item)
        覆盖:
        loot 在类中 RaiderEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lasz;b(Lbge;)V
        intermediary method_5949 Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_1542;)V
        named loot Lnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/entity/ItemEntity;)V
      • isRaidCaptain

        private boolean isRaidCaptain​(ItemStack stack)
        Mappings:
        Namespace Name Mixin selector
        official k Lbhc;k(Lbpr;)Z
        intermediary method_7111 Lnet/minecraft/class_1604;method_7111(Lnet/minecraft/class_1799;)Z
        named isRaidCaptain Lnet/minecraft/entity/mob/PillagerEntity;isRaidCaptain(Lnet/minecraft/item/ItemStack;)Z
      • getCommandItemSlot

        public CommandItemSlot getCommandItemSlot​(int mappedIndex)
        Obtains an item slot for command modification purpose. Used by commands like /loot or /replaceitem.
        覆盖:
        getCommandItemSlot 在类中 LivingEntity
        参数:
        mappedIndex - the mapped index as given by the item slot argument
        另请参阅:
        ItemSlotArgumentType
        Mappings:
        Namespace Name Mixin selector
        official k Lasl;k(I)Lato;
        intermediary method_32318 Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
        named getCommandItemSlot Lnet/minecraft/entity/Entity;getCommandItemSlot(I)Lnet/minecraft/inventory/CommandItemSlot;
      • addBonusForWave

        public void addBonusForWave​(int wave,
                                    boolean unused)
        指定者:
        addBonusForWave 在类中 RaiderEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lbkl;a(IZ)V
        intermediary method_16484 Lnet/minecraft/class_3763;method_16484(IZ)V
        named addBonusForWave Lnet/minecraft/entity/raid/RaiderEntity;addBonusForWave(IZ)V
      • getCelebratingSound

        public SoundEvent getCelebratingSound()
        指定者:
        getCelebratingSound 在类中 RaiderEntity
        Mappings:
        Namespace Name Mixin selector
        official s Lbkl;s()Laev;
        intermediary method_20033 Lnet/minecraft/class_3763;method_20033()Lnet/minecraft/class_3414;
        named getCelebratingSound Lnet/minecraft/entity/raid/RaiderEntity;getCelebratingSound()Lnet/minecraft/sound/SoundEvent;