Package net.minecraft.world.entity.raid
Class Raids
java.lang.Object
net.minecraft.world.level.saveddata.SavedData
net.minecraft.world.entity.raid.Raids
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.saveddata.SavedData
SavedData.Factory<T extends SavedData>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ServerLevel
private int
private static final String
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canJoinRaid
(Raider p_37966_, Raid p_37967_) createOrExtendRaid
(ServerPlayer p_37964_, BlockPos p_336355_) static SavedData.Factory
<Raids> factory
(ServerLevel p_300199_) get
(int p_37959_) static String
getFileId
(Holder<DimensionType> p_211597_) getNearbyRaid
(BlockPos p_37971_, int p_37972_) private Raid
getOrCreateRaid
(ServerLevel p_37961_, BlockPos p_37962_) private int
static Raids
load
(ServerLevel p_150236_, CompoundTag p_150237_) save
(CompoundTag p_37976_, HolderLookup.Provider p_335569_) void
tick()
-
Field Details
-
RAID_FILE_ID
- See Also:
-
raidMap
-
level
-
nextAvailableID
private int nextAvailableID -
tick
private int tick
-
-
Constructor Details
-
Raids
-
-
Method Details