Package net.minecraft.world.raid
Class RaidManager
java.lang.Object
net.minecraft.world.storage.WorldSavedData
net.minecraft.world.raid.RaidManager
- All Implemented Interfaces:
INBTSerializable<CompoundNBT>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanJoinRaid(AbstractRaiderEntity p_215165_0_, Raid p_215165_1_) createOrExtendRaid(ServerPlayerEntity p_215170_1_) get(int p_215167_1_) static StringgetFileId(DimensionType p_234620_0_) getNearbyRaid(BlockPos p_215174_1_, int p_215174_2_) private RaidgetOrCreateRaid(ServerWorld p_215168_1_, BlockPos p_215168_2_) private intvoidload(CompoundNBT p_76184_1_) save(CompoundNBT p_189551_1_) voidtick()Methods inherited from class net.minecraft.world.storage.WorldSavedData
deserializeNBT, getId, isDirty, save, serializeNBT, setDirty, setDirty
-
Field Details
-
raidMap
-
level
-
nextAvailableID
private int nextAvailableID -
tick
private int tick
-
-
Constructor Details
-
RaidManager
-
-
Method Details
-
get
-
tick
public void tick() -
canJoinRaid
-
createOrExtendRaid
-
getOrCreateRaid
-
load
- Specified by:
loadin classWorldSavedData
-
save
- Specified by:
savein classWorldSavedData
-
getFileId
-
getUniqueId
private int getUniqueId() -
getNearbyRaid
-