Package net.minecraft.village.raid
Class RaidManager
java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.village.raid.RaidManager
- Mappings:
Namespace Name official bppintermediary net/minecraft/class_3767named net/minecraft/village/raid/RaidManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate static final Stringprivate final ServerWorld -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RaidManagerfromNbt(ServerWorld world, NbtCompound nbt) private RaidgetOrCreateRaid(ServerWorld world, BlockPos pos) getRaid(int id) static booleanisValidRaiderFor(RaiderEntity raider, Raid raid) static StringnameFor(DimensionType dimensionType) private intnextId()startRaid(ServerPlayerEntity player) voidtick()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 aLbpp;a:Ljava/lang/String;intermediary field_30690Lnet/minecraft/class_3767;field_30690:Ljava/lang/String;named RAIDSLnet/minecraft/village/raid/RaidManager;RAIDS:Ljava/lang/String;
-
raids
- Mappings:
Namespace Name Mixin selector official bLbpp;b:Ljava/util/Map;intermediary field_16639Lnet/minecraft/class_3767;field_16639:Ljava/util/Map;named raidsLnet/minecraft/village/raid/RaidManager;raids:Ljava/util/Map;
-
world
- Mappings:
Namespace Name Mixin selector official cLbpp;c:Ladv;intermediary field_16641Lnet/minecraft/class_3767;field_16641:Lnet/minecraft/class_3218;named worldLnet/minecraft/village/raid/RaidManager;world:Lnet/minecraft/server/world/ServerWorld;
-
nextAvailableId
private int nextAvailableId- Mappings:
Namespace Name Mixin selector official dLbpp;d:Iintermediary field_16638Lnet/minecraft/class_3767;field_16638:Inamed nextAvailableIdLnet/minecraft/village/raid/RaidManager;nextAvailableId:I
-
currentTime
private int currentTime- Mappings:
Namespace Name Mixin selector official eLbpp;e:Iintermediary field_16637Lnet/minecraft/class_3767;field_16637:Inamed currentTimeLnet/minecraft/village/raid/RaidManager;currentTime:I
-
-
Constructor Details
-
RaidManager
- Mappings:
Namespace Name Mixin selector official <init>Lbpp;<init>(Ladv;)Vintermediary <init>Lnet/minecraft/class_3767;<init>(Lnet/minecraft/class_3218;)Vnamed <init>Lnet/minecraft/village/raid/RaidManager;<init>(Lnet/minecraft/server/world/ServerWorld;)V
-
-
Method Details
-
getRaid
- Mappings:
Namespace Name Mixin selector official aLbpp;a(I)Lbpn;intermediary method_16541Lnet/minecraft/class_3767;method_16541(I)Lnet/minecraft/class_3765;named getRaidLnet/minecraft/village/raid/RaidManager;getRaid(I)Lnet/minecraft/village/raid/Raid;
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official aLbpp;a()Vintermediary method_16539Lnet/minecraft/class_3767;method_16539()Vnamed tickLnet/minecraft/village/raid/RaidManager;tick()V
-
isValidRaiderFor
- Mappings:
Namespace Name Mixin selector official aLbpp;a(Lbpo;Lbpn;)Zintermediary method_16838Lnet/minecraft/class_3767;method_16838(Lnet/minecraft/class_3763;Lnet/minecraft/class_3765;)Znamed isValidRaiderForLnet/minecraft/village/raid/RaidManager;isValidRaiderFor(Lnet/minecraft/entity/raid/RaiderEntity;Lnet/minecraft/village/raid/Raid;)Z
-
startRaid
- Mappings:
Namespace Name Mixin selector official aLbpp;a(Ladw;)Lbpn;intermediary method_16540Lnet/minecraft/class_3767;method_16540(Lnet/minecraft/class_3222;)Lnet/minecraft/class_3765;named startRaidLnet/minecraft/village/raid/RaidManager;startRaid(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/village/raid/Raid;
-
getOrCreateRaid
- Mappings:
Namespace Name Mixin selector official aLbpp;a(Ladv;Lgi;)Lbpn;intermediary method_16532Lnet/minecraft/class_3767;method_16532(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3765;named getOrCreateRaidLnet/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 aLbpp;a(Ladv;Loj;)Lbpp;intermediary method_77Lnet/minecraft/class_3767;method_77(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)Lnet/minecraft/class_3767;named fromNbtLnet/minecraft/village/raid/RaidManager;fromNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/village/raid/RaidManager;
-
writeNbt
- Specified by:
writeNbtin classPersistentState- Mappings:
Namespace Name Mixin selector official aLdjz;a(Loj;)Loj;intermediary method_75Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named writeNbtLnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
nameFor
- Mappings:
Namespace Name Mixin selector official aLbpp;a(Lcrx;)Ljava/lang/String;intermediary method_16533Lnet/minecraft/class_3767;method_16533(Lnet/minecraft/class_2874;)Ljava/lang/String;named nameForLnet/minecraft/village/raid/RaidManager;nameFor(Lnet/minecraft/world/dimension/DimensionType;)Ljava/lang/String;
-
nextId
private int nextId()- Mappings:
Namespace Name Mixin selector official dLbpp;d()Iintermediary method_16534Lnet/minecraft/class_3767;method_16534()Inamed nextIdLnet/minecraft/village/raid/RaidManager;nextId()I
-
getRaidAt
- Mappings:
Namespace Name Mixin selector official aLbpp;a(Lgi;I)Lbpn;intermediary method_19209Lnet/minecraft/class_3767;method_19209(Lnet/minecraft/class_2338;I)Lnet/minecraft/class_3765;named getRaidAtLnet/minecraft/village/raid/RaidManager;getRaidAt(Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/village/raid/Raid;
-