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) private void
MobEntity.enchantEquipment
(ServerWorldAccess world, EquipmentSlot slot, Random random, float power, LocalDifficulty localDifficulty) protected void
MobEntity.enchantEquipment
(ServerWorldAccess world, Random random, EquipmentSlot slot, LocalDifficulty localDifficulty) protected void
MobEntity.enchantMainHandItem
(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected void
PillagerEntity.enchantMainHandItem
(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) AbstractSkeletonEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) CaveSpiderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) DrownedEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) HoglinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) IllusionerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) MobEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PatrolEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PhantomEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PiglinBruteEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PiglinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ShulkerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SlimeEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SpiderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) VexEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) VindicatorEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) WardenEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) WitherSkeletonEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ZoglinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ZombieEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ZombieVillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) static boolean
HostileEntity.isSpawnDark
(ServerWorldAccess world, BlockPos pos, Random random) protected void
MobEntity.updateEnchantments
(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected void
WitherSkeletonEntity.updateEnchantments
(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) -
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) AbstractHorseEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) AxolotlEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) CamelEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) CatEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) DolphinEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) FoxEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) FrogEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) GoatEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) HorseEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) LlamaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) MerchantEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) OcelotEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PandaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ParrotEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PassiveEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) PolarBearEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) RabbitEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SalmonEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SchoolingFishEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SheepEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SquidEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, EntityData entityData) StriderEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) TraderLlamaEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) TropicalFishEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) TurtleEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) VillagerEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) WolfEntity.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) 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) -
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, RegistryKey<LootTable> lootTable, @Nullable BlockState block) StructureTemplate.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
StructureTemplate.place
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags) StructureTemplate.process
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<StructureTemplate.StructureBlockInfo> infos) private void
SwampHutGenerator.spawnCat
(ServerWorldAccess world, BlockBox box) private void
StructureTemplate.spawnEntities
(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) -
Uses of ServerWorldAccess in net.minecraft.structure.processor
Modifier and TypeMethodDescriptionCappedStructureProcessor.reprocess
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, List<StructureTemplate.StructureBlockInfo> originalBlockInfos, List<StructureTemplate.StructureBlockInfo> currentBlockInfos, StructurePlacementData data) StructureProcessor.reprocess
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, List<StructureTemplate.StructureBlockInfo> originalBlockInfos, List<StructureTemplate.StructureBlockInfo> currentBlockInfos, StructurePlacementData data) -
Uses of ServerWorldAccess in net.minecraft.world
Modifier and TypeMethodDescriptionstatic void
SpawnHelper.populateEntities
(ServerWorldAccess world, RegistryEntry<Biome> biomeEntry, ChunkPos chunkPos, Random random) -
Uses of ServerWorldAccess in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionstatic void
EndPlatformFeature.generate
(ServerWorldAccess world, BlockPos pos, boolean breakBlocks) private void
EndSpikeFeature.generateSpike
(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike)