类 RaidManager


  • public class RaidManager
    extends PersistentState
    Mappings:
    Namespace Name
    official bkm
    intermediary net/minecraft/class_3767
    named net/minecraft/village/raid/RaidManager
    • 字段详细资料

      • RAIDS

        private static final String RAIDS
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a:Ljava/lang/String;
        intermediary field_30690 Lnet/minecraft/class_3767;field_30690:Ljava/lang/String;
        named RAIDS Lnet/minecraft/village/raid/RaidManager;RAIDS:Ljava/lang/String;
      • raids

        private final Map<Integer,​Raid> raids
        Mappings:
        Namespace Name Mixin selector
        official b Lbkm;b:Ljava/util/Map;
        intermediary field_16639 Lnet/minecraft/class_3767;field_16639:Ljava/util/Map;
        named raids Lnet/minecraft/village/raid/RaidManager;raids:Ljava/util/Map;
      • world

        private final ServerWorld world
        Mappings:
        Namespace Name Mixin selector
        official c Lbkm;c:Labj;
        intermediary field_16641 Lnet/minecraft/class_3767;field_16641:Lnet/minecraft/class_3218;
        named world Lnet/minecraft/village/raid/RaidManager;world:Lnet/minecraft/server/world/ServerWorld;
      • nextAvailableId

        private int nextAvailableId
        Mappings:
        Namespace Name Mixin selector
        official d Lbkm;d:I
        intermediary field_16638 Lnet/minecraft/class_3767;field_16638:I
        named nextAvailableId Lnet/minecraft/village/raid/RaidManager;nextAvailableId:I
      • currentTime

        private int currentTime
        Mappings:
        Namespace Name Mixin selector
        official e Lbkm;e:I
        intermediary field_16637 Lnet/minecraft/class_3767;field_16637:I
        named currentTime Lnet/minecraft/village/raid/RaidManager;currentTime:I
    • 构造器详细资料

      • RaidManager

        public RaidManager​(ServerWorld world)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbkm;<init>(Labj;)V
        intermediary <init> Lnet/minecraft/class_3767;<init>(Lnet/minecraft/class_3218;)V
        named <init> Lnet/minecraft/village/raid/RaidManager;<init>(Lnet/minecraft/server/world/ServerWorld;)V
    • 方法详细资料

      • getRaid

        public Raid getRaid​(int id)
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a(I)Lbkk;
        intermediary method_16541 Lnet/minecraft/class_3767;method_16541(I)Lnet/minecraft/class_3765;
        named getRaid Lnet/minecraft/village/raid/RaidManager;getRaid(I)Lnet/minecraft/village/raid/Raid;
      • tick

        public void tick()
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a()V
        intermediary method_16539 Lnet/minecraft/class_3767;method_16539()V
        named tick Lnet/minecraft/village/raid/RaidManager;tick()V
      • isValidRaiderFor

        public static boolean isValidRaiderFor​(RaiderEntity raider,
                                               Raid raid)
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a(Lbkl;Lbkk;)Z
        intermediary method_16838 Lnet/minecraft/class_3767;method_16838(Lnet/minecraft/class_3763;Lnet/minecraft/class_3765;)Z
        named isValidRaiderFor Lnet/minecraft/village/raid/RaidManager;isValidRaiderFor(Lnet/minecraft/entity/raid/RaiderEntity;Lnet/minecraft/village/raid/Raid;)Z
      • startRaid

        @Nullable
        public @Nullable Raid startRaid​(ServerPlayerEntity player)
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a(Labk;)Lbkk;
        intermediary method_16540 Lnet/minecraft/class_3767;method_16540(Lnet/minecraft/class_3222;)Lnet/minecraft/class_3765;
        named startRaid Lnet/minecraft/village/raid/RaidManager;startRaid(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/village/raid/Raid;
      • getOrCreateRaid

        private Raid getOrCreateRaid​(ServerWorld world,
                                     BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a(Labj;Lgb;)Lbkk;
        intermediary method_16532 Lnet/minecraft/class_3767;method_16532(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3765;
        named getOrCreateRaid Lnet/minecraft/village/raid/RaidManager;getOrCreateRaid(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/village/raid/Raid;
      • fromNbt

        public static RaidManager fromNbt​(ServerWorld world,
                                          CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a(Labj;Lmv;)Lbkm;
        intermediary method_77 Lnet/minecraft/class_3767;method_77(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)Lnet/minecraft/class_3767;
        named fromNbt Lnet/minecraft/village/raid/RaidManager;fromNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/village/raid/RaidManager;
      • writeNbt

        public CompoundTag writeNbt​(CompoundTag nbt)
        指定者:
        writeNbt 在类中 PersistentState
        Mappings:
        Namespace Name Mixin selector
        official a Ldgn;a(Lmv;)Lmv;
        intermediary method_75 Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
        named writeNbt Lnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
      • nameFor

        public static String nameFor​(DimensionType dimensionType)
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a(Lcmt;)Ljava/lang/String;
        intermediary method_16533 Lnet/minecraft/class_3767;method_16533(Lnet/minecraft/class_2874;)Ljava/lang/String;
        named nameFor Lnet/minecraft/village/raid/RaidManager;nameFor(Lnet/minecraft/world/dimension/DimensionType;)Ljava/lang/String;
      • nextId

        private int nextId()
        Mappings:
        Namespace Name Mixin selector
        official d Lbkm;d()I
        intermediary method_16534 Lnet/minecraft/class_3767;method_16534()I
        named nextId Lnet/minecraft/village/raid/RaidManager;nextId()I
      • getRaidAt

        @Nullable
        public @Nullable Raid getRaidAt​(BlockPos pos,
                                        int searchDistance)
        Mappings:
        Namespace Name Mixin selector
        official a Lbkm;a(Lgb;I)Lbkk;
        intermediary method_19209 Lnet/minecraft/class_3767;method_19209(Lnet/minecraft/class_2338;I)Lnet/minecraft/class_3765;
        named getRaidAt Lnet/minecraft/village/raid/RaidManager;getRaidAt(Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/village/raid/Raid;