Uses of Interface
net.minecraft.world.ServerWorldAccess
Package
Description
-
Uses of ServerWorldAccess in net.minecraft.entity
Modifier and TypeMethodDescriptionstatic <T extends Entity>
booleanSpawnRestriction.canSpawn
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
SpawnRestriction.SpawnPredicate.test
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) -
Uses of ServerWorldAccess in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionstatic boolean
DrownedEntity.canSpawn
(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HuskEntity.canSpawn
(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
StrayEntity.canSpawn
(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HostileEntity.canSpawnInDark
(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) AbstractSkeletonEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) CaveSpiderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) DrownedEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) HoglinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) IllusionerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) MobEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PatrolEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PhantomEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PiglinBruteEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PiglinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) ShulkerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) SlimeEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) SpiderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) VexEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) VindicatorEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) WitherSkeletonEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) ZombieEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) ZombieVillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) static boolean
HostileEntity.isSpawnDark
(ServerWorldAccess world, BlockPos pos, Random random) -
Uses of ServerWorldAccess in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionstatic boolean
AxolotlEntity.canSpawn
(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
GlowSquidEntity.canSpawn
(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) AxolotlEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) CatEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) DolphinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) FoxEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) GoatEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) HorseBaseEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) HorseEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) LlamaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) MerchantEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) OcelotEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PandaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) ParrotEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PassiveEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) PolarBearEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) RabbitEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) SchoolingFishEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) SheepEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) StriderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) TraderLlamaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) TropicalFishEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) TurtleEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) VillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) private EntityData
StriderEntity.initializeRider
(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, @Nullable EntityData entityData) -
Uses of ServerWorldAccess in net.minecraft.entity.raid
Modifier and TypeMethodDescriptionRaiderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) -
Uses of ServerWorldAccess in net.minecraft.server.world
-
Uses of ServerWorldAccess in net.minecraft.structure
Modifier and TypeMethodDescriptionprotected boolean
StructurePiece.addChest
(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, @Nullable BlockState block) Structure.getEntity
(ServerWorldAccess world, NbtCompound nbt) protected void
EndCityGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
IglooGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
NetherFossilGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
OceanRuinGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
RuinedPortalStructurePiece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
ShipwreckGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected abstract void
SimpleStructurePiece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
WoodlandMansionGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) boolean
Structure.place
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags) private void
SwampHutGenerator.spawnCat
(ServerWorldAccess world, BlockBox box) private void
Structure.spawnEntities
(ServerWorldAccess world, BlockPos pos, BlockMirror blockMirror, BlockRotation blockRotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) -
Uses of ServerWorldAccess in net.minecraft.world
Modifier and TypeMethodDescriptionstatic void
SpawnHelper.populateEntities
(ServerWorldAccess world, RegistryEntry<Biome> registryEntry, ChunkPos chunkPos, Random random) -
Uses of ServerWorldAccess in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionprivate void
EndSpikeFeature.generateSpike
(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike)