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 ServerLevelprivate intprivate static final Stringprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanJoinRaid(Raider pRaider, Raid pRaid) createOrExtendRaid(ServerPlayer pPlayer, BlockPos pPos) static SavedData.Factory<Raids> factory(ServerLevel pLevel) get(int pId) static StringgetFileId(Holder<DimensionType> pDimensionTypeHolder) getNearbyRaid(BlockPos pPos, int pDistance) private RaidgetOrCreateRaid(ServerLevel pServerLevel, BlockPos pPos) private intstatic Raidsload(ServerLevel pLevel, CompoundTag pTag) save(CompoundTag pTag, HolderLookup.Provider pRegistries) voidtick()
-
Field Details
-
RAID_FILE_ID
- See Also:
-
raidMap
-
level
-
nextAvailableID
private int nextAvailableID -
tick
private int tick
-
-
Constructor Details
-
Raids
-
-
Method Details