Uses of Interface
net.minecraft.world.ServerWorldAccess
Packages that use ServerWorldAccess
Package
Description
-
Uses of ServerWorldAccess in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type ServerWorldAccessModifier and TypeMethodDescriptionstatic <T extends Entity>
booleanSpawnRestriction.canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleanSpawnRestriction.SpawnPredicate.test(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) -
Uses of ServerWorldAccess in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type ServerWorldAccessModifier and TypeMethodDescriptionstatic booleanDrownedEntity.canSpawn(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHuskEntity.canSpawn(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanStrayEntity.canSpawn(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHostileEntity.canSpawnInDark(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) private voidMobEntity.enchantEquipment(ServerWorldAccess world, EquipmentSlot slot, Random random, float power, LocalDifficulty localDifficulty) protected voidMobEntity.enchantEquipment(ServerWorldAccess world, Random random, EquipmentSlot slot, LocalDifficulty localDifficulty) protected voidMobEntity.enchantMainHandItem(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected voidPillagerEntity.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) ZombieEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) ZombieVillagerEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) static booleanHostileEntity.isSpawnDark(ServerWorldAccess world, BlockPos pos, Random random) protected voidMobEntity.updateEnchantments(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) protected voidWitherSkeletonEntity.updateEnchantments(ServerWorldAccess world, Random random, LocalDifficulty localDifficulty) -
Uses of ServerWorldAccess in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type ServerWorldAccessModifier and TypeMethodDescriptionstatic booleanAxolotlEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanGlowSquidEntity.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) SchoolingFishEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) SheepEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable 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 EntityDataStriderEntity.initializeRider(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, @Nullable EntityData entityData) -
Uses of ServerWorldAccess in net.minecraft.entity.raid
Methods in net.minecraft.entity.raid with parameters of type ServerWorldAccessModifier and TypeMethodDescriptionRaiderEntity.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) -
Uses of ServerWorldAccess in net.minecraft.server.world
Classes in net.minecraft.server.world that implement ServerWorldAccess -
Uses of ServerWorldAccess in net.minecraft.structure
Methods in net.minecraft.structure with parameters of type ServerWorldAccessModifier and TypeMethodDescriptionprotected booleanStructurePiece.addChest(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, RegistryKey<LootTable> lootTable, @Nullable BlockState block) StructureTemplate.getEntity(ServerWorldAccess world, NbtCompound nbt) protected voidEndCityGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidIglooGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidNetherFossilGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidOceanRuinGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidRuinedPortalStructurePiece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidShipwreckGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected abstract voidSimpleStructurePiece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidWoodlandMansionGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) booleanStructureTemplate.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 voidSwampHutGenerator.spawnCat(ServerWorldAccess world, BlockBox box) private voidStructureTemplate.spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) -
Uses of ServerWorldAccess in net.minecraft.structure.processor
Methods in net.minecraft.structure.processor with parameters of type ServerWorldAccessModifier 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
Subinterfaces of ServerWorldAccess in net.minecraft.worldClasses in net.minecraft.world that implement ServerWorldAccessMethods in net.minecraft.world with parameters of type ServerWorldAccessModifier and TypeMethodDescriptionstatic voidSpawnHelper.populateEntities(ServerWorldAccess world, RegistryEntry<Biome> biomeEntry, ChunkPos chunkPos, Random random) -
Uses of ServerWorldAccess in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type ServerWorldAccessModifier and TypeMethodDescriptionstatic voidEndPlatformFeature.generate(ServerWorldAccess world, BlockPos pos, boolean breakBlocks) private voidEndSpikeFeature.generateSpike(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike)