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
FieldsModifier and TypeFieldDescriptionprivate final ServerLevel
private int
private static final String
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canJoinRaid
(Raider raider, Raid raid) createOrExtendRaid
(ServerPlayer player, BlockPos pos) static SavedData.Factory
<Raids> factory
(ServerLevel level) get
(int id) static String
getFileId
(Holder<DimensionType> dimensionTypeHolder) getNearbyRaid
(BlockPos pos, int distance) private Raid
getOrCreateRaid
(ServerLevel serverLevel, BlockPos pos) private int
static Raids
load
(ServerLevel level, CompoundTag tag) save
(CompoundTag tag, HolderLookup.Provider registries) void
tick()
-
Field Details
-
RAID_FILE_ID
- See Also:
-
raidMap
-
level
-
nextAvailableID
private int nextAvailableID -
tick
private int tick
-
-
Constructor Details
-
Raids
-
-
Method Details