类 WanderingTraderEntity

    • 字段详细资料

      • field_30629

        private static final int field_30629
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official bX Lbiy;bX:I
        intermediary field_30629 Lnet/minecraft/class_3989;field_30629:I
        named field_30629 Lnet/minecraft/entity/passive/WanderingTraderEntity;field_30629:I
      • wanderTarget

        @Nullable
        private @Nullable BlockPos wanderTarget
        Mappings:
        Namespace Name Mixin selector
        official bY Lbiy;bY:Lgb;
        intermediary field_17758 Lnet/minecraft/class_3989;field_17758:Lnet/minecraft/class_2338;
        named wanderTarget Lnet/minecraft/entity/passive/WanderingTraderEntity;wanderTarget:Lnet/minecraft/util/math/BlockPos;
      • despawnDelay

        private int despawnDelay
        Mappings:
        Namespace Name Mixin selector
        official bZ Lbiy;bZ:I
        intermediary field_17725 Lnet/minecraft/class_3989;field_17725:I
        named despawnDelay Lnet/minecraft/entity/passive/WanderingTraderEntity;despawnDelay:I
    • 构造器详细资料

      • WanderingTraderEntity

        public WanderingTraderEntity​(EntityType<? extends WanderingTraderEntity> 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 在类中 MobEntity
        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
      • createChild

        @Nullable
        public @Nullable PassiveEntity createChild​(ServerWorld world,
                                                   PassiveEntity entity)
        指定者:
        createChild 在类中 PassiveEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasj;a(Labj;Lasj;)Lasj;
        intermediary method_5613 Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
        named createChild Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
      • isLeveledMerchant

        public boolean isLeveledMerchant()
        指定者:
        isLeveledMerchant 在接口中 Merchant
        覆盖:
        isLeveledMerchant 在类中 MerchantEntity
        Mappings:
        Namespace Name Mixin selector
        official fr Lbun;fr()Z
        intermediary method_19270 Lnet/minecraft/class_1915;method_19270()Z
        named isLeveledMerchant Lnet/minecraft/village/Merchant;isLeveledMerchant()Z
      • interactMob

        public ActionResult interactMob​(PlayerEntity player,
                                        Hand hand)
        覆盖:
        interactMob 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lasz;b(Lbjf;Larf;)Larg;
        intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
        named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      • fillRecipes

        protected void fillRecipes()
        指定者:
        fillRecipes 在类中 MerchantEntity
        Mappings:
        Namespace Name Mixin selector
        official fx Lbin;fx()V
        intermediary method_7237 Lnet/minecraft/class_3988;method_7237()V
        named fillRecipes Lnet/minecraft/entity/passive/MerchantEntity;fillRecipes()V
      • writeCustomDataToNbt

        public void writeCustomDataToNbt​(CompoundTag nbt)
        覆盖:
        writeCustomDataToNbt 在类中 MerchantEntity
        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
      • readCustomDataFromNbt

        public void readCustomDataFromNbt​(CompoundTag nbt)
        覆盖:
        readCustomDataFromNbt 在类中 MerchantEntity
        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
      • canImmediatelyDespawn

        public boolean canImmediatelyDespawn​(double distanceSquared)
        覆盖:
        canImmediatelyDespawn 在类中 MobEntity
        Mappings:
        Namespace Name Mixin selector
        official h Lasz;h(D)Z
        intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
        named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
      • afterUsing

        protected void afterUsing​(TradeOffer offer)
        指定者:
        afterUsing 在类中 MerchantEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lbin;b(Lbuo;)V
        intermediary method_18008 Lnet/minecraft/class_3988;method_18008(Lnet/minecraft/class_1914;)V
        named afterUsing Lnet/minecraft/entity/passive/MerchantEntity;afterUsing(Lnet/minecraft/village/TradeOffer;)V
      • 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;
      • getHurtSound

        protected SoundEvent getHurtSound​(DamageSource source)
        覆盖:
        getHurtSound 在类中 LivingEntity
        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;
      • getDeathSound

        protected SoundEvent getDeathSound()
        覆盖:
        getDeathSound 在类中 LivingEntity
        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;
      • getDrinkSound

        protected SoundEvent getDrinkSound​(ItemStack stack)
        覆盖:
        getDrinkSound 在类中 LivingEntity
        Mappings:
        Namespace Name Mixin selector
        official c Lasy;c(Lbpr;)Laev;
        intermediary method_18807 Lnet/minecraft/class_1309;method_18807(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
        named getDrinkSound Lnet/minecraft/entity/LivingEntity;getDrinkSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
      • getTradingSound

        protected SoundEvent getTradingSound​(boolean sold)
        覆盖:
        getTradingSound 在类中 MerchantEntity
        Mappings:
        Namespace Name Mixin selector
        official v Lbin;v(Z)Laev;
        intermediary method_18012 Lnet/minecraft/class_3988;method_18012(Z)Lnet/minecraft/class_3414;
        named getTradingSound Lnet/minecraft/entity/passive/MerchantEntity;getTradingSound(Z)Lnet/minecraft/sound/SoundEvent;
      • getYesSound

        public SoundEvent getYesSound()
        指定者:
        getYesSound 在接口中 Merchant
        覆盖:
        getYesSound 在类中 MerchantEntity
        Mappings:
        Namespace Name Mixin selector
        official fs Lbun;fs()Laev;
        intermediary method_18010 Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;
        named getYesSound Lnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;
      • setDespawnDelay

        public void setDespawnDelay​(int delay)
        Mappings:
        Namespace Name Mixin selector
        official v Lbiy;v(I)V
        intermediary method_18013 Lnet/minecraft/class_3989;method_18013(I)V
        named setDespawnDelay Lnet/minecraft/entity/passive/WanderingTraderEntity;setDespawnDelay(I)V
      • getDespawnDelay

        public int getDespawnDelay()
        Mappings:
        Namespace Name Mixin selector
        official fz Lbiy;fz()I
        intermediary method_18014 Lnet/minecraft/class_3989;method_18014()I
        named getDespawnDelay Lnet/minecraft/entity/passive/WanderingTraderEntity;getDespawnDelay()I
      • tickMovement

        public void tickMovement()
        覆盖:
        tickMovement 在类中 PassiveEntity
        Mappings:
        Namespace Name Mixin selector
        official k Lasy;k()V
        intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
        named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
      • tickDespawnDelay

        private void tickDespawnDelay()
        Mappings:
        Namespace Name Mixin selector
        official fA Lbiy;fA()V
        intermediary method_20508 Lnet/minecraft/class_3989;method_20508()V
        named tickDespawnDelay Lnet/minecraft/entity/passive/WanderingTraderEntity;tickDespawnDelay()V
      • setWanderTarget

        public void setWanderTarget​(@Nullable
                                    @Nullable BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official g Lbiy;g(Lgb;)V
        intermediary method_18069 Lnet/minecraft/class_3989;method_18069(Lnet/minecraft/class_2338;)V
        named setWanderTarget Lnet/minecraft/entity/passive/WanderingTraderEntity;setWanderTarget(Lnet/minecraft/util/math/BlockPos;)V
      • getWanderTarget

        @Nullable
        private @Nullable BlockPos getWanderTarget()
        Mappings:
        Namespace Name Mixin selector
        official fB Lbiy;fB()Lgb;
        intermediary method_18065 Lnet/minecraft/class_3989;method_18065()Lnet/minecraft/class_2338;
        named getWanderTarget Lnet/minecraft/entity/passive/WanderingTraderEntity;getWanderTarget()Lnet/minecraft/util/math/BlockPos;