Uses of Class
net.minecraft.server.world.ServerWorld
Packages that use ServerWorld
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
-
Uses of ServerWorld in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type ServerWorldModifier and TypeMethodDescriptionbooleanPlacedBlockCriterion.Conditions.matches(BlockState state, BlockPos pos, ServerWorld world, ItemStack stack) booleanTravelCriterion.Conditions.matches(ServerWorld world, Vec3d startPos, Vec3d endPos) booleanItemCriterion.Conditions.test(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack) -
Uses of ServerWorld in net.minecraft.block
Methods in net.minecraft.block with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic voidSculkCatalystBlock.bloom(ServerWorld world, BlockPos pos, BlockState state, Random random) private static booleanPointedDripstoneBlock.canGrow(BlockState state, ServerWorld world, BlockPos pos) static BlockStateComposterBlock.compost(BlockState state, ServerWorld world, ItemStack stack, BlockPos pos) protected voidDispenserBlock.dispense(ServerWorld world, BlockPos pos) protected voidDropperBlock.dispense(ServerWorld world, BlockPos pos) private voidStructureBlock.doAction(ServerWorld world, StructureBlockBlockEntity blockEntity) static voidPointedDripstoneBlock.dripTick(BlockState state, ServerWorld world, BlockPos pos, float dripChance) protected voidBlock.dropExperience(ServerWorld world, BlockPos pos, int size) Drops experience orbs.protected voidBlock.dropExperienceWhenMined(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience) Drops experience orbs.private voidNyliumBlock.generate(Registry<ConfiguredFeature<?, ?>> registry, RegistryKey<ConfiguredFeature<?, ?>> key, ServerWorld world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) voidSaplingBlock.generate(ServerWorld world, BlockPos pos, BlockState state, Random random) static FluidPointedDripstoneBlock.getDripFluid(ServerWorld world, BlockPos pos) Block.getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity) Block.getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity entity, ItemStack stack) default <T extends BlockEntity>
@Nullable GameEventListenerBlockEntityProvider.getGameEventListener(ServerWorld world, T blockEntity) Returns the game event listener for the block's block entity, ornullif the block entity does not listen to game events.<T extends BlockEntity>
@Nullable GameEventListenerSculkCatalystBlock.getGameEventListener(ServerWorld world, T blockEntity) Returns the game event listener for the block's block entity, ornullif the block entity does not listen to game events.<T extends BlockEntity>
@Nullable GameEventListenerSculkSensorBlock.getGameEventListener(ServerWorld world, T blockEntity) Returns the game event listener for the block's block entity, ornullif the block entity does not listen to game events.<T extends BlockEntity>
@Nullable GameEventListenerSculkShriekerBlock.getGameEventListener(ServerWorld world, T blockEntity) Returns the game event listener for the block's block entity, ornullif the block entity does not listen to game events.voidAbstractPlantBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidAbstractPlantStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidAzaleaBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBambooBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBambooSaplingBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBigDripleafBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBigDripleafStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCaveVinesBodyBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCaveVinesHeadBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCocoaBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCropBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFernBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFertilizable.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFungusBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidGlowLichenBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidGrassBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidMangroveLeavesBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidMossBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidMushroomPlantBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidNetherrackBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidNyliumBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidPropaguleBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidRootedDirtBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSaplingBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSeagrassBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSeaPickleBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSmallDripleafBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSweetBerryBushBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidTallFlowerBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) private voidFrogspawnBlock.hatch(ServerWorld world, BlockPos pos, Random random) voidAbstractBlock.AbstractBlockState.onStacksDropped(ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) voidAbstractBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) Deprecated.voidExperienceDroppingBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.voidInfestedBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.voidRedstoneOreBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.voidSculkCatalystBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.voidSculkSensorBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.voidSculkShriekerBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.voidSpawnerBlock.onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) Called server-side when the stacks are dropped by mining or explosion.voidAbstractBlock.AbstractBlockState.randomTick(ServerWorld world, BlockPos pos, Random random) voidAbstractBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractPlantStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidBambooBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidBambooSaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidBeetrootsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidBuddingAmethystBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidCactusBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidChorusFlowerBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidCocoaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidCropBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidFarmlandBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidFluidBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidFrostedIceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidIceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidLeavesBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidMagmaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidMushroomPlantBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidNetherPortalBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidNetherWartBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidNyliumBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidOxidizableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidOxidizableSlabBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidOxidizableStairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidPointedDripstoneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidPropaguleBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidRedstoneOreBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidSaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidSnowBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidSpreadableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidStairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidSugarCaneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidSweetBerryBushBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidTurtleEggBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidVineBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.voidAbstractBlock.AbstractBlockState.scheduledTick(ServerWorld world, BlockPos pos, Random random) voidAbstractBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractCauldronBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidAbstractPlantPartBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidAbstractPressurePlateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidAbstractRedstoneGateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidBambooBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidBarrelBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidBigDripleafBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidBigDripleafStemBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidBubbleColumnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidButtonBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidCactusBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidChorusFlowerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidChorusPlantBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidCommandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidComparatorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidComposterBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidCoralBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidCoralBlockBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidCoralFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidCoralWallFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidDetectorRailBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidDirtPathBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidDispenserBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidEnderChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidFallingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidFarmlandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidFireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidFrogspawnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidFrostedIceBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidLeavesBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidLecternBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidLightningRodBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidMagmaBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidObserverBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidPointedDripstoneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidRedstoneLampBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidRedstoneTorchBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidScaffoldingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidSculkCatalystBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidSculkSensorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidSculkShriekerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidSoulSandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidStairsBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidSugarCaneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidTargetBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidTripwireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.voidTripwireHookBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.private static voidPointedDripstoneBlock.spawnFallingBlock(BlockState state, ServerWorld world, BlockPos pos) private voidInfestedBlock.spawnSilverfish(ServerWorld world, BlockPos pos) private voidFrogspawnBlock.spawnTadpoles(ServerWorld world, BlockPos pos, Random random) default voidDegradable.tickDegradation(BlockState state, ServerWorld world, BlockPos pos, Random random) default voidDegradable.tryDegrade(BlockState state, ServerWorld world, BlockPos pos, Random random) static voidPointedDripstoneBlock.tryGrow(BlockState state, ServerWorld world, BlockPos pos, Random random) private static voidPointedDripstoneBlock.tryGrow(ServerWorld world, BlockPos pos, Direction direction) private static voidPointedDripstoneBlock.tryGrowStalagmite(ServerWorld world, BlockPos pos) booleanMushroomPlantBlock.trySpawningBigMushroom(ServerWorld world, BlockPos pos, BlockState state, Random random) -
Uses of ServerWorld in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate static booleanShearsDispenserBehavior.tryShearBlock(ServerWorld world, BlockPos pos) private static booleanShearsDispenserBehavior.tryShearEntity(ServerWorld world, BlockPos pos) -
Uses of ServerWorld in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type ServerWorldModifier and TypeMethodDescriptionvoidSculkSensorBlockEntity.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.voidSculkShriekerBlockEntity.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.booleanSculkSensorBlockEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.booleanSculkShriekerBlockEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.private static booleanSculkShriekerWarningManager.canIncreaseWarningLevel(ServerWorld world, BlockPos pos) private booleanSculkShriekerBlockEntity.canWarn(ServerWorld world) private static voidEndGatewayBlockEntity.createPortal(ServerWorld world, BlockPos pos, EndGatewayFeatureConfig config) private static voidAbstractFurnaceBlockEntity.dropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience) private static Vec3dEndGatewayBlockEntity.findTeleportLocation(ServerWorld world, BlockPos pos) voidJigsawBlockEntity.generate(ServerWorld world, int maxDepth, boolean keepJigsaws) private static List<ServerPlayerEntity>SculkShriekerWarningManager.getPlayersInRange(ServerWorld world, BlockPos pos) AbstractFurnaceBlockEntity.getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos) private static booleanEndGatewayBlockEntity.isChunkEmpty(ServerWorld world, Vec3d pos) booleanSculkCatalystBlockEntity.listen(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.booleanStructureBlockBlockEntity.loadStructure(ServerWorld world) booleanStructureBlockBlockEntity.loadStructure(ServerWorld world, boolean bool) booleanStructureBlockBlockEntity.place(ServerWorld world, boolean bool, StructureTemplate template) private static BlockPosEndGatewayBlockEntity.setupExitPortalLocation(ServerWorld world, BlockPos pos) Finds teleport location and creates an island to teleport to (if there is none).private voidSculkShriekerBlockEntity.shriek(ServerWorld world, @Nullable Entity entity) voidSculkShriekerBlockEntity.shriek(ServerWorld world, @Nullable ServerPlayerEntity player) private booleanSculkShriekerBlockEntity.trySpawnWarden(ServerWorld world) private booleanSculkShriekerBlockEntity.trySyncWarningLevel(ServerWorld world, ServerPlayerEntity player) voidSculkShriekerBlockEntity.warn(ServerWorld world) static OptionalIntSculkShriekerWarningManager.warnNearbyPlayers(ServerWorld world, BlockPos pos, ServerPlayerEntity player) -
Uses of ServerWorld in net.minecraft.block.sapling
Methods in net.minecraft.block.sapling with parameters of type ServerWorldModifier and TypeMethodDescriptionbooleanLargeTreeSaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) booleanSaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) booleanLargeTreeSaplingGenerator.generateLargeTree(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int x, int z) -
Uses of ServerWorld in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud that return ServerWorld -
Uses of ServerWorld in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type ServerWorldModifier and TypeMethodDescriptionbooleanGameEventDebugRenderer.Listener.listen(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event. -
Uses of ServerWorld in net.minecraft.command
Methods in net.minecraft.command with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate voidEntitySelector.appendEntitiesFromWorld(List<Entity> entities, ServerWorld world, Vec3d pos, Predicate<Entity> predicate) -
Uses of ServerWorld in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return ServerWorldModifier and TypeMethodDescriptionstatic ServerWorldDimensionArgumentType.getDimensionArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) Methods in net.minecraft.command.argument with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic BlockPosBlockPosArgumentType.getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name) booleanBlockStateArgument.setBlockState(ServerWorld world, BlockPos pos, int flags) booleanBlockStateArgument.test(ServerWorld world, BlockPos pos) -
Uses of ServerWorld in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type ServerWorldModifier and TypeMethodDescriptionbooleanLargeEntitySpawnHelper.Requirements.canSpawnOn(ServerWorld world, BlockPos pos, BlockState state, BlockPos abovePos, BlockState aboveState) EntityType.copier(Consumer<T> chained, ServerWorld world, ItemStack stack, @Nullable PlayerEntity player) EntityType.copier(ServerWorld world, ItemStack stack, @Nullable PlayerEntity player) EntityType.create(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY) private static booleanLargeEntitySpawnHelper.findSpawnPos(ServerWorld world, int verticalRange, BlockPos.Mutable pos, LargeEntitySpawnHelper.Requirements requirements) protected Optional<BlockLocating.Rectangle>Entity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether, WorldBorder worldBorder) Returns the portal rect atdestPos.protected @Nullable TeleportTargetEntity.getTeleportTarget(ServerWorld destination) Returns aTeleportTargetfor the entity based on its current and destination worlds, plus any nether portals that may be present.Entity.moveToWorld(ServerWorld destination) Moves this entity to another world.ItemEntity.moveToWorld(ServerWorld destination) Moves this entity to another world.EntityType.nbtCopier(Consumer<T> chained, ServerWorld world, ItemStack stack, @Nullable PlayerEntity player) booleanEntity.onKilledOther(ServerWorld world, LivingEntity other) Called when this entity killsother.voidEntity.onStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.EntityType.spawn(ServerWorld world, @Nullable NbtCompound itemNbt, @Nullable Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY) EntityType.spawn(ServerWorld world, BlockPos pos, SpawnReason reason) static voidExperienceOrbEntity.spawn(ServerWorld world, Vec3d pos, int amount) EntityType.spawnFromItemStack(ServerWorld world, @Nullable ItemStack stack, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY) booleanEntity.teleport(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch) Teleports the entity to the given position.LargeEntitySpawnHelper.trySpawnAt(EntityType<T> entityType, SpawnReason reason, ServerWorld world, BlockPos pos, int tries, int horizontalRange, int verticalRange, LargeEntitySpawnHelper.Requirements requirements) private static booleanExperienceOrbEntity.wasMergedIntoExistingOrb(ServerWorld world, Vec3d pos, int amount) Method parameters in net.minecraft.entity with type arguments of type ServerWorldModifier and TypeMethodDescriptionvoidEntity.updateEventHandler(BiConsumer<EntityGameEventHandler<?>, ServerWorld> callback) Called when the entity is loaded to register game event handlers. -
Uses of ServerWorld in net.minecraft.entity.ai
Methods in net.minecraft.entity.ai with parameters of type ServerWorldModifier and TypeMethodDescriptionvoidWardenAngerManager.tick(ServerWorld world, Predicate<Entity> suspectPredicate) private voidWardenAngerManager.updateSuspectsMap(ServerWorld world) -
Uses of ServerWorld in net.minecraft.entity.ai.brain
Methods in net.minecraft.entity.ai.brain with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate voidBrain.startTasks(ServerWorld world, E entity) voidBrain.stopAllTasks(ServerWorld world, E entity) voidBrain.tick(ServerWorld world, E entity) private voidBrain.tickSensors(ServerWorld world, E entity) private voidBrain.updateTasks(ServerWorld world, E entity) -
Uses of ServerWorld in net.minecraft.entity.ai.brain.sensor
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type ServerWorldModifier and TypeMethodDescriptionHoglinSpecificSensor.findNearestWarpedFungus(ServerWorld world, HoglinEntity hoglin) PiglinSpecificSensor.findPiglinRepellent(ServerWorld world, LivingEntity entity) private static booleanPiglinSpecificSensor.isPiglinRepellent(ServerWorld world, BlockPos pos) protected voidDummySensor.sense(ServerWorld world, LivingEntity entity) protected voidGolemLastSeenSensor.sense(ServerWorld world, LivingEntity entity) protected voidHoglinSpecificSensor.sense(ServerWorld serverWorld, HoglinEntity hoglinEntity) protected voidHurtBySensor.sense(ServerWorld world, LivingEntity entity) protected voidIsInWaterSensor.sense(ServerWorld world, LivingEntity entity) protected voidNearestBedSensor.sense(ServerWorld serverWorld, MobEntity mobEntity) protected voidNearestItemsSensor.sense(ServerWorld serverWorld, MobEntity mobEntity) protected voidNearestLivingEntitiesSensor.sense(ServerWorld world, T entity) protected voidNearestPlayersSensor.sense(ServerWorld world, LivingEntity entity) protected voidNearestVisibleAdultSensor.sense(ServerWorld serverWorld, PassiveEntity passiveEntity) protected voidNearestVisibleLivingEntitySensor.sense(ServerWorld world, LivingEntity entity) protected voidPiglinBruteSpecificSensor.sense(ServerWorld world, LivingEntity entity) protected voidPiglinSpecificSensor.sense(ServerWorld world, LivingEntity entity) protected voidSecondaryPointsOfInterestSensor.sense(ServerWorld serverWorld, VillagerEntity villagerEntity) protected abstract voidSensor.sense(ServerWorld world, E entity) protected voidTemptationsSensor.sense(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected voidVillagerBabiesSensor.sense(ServerWorld world, LivingEntity entity) protected voidWardenAttackablesSensor.sense(ServerWorld serverWorld, WardenEntity wardenEntity) final voidSensor.tick(ServerWorld world, E entity) -
Uses of ServerWorld in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate booleanBoneMealTask.canBoneMeal(BlockPos pos, ServerWorld world) private booleanLongJumpTask.canJumpTo(ServerWorld world, E entity, BlockPos pos) private static booleanOpenDoorsTask.cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos) FarmerVillagerTask.chooseRandomTarget(ServerWorld world) private voidFarmerWorkTask.compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState) private Optional<VillagerEntity>VillagerBreedTask.createChild(ServerWorld world, VillagerEntity parent, VillagerEntity partner) private voidFrogEatEntityTask.eat(ServerWorld world, FrogEntity frog) BoneMealTask.findBoneMealPos(ServerWorld world, VillagerEntity entity) SeekSkyTask.findNearbySky(ServerWorld world, LivingEntity entity) protected voidLongJumpTask.findTarget(ServerWorld world, E entity, long time) WalkTask.findTarget(PathAwareEntity entity, ServerWorld world) protected voidRamImpactTask.finishRam(ServerWorld world, GoatEntity goat) protected voidBoneMealTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidBreedTask.finishRunning(ServerWorld serverWorld, AnimalEntity animalEntity, long long2) protected voidCelebrateRaidWinTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidCroakTask.finishRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected voidCrossbowAttackTask.finishRunning(ServerWorld serverWorld, E e, long long2) protected voidDigTask.finishRunning(ServerWorld serverWorld, E e, long long2) protected voidEmergeTask.finishRunning(ServerWorld serverWorld, E e, long long2) protected voidFarmerVillagerTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFrogEatEntityTask.finishRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected voidGatherItemsVillagerTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveGiftsToHeroTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) voidHoldTradeOffersTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidJumpInBedTask.finishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidLeapingChargeTask.finishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidLookAroundTask.finishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidMultiTickTask.finishRunning(ServerWorld world, E entity, long time) protected voidPrepareRamTask.finishRunning(ServerWorld serverWorld, E e, long long2) protected voidRoarTask.finishRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected voidSleepTask.finishRunning(ServerWorld world, LivingEntity entity, long time) protected voidSniffTask.finishRunning(ServerWorld serverWorld, E e, long long2) protected voidSonicBoomTask.finishRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected voidTemptationCooldownTask.finishRunning(ServerWorld world, LivingEntity entity, long time) protected voidTemptTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidVillagerBreedTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWalkTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTowardJobSiteTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWanderAroundTask.finishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) private static intGiveGiftsToHeroTask.getNextGiftDelay(ServerWorld world) static ChunkSectionPosLookTargetUtil.getPosClosestToOccupiedPointOfInterest(ServerWorld world, ChunkSectionPos center, int radius) VillagerBreedTask.getReachableHome(ServerWorld world, VillagerEntity villager) protected Optional<LongJumpTask.Target>BiasedLongJumpTask.getTarget(ServerWorld world) protected Optional<LongJumpTask.Target>LongJumpTask.getTarget(ServerWorld world) private voidVillagerBreedTask.goHome(ServerWorld world, VillagerEntity first, VillagerEntity second) private static booleanVillagerTaskListProvider.hasActiveRaid(ServerWorld world, LivingEntity entity) private booleanJumpInBedTask.isAboveBed(ServerWorld world, MobEntity mob) private booleanJumpInBedTask.isBedAt(ServerWorld world, BlockPos pos) private booleanJumpInBedTask.isBedGoneTooLong(ServerWorld world, MobEntity mob) private static booleanForgetCompletedPointOfInterestTask.isBedOccupiedByOthers(ServerWorld world, BlockPos pos, LivingEntity entity) private booleanJumpInBedTask.isDoneJumping(ServerWorld world, MobEntity mob) private booleanJumpInBedTask.isOnBed(ServerWorld world, MobEntity mob) static booleanSeekSkyTask.isSkyVisible(ServerWorld world, LivingEntity entity, BlockPos pos) private booleanFarmerVillagerTask.isSuitableTarget(BlockPos pos, ServerWorld world) protected voidBoneMealTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidBreedTask.keepRunning(ServerWorld serverWorld, AnimalEntity animalEntity, long long2) protected voidCelebrateRaidWinTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidCroakTask.keepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected voidCrossbowAttackTask.keepRunning(ServerWorld serverWorld, E e, long long2) protected voidFarmerVillagerTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFrogEatEntityTask.keepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected voidGatherItemsVillagerTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveGiftsToHeroTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveInventoryToLookTargetTask.keepRunning(ServerWorld world, E entity, long time) voidHoldTradeOffersTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidJumpInBedTask.keepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidLongJumpTask.keepRunning(ServerWorld serverWorld, E e, long long2) protected voidLookAroundTask.keepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidMultiTickTask.keepRunning(ServerWorld world, E entity, long time) protected voidPanicTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidPrepareRamTask.keepRunning(ServerWorld serverWorld, E e, long long2) protected voidRamImpactTask.keepRunning(ServerWorld serverWorld, GoatEntity goatEntity, long long2) protected voidRoarTask.keepRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected voidSonicBoomTask.keepRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected voidStayAboveWaterTask.keepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidTemptationCooldownTask.keepRunning(ServerWorld world, LivingEntity entity, long time) protected voidTemptTask.keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidVillagerBreedTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWalkTask.keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTowardJobSiteTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWanderAroundTask.keepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) static voidOpenDoorsTask.pathToDoor(ServerWorld world, LivingEntity entity, @Nullable PathNode lastNode, @Nullable PathNode currentNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> otherMobs) protected voidFarmerWorkTask.performAdditionalWork(ServerWorld world, VillagerEntity entity) protected voidVillagerWorkTask.performAdditionalWork(ServerWorld world, VillagerEntity entity) protected voidBiasedLongJumpTask.run(ServerWorld serverWorld, E e, long long2) protected voidBoneMealTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidBreedTask.run(ServerWorld serverWorld, AnimalEntity animalEntity, long long2) abstract <E extends LivingEntity>
voidCompositeTask.RunMode.run(Stream<Task<? super E>> tasks, ServerWorld world, E entity, long time) protected voidCroakTask.run(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected voidDigTask.run(ServerWorld serverWorld, E e, long long2) protected voidDismountVehicleTask.run(ServerWorld world, LivingEntity entity, long time) protected voidEmergeTask.run(ServerWorld serverWorld, E e, long long2) protected voidFarmerVillagerTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFrogEatEntityTask.run(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected voidGatherItemsVillagerTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveGiftsToHeroTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveInventoryToLookTargetTask.run(ServerWorld world, E entity, long time) voidHoldTradeOffersTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidJumpInBedTask.run(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidLeapingChargeTask.run(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidLongJumpTask.run(ServerWorld serverWorld, E e, long long2) protected voidMultiTickTask.run(ServerWorld world, E entity, long time) protected voidPanicTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidPlayDeadTask.run(ServerWorld serverWorld, AxolotlEntity axolotlEntity, long long2) protected voidPrepareRamTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidRamImpactTask.run(ServerWorld serverWorld, GoatEntity goatEntity, long long2) protected voidRandomLookAroundTask.run(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected voidRoarTask.run(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected voidSleepTask.run(ServerWorld world, LivingEntity entity, long time) protected voidSniffTask.run(ServerWorld serverWorld, E e, long long2) protected voidSonicBoomTask.run(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) TaskTriggerer.TaskFunction.run(ServerWorld world, E entity, long time) protected voidTemptTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidVillagerBreedTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerWorkTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWalkTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWanderAroundTask.run(ServerWorld serverWorld, MobEntity mobEntity, long long2) private voidVillagerBreedTask.setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos) protected booleanBoneMealTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanBreedTask.shouldKeepRunning(ServerWorld serverWorld, AnimalEntity animalEntity, long long2) protected booleanCelebrateRaidWinTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanCroakTask.shouldKeepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected booleanCrossbowAttackTask.shouldKeepRunning(ServerWorld serverWorld, E e, long long2) protected booleanDigTask.shouldKeepRunning(ServerWorld serverWorld, E e, long long2) protected booleanEmergeTask.shouldKeepRunning(ServerWorld serverWorld, E e, long long2) protected booleanFarmerVillagerTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanFollowCustomerTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanFrogEatEntityTask.shouldKeepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected booleanGatherItemsVillagerTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGiveGiftsToHeroTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGiveInventoryToLookTargetTask.shouldKeepRunning(ServerWorld world, E entity, long time) booleanHoldTradeOffersTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanJumpInBedTask.shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected booleanLeapingChargeTask.shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected booleanLongJumpTask.shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected booleanLookAroundTask.shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected booleanMultiTickTask.shouldKeepRunning(ServerWorld world, E entity, long time) protected booleanPanicTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanPlayDeadTask.shouldKeepRunning(ServerWorld serverWorld, AxolotlEntity axolotlEntity, long long2) protected booleanPrepareRamTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected booleanRamImpactTask.shouldKeepRunning(ServerWorld serverWorld, GoatEntity goatEntity, long long2) protected booleanRoarTask.shouldKeepRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected booleanSleepTask.shouldKeepRunning(ServerWorld world, LivingEntity entity, long time) protected booleanSniffTask.shouldKeepRunning(ServerWorld serverWorld, E e, long long2) protected booleanSonicBoomTask.shouldKeepRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected booleanStayAboveWaterTask.shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected booleanTemptationCooldownTask.shouldKeepRunning(ServerWorld world, LivingEntity entity, long time) protected booleanTemptTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected booleanVillagerBreedTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanVillagerWorkTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanWalkTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected booleanWalkTowardJobSiteTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanWanderAroundTask.shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2) protected booleanBoneMealTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanBreedTask.shouldRun(ServerWorld serverWorld, AnimalEntity animalEntity) protected booleanCelebrateRaidWinTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanCroakTask.shouldRun(ServerWorld serverWorld, FrogEntity frogEntity) protected booleanCrossbowAttackTask.shouldRun(ServerWorld serverWorld, E e) protected booleanDigTask.shouldRun(ServerWorld serverWorld, E e) protected booleanDismountVehicleTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanFarmerVillagerTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanFollowCustomerTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanFrogEatEntityTask.shouldRun(ServerWorld serverWorld, FrogEntity frogEntity) protected booleanGatherItemsVillagerTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanGiveGiftsToHeroTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanGiveInventoryToLookTargetTask.shouldRun(ServerWorld world, E entity) booleanHoldTradeOffersTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanJumpInBedTask.shouldRun(ServerWorld serverWorld, MobEntity mobEntity) protected booleanLongJumpTask.shouldRun(ServerWorld serverWorld, MobEntity mobEntity) protected booleanMultiTickTask.shouldRun(ServerWorld world, E entity) protected booleanPlayDeadTask.shouldRun(ServerWorld serverWorld, AxolotlEntity axolotlEntity) protected booleanRamImpactTask.shouldRun(ServerWorld serverWorld, GoatEntity goatEntity) protected booleanSleepTask.shouldRun(ServerWorld world, LivingEntity entity) protected booleanSonicBoomTask.shouldRun(ServerWorld serverWorld, WardenEntity wardenEntity) protected booleanStayAboveWaterTask.shouldRun(ServerWorld serverWorld, MobEntity mobEntity) protected booleanVillagerBreedTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanVillagerWorkTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanWalkTowardJobSiteTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanWanderAroundTask.shouldRun(ServerWorld serverWorld, MobEntity mobEntity) private booleanRamImpactTask.shouldSnapHorn(ServerWorld world, GoatEntity goat) private booleanJumpInBedTask.shouldStartJumping(ServerWorld world, MobEntity mob) final voidCompositeTask.stop(ServerWorld world, E entity, long time) final voidMultiTickTask.stop(ServerWorld world, E entity, long time) final voidSingleTickTask.stop(ServerWorld world, E entity, long time) voidTask.stop(ServerWorld world, E entity, long time) final voidWaitTask.stop(ServerWorld world, LivingEntity entity, long time) OpenDoorsTask.storePos(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos) private voidFarmerWorkTask.syncComposterEvent(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState) final voidCompositeTask.tick(ServerWorld world, E entity, long time) final voidMultiTickTask.tick(ServerWorld world, E entity, long time) final voidSingleTickTask.tick(ServerWorld world, E entity, long time) voidTask.tick(ServerWorld world, E entity, long time) final voidWaitTask.tick(ServerWorld world, LivingEntity entity, long time) booleanTaskRunnable.trigger(ServerWorld world, E entity, long time) Runs the task.final booleanCompositeTask.tryStarting(ServerWorld world, E entity, long time) final booleanMultiTickTask.tryStarting(ServerWorld world, E entity, long time) final booleanSingleTickTask.tryStarting(ServerWorld world, E entity, long time) booleanTask.tryStarting(ServerWorld world, E entity, long time) final booleanWaitTask.tryStarting(ServerWorld world, LivingEntity entity, long time) private static booleanVillagerTaskListProvider.wonRaid(ServerWorld world, LivingEntity entity) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type ServerWorldModifier and TypeMethodDescriptionstatic <E extends LivingEntity>
SingleTickTask<E>TaskTriggerer.predicate(BiPredicate<ServerWorld, E> predicate) -
Uses of ServerWorld in net.minecraft.entity.boss.dragon
Fields in net.minecraft.entity.boss.dragon declared as ServerWorldMethods in net.minecraft.entity.boss.dragon with parameters of type ServerWorldModifier and TypeMethodDescriptionabstract voidEnderDragonSpawnState.run(ServerWorld world, EnderDragonFight fight, List<EndCrystalEntity> crystals, int tick, BlockPos pos) Constructors in net.minecraft.entity.boss.dragon with parameters of type ServerWorldModifierConstructorDescriptionEnderDragonFight(ServerWorld world, long gatewaysSeed, NbtCompound nbt) -
Uses of ServerWorld in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type ServerWorldModifier and TypeMethodDescriptionvoidAbstractDecorationEntity.onStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.voidArmorStandEntity.onStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning. -
Uses of ServerWorld in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic List<ServerPlayerEntity>StatusEffectUtil.addEffectToPlayersWithinDistance(ServerWorld world, @Nullable Entity entity, Vec3d origin, double range, StatusEffectInstance statusEffectInstance, int duration) -
Uses of ServerWorld in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type ServerWorldModifier and TypeMethodDescriptionvoidWardenEntity.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.booleanWardenEntity.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.static voidWardenEntity.addDarknessToClosePlayers(ServerWorld world, Vec3d pos, @Nullable Entity entity, int range) HoglinEntity.createChild(ServerWorld world, PassiveEntity entity) SkeletonHorseEntity.createChild(ServerWorld world, PassiveEntity entity) ZombieHorseEntity.createChild(ServerWorld world, PassiveEntity entity) private voidZombieVillagerEntity.finishConversion(ServerWorld world) booleanZombieEntity.onKilledOther(ServerWorld world, LivingEntity other) Called when this entity killsother.voidCreeperEntity.onStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.default voidAngerable.tickAngerLogic(ServerWorld world, boolean angerPersistent) protected voidAbstractPiglinEntity.zombify(ServerWorld world) private voidHoglinEntity.zombify(ServerWorld word) protected voidPiglinEntity.zombify(ServerWorld world) Method parameters in net.minecraft.entity.mob with type arguments of type ServerWorldModifier and TypeMethodDescriptionvoidWardenEntity.updateEventHandler(BiConsumer<EntityGameEventHandler<?>, ServerWorld> callback) Called when the entity is loaded to register game event handlers. -
Uses of ServerWorld in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type ServerWorldModifier and TypeMethodDescriptionvoidAllayEntity.VibrationListenerCallback.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, Entity entity, Entity sourceEntity, float distance) Accepts a game event after delay.booleanAllayEntity.VibrationListenerCallback.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.voidAnimalEntity.breed(ServerWorld world, AnimalEntity other) voidFrogEntity.breed(ServerWorld world, AnimalEntity other) AbstractHorseEntity.createChild(ServerWorld world, PassiveEntity entity) AxolotlEntity.createChild(ServerWorld world, PassiveEntity entity) BeeEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) CamelEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) CatEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) ChickenEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) CowEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) DonkeyEntity.createChild(ServerWorld world, PassiveEntity entity) FoxEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) FrogEntity.createChild(ServerWorld world, PassiveEntity entity) GoatEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) HorseEntity.createChild(ServerWorld world, PassiveEntity entity) LlamaEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) MooshroomEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) MuleEntity.createChild(ServerWorld world, PassiveEntity entity) OcelotEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) PandaEntity.createChild(ServerWorld world, PassiveEntity entity) ParrotEntity.createChild(ServerWorld world, PassiveEntity entity) abstract @Nullable PassiveEntityPassiveEntity.createChild(ServerWorld world, PassiveEntity entity) PigEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) PolarBearEntity.createChild(ServerWorld world, PassiveEntity entity) RabbitEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) SheepEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) StriderEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) TurtleEntity.createChild(ServerWorld world, PassiveEntity entity) VillagerEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) WanderingTraderEntity.createChild(ServerWorld world, PassiveEntity entity) WolfEntity.createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) booleanAllayEntity.JukeboxEventListener.listen(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.MerchantEntity.moveToWorld(ServerWorld destination) Moves this entity to another world.voidMooshroomEntity.onStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.voidPigEntity.onStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.voidTurtleEntity.onStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.voidVillagerEntity.onStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.voidVillagerEntity.reinitializeBrain(ServerWorld world) protected voidCamelBrain.CamelWalkTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidCamelBrain.SitOrStandTask.run(ServerWorld serverWorld, CamelEntity camelEntity, long long2) protected booleanCamelBrain.SitOrStandTask.shouldRun(ServerWorld serverWorld, CamelEntity camelEntity) voidVillagerEntity.summonGolem(ServerWorld world, long time, int requiredCount) voidVillagerEntity.talkWithVillager(ServerWorld world, VillagerEntity villager, long time) Method parameters in net.minecraft.entity.passive with type arguments of type ServerWorldModifier and TypeMethodDescriptionvoidAllayEntity.updateEventHandler(BiConsumer<EntityGameEventHandler<?>, ServerWorld> callback) Called when the entity is loaded to register game event handlers. -
Uses of ServerWorld in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type ServerWorldModifier and TypeMethodDescriptionPlayerEntity.findRespawnPosition(ServerWorld world, BlockPos pos, float angle, boolean forced, boolean alive) Finds the precise respawn position from aBlockPosin a world.booleanPlayerEntity.onKilledOther(ServerWorld world, LivingEntity other) Called when this entity killsother. -
Uses of ServerWorld in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type ServerWorldModifier and TypeMethodDescriptionEnderPearlEntity.moveToWorld(ServerWorld destination) Moves this entity to another world. -
Uses of ServerWorld in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return ServerWorld -
Uses of ServerWorld in net.minecraft.item
Methods in net.minecraft.item with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic voidFilledMapItem.fillExplorationMap(ServerWorld world, ItemStack map) SpawnEggItem.spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack) private voidEntityBucketItem.spawnEntity(ServerWorld world, ItemStack stack, BlockPos pos) -
Uses of ServerWorld in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as ServerWorldModifier and TypeFieldDescriptionprivate final ServerWorldLootContext.Builder.worldprivate final ServerWorldLootContext.worldMethods in net.minecraft.loot.context that return ServerWorldConstructors in net.minecraft.loot.context with parameters of type ServerWorldModifierConstructorDescriptionBuilder(ServerWorld world) (package private)LootContext(Random random, float luck, ServerWorld world, Function<Identifier, LootTable> tableGetter, Function<Identifier, LootCondition> conditionGetter, Map<LootContextParameter<?>, Object> parameters, Map<Identifier, LootContext.Dropper> drops) -
Uses of ServerWorld in net.minecraft.network
Methods in net.minecraft.network with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic <T extends PacketListener>
voidNetworkThreadUtils.forceMainThread(Packet<T> packet, T listener, ServerWorld world) -
Uses of ServerWorld in net.minecraft.network.packet.c2s.play
Methods in net.minecraft.network.packet.c2s.play with parameters of type ServerWorldModifier and TypeMethodDescriptionPlayerInteractEntityC2SPacket.getEntity(ServerWorld world) SpectatorTeleportC2SPacket.getTarget(ServerWorld world) -
Uses of ServerWorld in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type ServerWorldModifier and TypeMethodDescriptionbooleanBlockPredicate.test(ServerWorld world, BlockPos pos) booleanFluidPredicate.test(ServerWorld world, BlockPos pos) booleanLightPredicate.test(ServerWorld world, BlockPos pos) -
Uses of ServerWorld in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type ServerWorldModifier and TypeMethodDescriptionbooleanDamageSourcePredicate.test(ServerWorld world, Vec3d pos, DamageSource damageSource) booleanbooleanFishingHookPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanLightningBoltPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanLocationPredicate.test(ServerWorld world, double x, double y, double z) booleanPlayerPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanSlimePredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) booleanTypeSpecificPredicate.test(Entity entity, ServerWorld world, @Nullable Vec3d pos) -
Uses of ServerWorld in net.minecraft.server
Fields in net.minecraft.server with type parameters of type ServerWorldModifier and TypeFieldDescriptionprivate final Map<RegistryKey<World>,ServerWorld> MinecraftServer.worldsMethods in net.minecraft.server that return ServerWorldModifier and TypeMethodDescriptionfinal ServerWorldMinecraftServer.getOverworld()MinecraftServer.getWorld(RegistryKey<World> key) Methods in net.minecraft.server that return types with arguments of type ServerWorldMethods in net.minecraft.server with parameters of type ServerWorldModifier and TypeMethodDescriptionintMinecraftServer.getSpawnRadius(@Nullable ServerWorld world) booleanMinecraftServer.isSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player) voidPlayerManager.sendWorldInfo(ServerPlayerEntity player, ServerWorld world) voidPlayerManager.setMainWorld(ServerWorld world) private static voidMinecraftServer.setupSpawn(ServerWorld world, ServerWorldProperties worldProperties, boolean bonusChest, boolean debugWorld) -
Uses of ServerWorld in net.minecraft.server.command
Fields in net.minecraft.server.command declared as ServerWorldModifier and TypeFieldDescriptionprivate final ServerWorldCloneCommand.DimensionalPos.dimensionThe field for thedimensionrecord component.private final ServerWorldServerCommandSource.worldprivate final ServerWorldTestCommand.Listener.worldMethods in net.minecraft.server.command that return ServerWorldModifier and TypeMethodDescriptionCloneCommand.DimensionalPos.dimension()Returns the value of thedimensionrecord component.ServerCommandSource.getWorld()Methods in net.minecraft.server.command with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate static voidTestCommand.beforeBatch(TestFunction testFunction, ServerWorld world) private static CloneCommand.DimensionalPosCloneCommand.createDimensionalPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ServerWorld world, String name) private static intTeleportCommand.execute(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable PosArgument rotation, @Nullable TeleportCommand.LookTarget facingLocation) SetBlockCommand.Filter.filter(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world) private static intTimeCommand.getDayTime(ServerWorld world) private static doubleSpreadPlayersCommand.getMinDistance(Collection<? extends Entity> entities, ServerWorld world, SpreadPlayersCommand.Pile[] piles, int maxY, boolean respectTeams) private static booleanExecuteCommand.isLoaded(ServerWorld world, BlockPos pos) (package private) static voidTestCommand.onCompletion(ServerWorld world, TestSet tests) private static voidTestCommand.run(ServerWorld world, BlockPos pos, @Nullable TestSet tests) private static voidTestCommand.sendMessage(ServerWorld world, String message, Formatting formatting) private static voidSpreadPlayersCommand.spread(Vec2f center, double spreadDistance, ServerWorld world, Random random, double minX, double minZ, double maxX, double maxZ, int maxY, SpreadPlayersCommand.Pile[] piles, boolean respectTeams) private static voidTeleportCommand.teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PositionFlag> movementFlags, float yaw, float pitch, @Nullable TeleportCommand.LookTarget facingLocation) private static OptionalIntExecuteCommand.testBlocksCondition(ServerWorld world, BlockPos start, BlockPos end, BlockPos destination, boolean masked) private static voidPlaceCommand.throwOnUnloadedPos(ServerWorld world, ChunkPos pos1, ChunkPos pos2) ServerCommandSource.withWorld(ServerWorld world) Method parameters in net.minecraft.server.command with type arguments of type ServerWorldModifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> CloneCommand.createDestinationArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> sourceWorldGetter, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> targetWorldGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> CloneCommand.createSourceArgs(CommandRegistryAccess commandRegistryAccess, CloneCommand.ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, ServerWorld> worldGetter) Constructors in net.minecraft.server.command with parameters of type ServerWorldModifierConstructorDescription(package private)DimensionalPos(ServerWorld serverWorld, BlockPos blockPos) Listener(ServerWorld world, TestSet tests) ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity) protectedServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, @Nullable com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) -
Uses of ServerWorld in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type ServerWorldModifier and TypeMethodDescriptionbooleanMinecraftDedicatedServer.isSpawnProtected(ServerWorld world, BlockPos pos, PlayerEntity player) -
Uses of ServerWorld in net.minecraft.server.network
Fields in net.minecraft.server.network declared as ServerWorldModifier and TypeFieldDescriptionprivate final ServerWorldEntityTrackerEntry.worldprotected ServerWorldServerPlayerInteractionManager.worldMethods in net.minecraft.server.network that return ServerWorldMethods in net.minecraft.server.network with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic voidDebugInfoSender.addGameTestMarker(ServerWorld world, BlockPos pos, String message, int color, int duration) static voidDebugInfoSender.clearGameTestMarkers(ServerWorld world) private voidServerPlayerEntity.createEndSpawnPlatform(ServerWorld world, BlockPos centerPos) SpawnLocating.findOverworldSpawn(ServerWorld world, int x, int z) SpawnLocating.findServerSpawnPoint(ServerWorld world, ChunkPos chunkPos) private static StringDebugInfoSender.format(ServerWorld world, @Nullable Object object) protected Optional<BlockLocating.Rectangle>ServerPlayerEntity.getPortalRect(ServerWorld destWorld, BlockPos destPos, boolean destIsNether, WorldBorder worldBorder) Returns the portal rect atdestPos.protected @Nullable TeleportTargetServerPlayerEntity.getTeleportTarget(ServerWorld destination) Returns aTeleportTargetfor the entity based on its current and destination worlds, plus any nether portals that may be present.private voidServerPlayerEntity.moveToSpawn(ServerWorld world) ServerPlayerEntity.moveToWorld(ServerWorld destination) Moves this entity to another world.static voidDebugInfoSender.sendChunkWatchingChange(ServerWorld world, ChunkPos pos) private static voidDebugInfoSender.sendPoi(ServerWorld world, BlockPos pos) static voidDebugInfoSender.sendPoiAddition(ServerWorld world, BlockPos pos) static voidDebugInfoSender.sendPointOfInterest(ServerWorld world, BlockPos pos) static voidDebugInfoSender.sendPoiRemoval(ServerWorld world, BlockPos pos) static voidDebugInfoSender.sendRaids(ServerWorld server, Collection<Raid> raids) private static voidDebugInfoSender.sendToAll(ServerWorld world, PacketByteBuf buf, Identifier channel) voidServerPlayerEntity.setWorld(ServerWorld world) voidServerPlayerInteractionManager.setWorld(ServerWorld world) voidServerPlayerEntity.teleport(ServerWorld targetWorld, double x, double y, double z, float yaw, float pitch) booleanServerPlayerEntity.teleport(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch) Teleports the entity to the given position.private voidServerPlayerEntity.worldChanged(ServerWorld origin) Constructors in net.minecraft.server.network with parameters of type ServerWorldModifierConstructorDescriptionEntityTrackerEntry(ServerWorld world, Entity entity, int tickInterval, boolean alwaysUpdateVelocity, Consumer<Packet<?>> receiver) ServerPlayerEntity(MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile) -
Uses of ServerWorld in net.minecraft.server.world
Fields in net.minecraft.server.world declared as ServerWorldModifier and TypeFieldDescription(package private) final ServerWorldServerChunkManager.world(package private) final ServerWorldThreadedAnvilChunkStorage.worldMethods in net.minecraft.server.world that return ServerWorldMethods in net.minecraft.server.world with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate static voidThreadedAnvilChunkStorage.addEntitiesFromNbt(ServerWorld world, List<NbtCompound> nbt) static voidServerWorld.createEndSpawnPlatform(ServerWorld world) Constructors in net.minecraft.server.world with parameters of type ServerWorldModifierConstructorDescriptionServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, int simulationDistance, boolean dsync, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory) ThreadedAnvilChunkStorage(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory, int viewDistance, boolean dsync) -
Uses of ServerWorld in net.minecraft.structure
Methods in net.minecraft.structure with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic StructureContextStructureContext.from(ServerWorld world) -
Uses of ServerWorld in net.minecraft.structure.pool
Methods in net.minecraft.structure.pool with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic booleanStructurePoolBasedGenerator.generate(ServerWorld world, RegistryEntry<StructurePool> structurePool, Identifier id, int size, BlockPos pos, boolean keepJigsaws) -
Uses of ServerWorld in net.minecraft.test
Fields in net.minecraft.test declared as ServerWorldModifier and TypeFieldDescriptionprivate final ServerWorldGameTestState.world(package private) final ServerWorldTestRunner.worldFields in net.minecraft.test with type parameters of type ServerWorldModifier and TypeFieldDescriptionprivate static final Map<String,Consumer<ServerWorld>> TestFunctions.AFTER_BATCH_CONSUMERSprivate final @Nullable Consumer<ServerWorld>GameTestBatch.afterBatchConsumerprivate static final Map<String,Consumer<ServerWorld>> TestFunctions.BEFORE_BATCH_CONSUMERSprivate final @Nullable Consumer<ServerWorld>GameTestBatch.beforeBatchConsumerMethods in net.minecraft.test that return ServerWorldMethods in net.minecraft.test that return types with arguments of type ServerWorldModifier and TypeMethodDescriptionstatic @Nullable Consumer<ServerWorld>TestFunctions.getAfterBatchConsumer(String batchId) static @Nullable Consumer<ServerWorld>TestFunctions.getBeforeBatchConsumer(String batchId) Methods in net.minecraft.test with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate static voidStructureTestListener.addGameTestMarker(ServerWorld world, BlockPos pos, String message) static voidStructureTestUtil.clearArea(BlockBox area, int altitude, ServerWorld world) static voidTestUtil.clearDebugMarkers(ServerWorld world) static voidTestUtil.clearTests(ServerWorld world, BlockPos pos, TestManager testManager, int radius) private static StructureTemplateStructureTestUtil.createStructureTemplate(String templateId, ServerWorld world) static StructureBlockBlockEntityStructureTestUtil.createStructureTemplate(String templateName, BlockPos pos, BlockRotation rotation, int int2, ServerWorld world, boolean bool) static voidStructureTestUtil.createTestArea(String testName, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world) StructureTestUtil.findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world) StructureTestUtil.findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world) static Collection<BlockPos>StructureTestUtil.findStructureBlocks(BlockPos pos, int radius, ServerWorld world) voidGameTestBatch.finishBatch(ServerWorld world) private static voidStructureTestUtil.forceLoadNearbyChunks(BlockPos pos, ServerWorld world) private static booleanStructureTestUtil.isInStructureBounds(BlockPos structureBlockPos, BlockPos pos, ServerWorld world) static voidStructureTestUtil.placeStartButton(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world) private static StructureBlockBlockEntityStructureTestUtil.placeStructureTemplate(String name, BlockPos pos, BlockRotation rotation, ServerWorld world, boolean bool) private static voidStructureTestUtil.resetBlock(int altitude, BlockPos pos, ServerWorld world) private voidTestServer.runTestBatches(ServerWorld world) static Collection<GameTestState>TestUtil.runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) static Collection<GameTestState>TestUtil.runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) protected static voidStructureTestListener.sendMessageToAllPlayers(ServerWorld world, Formatting formatting, String message) voidGameTestBatch.startBatch(ServerWorld world) Method parameters in net.minecraft.test with type arguments of type ServerWorldModifier and TypeMethodDescriptionprivate static <T extends Annotation>
voidTestFunctions.registerBatchConsumers(Method method, Class<T> clazz, Function<T, String> batchIdFunction, Map<String, Consumer<ServerWorld>> batchConsumerMap) Constructors in net.minecraft.test with parameters of type ServerWorldModifierConstructorDescriptionGameTestState(TestFunction testFunction, BlockRotation rotation, ServerWorld world) TestRunner(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) Constructor parameters in net.minecraft.test with type arguments of type ServerWorldModifierConstructorDescriptionGameTestBatch(String id, Collection<TestFunction> testFunctions, @Nullable Consumer<ServerWorld> beforeBatchConsumer, @Nullable Consumer<ServerWorld> afterBatchConsumer) -
Uses of ServerWorld in net.minecraft.util.math
Fields in net.minecraft.util.math declared as ServerWorldMethods in net.minecraft.util.math that return ServerWorldConstructors in net.minecraft.util.math with parameters of type ServerWorld -
Uses of ServerWorld in net.minecraft.village
Methods in net.minecraft.village with parameters of type ServerWorldModifier and TypeMethodDescriptionZombieSiegeManager.getSpawnVector(ServerWorld world, BlockPos pos) private booleanZombieSiegeManager.spawn(ServerWorld world) intZombieSiegeManager.spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.private voidZombieSiegeManager.trySpawnZombie(ServerWorld world) -
Uses of ServerWorld in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as ServerWorldModifier and TypeFieldDescriptionprivate final ServerWorldRaid.worldprivate final ServerWorldRaidManager.worldMethods in net.minecraft.village.raid with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic RaidManagerRaidManager.fromNbt(ServerWorld world, NbtCompound nbt) private RaidRaidManager.getOrCreateRaid(ServerWorld world, BlockPos pos) Constructors in net.minecraft.village.raid with parameters of type ServerWorldModifierConstructorDescriptionRaid(int id, ServerWorld world, BlockPos pos) Raid(ServerWorld world, NbtCompound nbt) RaidManager(ServerWorld world) -
Uses of ServerWorld in net.minecraft.world
Fields in net.minecraft.world declared as ServerWorldModifier and TypeFieldDescriptionprivate final ServerWorldChunkRegion.worldprivate final ServerWorldPortalForcer.worldMethods in net.minecraft.world that return ServerWorldModifier and TypeMethodDescriptionabstract ServerWorldCommandBlockExecutor.getWorld()ChunkRegion.toServerWorld()Deprecated.ServerWorldAccess.toServerWorld()Methods in net.minecraft.world with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate static booleanSpawnHelper.canSpawn(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings.SpawnEntry spawnEntry, BlockPos.Mutable pos, double squaredDistance) private static booleanSpawnHelper.containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos) SpawnHelper.createMob(ServerWorld world, EntityType<?> type) static ProtoChunkChunkSerializer.deserialize(ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt) private static WorldChunk.EntityLoaderChunkSerializer.getEntityLoadingCallback(ServerWorld world, NbtCompound nbt) private static Pool<SpawnSettings.SpawnEntry>SpawnHelper.getSpawnEntries(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) private static booleanSpawnHelper.isAcceptableSpawnPosition(ServerWorld world, Chunk chunk, BlockPos.Mutable pos, double squaredDistance) private static booleanSpawnHelper.isValidSpawn(ServerWorld world, MobEntity entity, double squaredDistance) private static Optional<SpawnSettings.SpawnEntry>SpawnHelper.pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos) static NbtCompoundChunkSerializer.serialize(ServerWorld world, Chunk chunk) private static voidChunkSerializer.serializeTicks(ServerWorld world, NbtCompound nbt, Chunk.TickSchedulers tickSchedulers) voidMobSpawnerLogic.serverTick(ServerWorld world, BlockPos pos) static booleanSpawnHelper.shouldUseNetherFortressSpawns(BlockPos pos, ServerWorld world, SpawnGroup spawnGroup, StructureAccessor structureAccessor) static voidSpawnHelper.spawn(ServerWorld world, WorldChunk chunk, SpawnHelper.Info info, boolean spawnAnimals, boolean spawnMonsters, boolean rareSpawn) intWanderingTraderManager.spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, BlockPos pos) static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper.Checker checker, SpawnHelper.Runner runner) static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, WorldChunk chunk, SpawnHelper.Checker checker, SpawnHelper.Runner runner) private voidWanderingTraderManager.spawnLlama(ServerWorld world, WanderingTraderEntity wanderingTrader, int range) private booleanWanderingTraderManager.trySpawn(ServerWorld world) Constructors in net.minecraft.world with parameters of type ServerWorldModifierConstructorDescriptionChunkRegion(ServerWorld world, List<Chunk> chunks, ChunkStatus status, int placementRadius) PortalForcer(ServerWorld world) -
Uses of ServerWorld in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type ServerWorldModifier and TypeMethodDescriptionvoidWorldChunk.addChunkTickSchedulers(ServerWorld world) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork(ChunkStatus targetStatus, ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) voidChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator chunkGenerator, List<Chunk> chunks, Chunk chunk) voidWorldChunk.removeChunkTickSchedulers(ServerWorld world) private <T extends BlockEntity>
voidWorldChunk.removeGameEventListener(T blockEntity, ServerWorld world) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask(Executor executor, ServerWorld world, ChunkGenerator generator, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> ChunkStatus.runLoadTask(ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) private <T extends BlockEntity>
voidWorldChunk.updateGameEventListener(T blockEntity, ServerWorld world) Constructors in net.minecraft.world.chunk with parameters of type ServerWorldModifierConstructorDescriptionWorldChunk(ServerWorld world, ProtoChunk protoChunk, @Nullable WorldChunk.EntityLoader entityLoader) -
Uses of ServerWorld in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate static Vec3dNetherPortal.findOpenPosition(Vec3d fallback, ServerWorld world, Entity entity, EntityDimensions dimensions) static TeleportTargetNetherPortal.getNetherTeleportTarget(ServerWorld destination, BlockLocating.Rectangle portalRect, Direction.Axis portalAxis, Vec3d offset, Entity entity, Vec3d velocity, float yaw, float pitch) Determines aTeleportTargetbased on a specific portal. -
Uses of ServerWorld in net.minecraft.world.event.listener
Fields in net.minecraft.world.event.listener declared as ServerWorldModifier and TypeFieldDescriptionprivate final ServerWorldGameEventDispatchManager.worldprivate final ServerWorldSimpleGameEventDispatcher.worldMethods in net.minecraft.world.event.listener with parameters of type ServerWorldModifier and TypeMethodDescriptionvoidVibrationListener.Callback.accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.booleanVibrationListener.Callback.accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.SimpleGameEventDispatcher.dispatchTo(ServerWorld world, Vec3d listenerPos, GameEventListener listener) voidVibrationListener.forceListen(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Vibration.getEntity(ServerWorld world) Vibration.getOwner(ServerWorld world) booleanGameEventListener.listen(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.booleanVibrationListener.listen(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.voidEntityGameEventHandler.onEntityRemoval(ServerWorld world) voidEntityGameEventHandler.onEntitySetPos(ServerWorld world) voidEntityGameEventHandler.onEntitySetPosCallback(ServerWorld world) voidVibrationListener.trySelect(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos, Vec3d listenerPos) Constructors in net.minecraft.world.event.listener with parameters of type ServerWorldModifierConstructorDescription -
Uses of ServerWorld in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type ServerWorldModifier and TypeMethodDescriptionprivate @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Structure>> ChunkGenerator.locateConcentricRingsStructure(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Structure>> ChunkGenerator.locateStructure(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block. -
Uses of ServerWorld in net.minecraft.world.gen.feature.util
Fields in net.minecraft.world.gen.feature.util with type parameters of type ServerWorldModifier and TypeFieldDescriptionprivate static final LoadingCache<ServerWorld,FeatureDebugLogger.Features> FeatureDebugLogger.FEATURESMethods in net.minecraft.world.gen.feature.util with parameters of type ServerWorldModifier and TypeMethodDescriptionstatic voidFeatureDebugLogger.incrementFeatureCount(ServerWorld world, ConfiguredFeature<?, ?> configuredFeature, Optional<PlacedFeature> placedFeature) static voidFeatureDebugLogger.incrementTotalChunksCount(ServerWorld world) -
Uses of ServerWorld in net.minecraft.world.spawner
Methods in net.minecraft.world.spawner with parameters of type ServerWorldModifier and TypeMethodDescriptionintCatSpawner.spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.private intCatSpawner.spawn(BlockPos pos, ServerWorld world) Spawns a cat.intPatrolSpawner.spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.intPhantomSpawner.spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.intSpawner.spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.private intCatSpawner.spawnInHouse(ServerWorld world, BlockPos pos) Tries to spawn cats in villages.private intCatSpawner.spawnInSwampHut(ServerWorld world, BlockPos pos) Tries to spawn cats in swamp huts.private booleanPatrolSpawner.spawnPillager(ServerWorld world, BlockPos pos, Random random, boolean captain) -
Uses of ServerWorld in net.minecraft.world.storage
Fields in net.minecraft.world.storage declared as ServerWorldConstructors in net.minecraft.world.storage with parameters of type ServerWorldModifierConstructorDescriptionEntityChunkDataAccess(ServerWorld world, Path path, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, Executor executor)
AbstractBlock.AbstractBlockState.onStacksDropped(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.item.ItemStack, boolean)instead.