Package net.minecraft.village.raid
Class RaidManager
java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.village.raid.RaidManager
- Mappings:
Namespace Name official cgs
intermediary net/minecraft/class_3767
named net/minecraft/village/raid/RaidManager
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.PersistentState
PersistentState.Type<T extends PersistentState>
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private static final String
private final ServerWorld
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RaidManager
fromNbt
(ServerWorld world, NbtCompound nbt) private Raid
getOrCreateRaid
(ServerWorld world, BlockPos pos) static PersistentState.Type<RaidManager>
getRaid
(int id) static boolean
isValidRaiderFor
(RaiderEntity raider, Raid raid) static String
nameFor
(RegistryEntry<DimensionType> dimensionTypeEntry) private int
nextId()
startRaid
(ServerPlayerEntity player) void
tick()
writeNbt
(NbtCompound nbt) Methods inherited from class net.minecraft.world.PersistentState
isDirty, markDirty, save, setDirty
-
Field Details
-
RAIDS
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcgs;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
- Mappings:
Namespace Name Mixin selector official b
Lcgs;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
- Mappings:
Namespace Name Mixin selector official c
Lcgs;c:Land;
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
Lcgs;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
Lcgs;e:I
intermediary field_16637
Lnet/minecraft/class_3767;field_16637:I
named currentTime
Lnet/minecraft/village/raid/RaidManager;currentTime:I
-
-
Constructor Details
-
RaidManager
- Mappings:
Namespace Name Mixin selector official <init>
Lcgs;<init>(Land;)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
-
-
Method Details
-
getPersistentStateType
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Land;)Lefw$a;
intermediary method_52559
Lnet/minecraft/class_3767;method_52559(Lnet/minecraft/class_3218;)Lnet/minecraft/class_18$class_8645;
named getPersistentStateType
Lnet/minecraft/village/raid/RaidManager;getPersistentStateType(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/world/PersistentState$Type;
-
getRaid
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(I)Lcgq;
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
Lcgs;a()V
intermediary method_16539
Lnet/minecraft/class_3767;method_16539()V
named tick
Lnet/minecraft/village/raid/RaidManager;tick()V
-
isValidRaiderFor
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Lcgr;Lcgq;)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
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Lane;)Lcgq;
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
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Land;Lhx;)Lcgq;
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
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Land;Lsn;)Lcgs;
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/NbtCompound;)Lnet/minecraft/village/raid/RaidManager;
-
writeNbt
- Specified by:
writeNbt
in classPersistentState
- Mappings:
Namespace Name Mixin selector official a
Lefw;a(Lsn;)Lsn;
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/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
nameFor
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Lih;)Ljava/lang/String;
intermediary method_16533
Lnet/minecraft/class_3767;method_16533(Lnet/minecraft/class_6880;)Ljava/lang/String;
named nameFor
Lnet/minecraft/village/raid/RaidManager;nameFor(Lnet/minecraft/registry/entry/RegistryEntry;)Ljava/lang/String;
-
nextId
private int nextId()- Mappings:
Namespace Name Mixin selector official b
Lcgs;b()I
intermediary method_16534
Lnet/minecraft/class_3767;method_16534()I
named nextId
Lnet/minecraft/village/raid/RaidManager;nextId()I
-
getRaidAt
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Lhx;I)Lcgq;
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;
-