类 CelebrateRaidWinTask


  • public class CelebrateRaidWinTask
    extends Task<VillagerEntity>
    Mappings:
    Namespace Name
    official aum
    intermediary net/minecraft/class_4242
    named net/minecraft/entity/ai/brain/task/CelebrateRaidWinTask
    • 字段详细资料

      • raid

        @Nullable
        private @Nullable Raid raid
        Mappings:
        Namespace Name Mixin selector
        official a Laum;a:Lbkk;
        intermediary field_18983 Lnet/minecraft/class_4242;field_18983:Lnet/minecraft/class_3765;
        named raid Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;raid:Lnet/minecraft/village/raid/Raid;
    • 构造器详细资料

      • CelebrateRaidWinTask

        public CelebrateRaidWinTask​(int minRunTime,
                                    int maxRunTime)
        Mappings:
        Namespace Name Mixin selector
        official <init> Laum;<init>(II)V
        intermediary <init> Lnet/minecraft/class_4242;<init>(II)V
        named <init> Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;<init>(II)V
    • 方法详细资料

      • shouldRun

        protected boolean shouldRun​(ServerWorld serverWorld,
                                    VillagerEntity villagerEntity)
        覆盖:
        shouldRun 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Laum;a(Labj;Lbis;)Z
        intermediary method_19951 Lnet/minecraft/class_4242;method_19951(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
        named shouldRun Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
      • shouldKeepRunning

        protected boolean shouldKeepRunning​(ServerWorld serverWorld,
                                            VillagerEntity villagerEntity,
                                            long long2)
        覆盖:
        shouldKeepRunning 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Laum;a(Labj;Lbis;J)Z
        intermediary method_19952 Lnet/minecraft/class_4242;method_19952(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
        named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
      • finishRunning

        protected void finishRunning​(ServerWorld serverWorld,
                                     VillagerEntity villagerEntity,
                                     long long2)
        覆盖:
        finishRunning 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official b Laum;b(Labj;Lbis;J)V
        intermediary method_19953 Lnet/minecraft/class_4242;method_19953(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
        named finishRunning Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
      • keepRunning

        protected void keepRunning​(ServerWorld serverWorld,
                                   VillagerEntity villagerEntity,
                                   long long2)
        覆盖:
        keepRunning 在类中 Task<VillagerEntity>
        Mappings:
        Namespace Name Mixin selector
        official c Laum;c(Labj;Lbis;J)V
        intermediary method_19954 Lnet/minecraft/class_4242;method_19954(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
        named keepRunning Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
      • createFirework

        private ItemStack createFirework​(DyeColor color,
                                         int flight)
        Mappings:
        Namespace Name Mixin selector
        official a Laum;a(Lbon;I)Lbpr;
        intermediary method_19950 Lnet/minecraft/class_4242;method_19950(Lnet/minecraft/class_1767;I)Lnet/minecraft/class_1799;
        named createFirework Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;createFirework(Lnet/minecraft/util/DyeColor;I)Lnet/minecraft/item/ItemStack;