Uses of Class
net.minecraft.world.server.ServerWorld
Package
Description
-
Uses of ServerWorld in net.minecraft.advancements.criterion
Modifier and TypeMethodDescriptionboolean
BlockPredicate.matches
(ServerWorld p_226238_1_, BlockPos p_226238_2_) boolean
DamageSourcePredicate.matches
(ServerWorld p_217952_1_, Vector3d p_217952_2_, DamageSource p_217952_3_) boolean
EntityPredicate.matches
(ServerWorld p_217993_1_, Vector3d p_217993_2_, Entity p_217993_3_) boolean
FluidPredicate.matches
(ServerWorld p_226649_1_, BlockPos p_226649_2_) boolean
LightPredicate.matches
(ServerWorld p_226858_1_, BlockPos p_226858_2_) boolean
LocationPredicate.matches
(ServerWorld p_193452_1_, double p_193452_2_, double p_193452_4_, double p_193452_6_) boolean
LocationPredicate.matches
(ServerWorld p_193453_1_, float p_193453_2_, float p_193453_3_, float p_193453_4_) boolean
NetherTravelTrigger.Instance.matches
(ServerWorld p_193206_1_, Vector3d p_193206_2_, double p_193206_3_, double p_193206_5_, double p_193206_7_) boolean
PlacedBlockTrigger.Instance.matches
(BlockState p_193210_1_, BlockPos p_193210_2_, ServerWorld p_193210_3_, ItemStack p_193210_4_) boolean
PositionTrigger.Instance.matches
(ServerWorld p_193204_1_, double p_193204_2_, double p_193204_4_, double p_193204_6_) boolean
RightClickBlockWithItemTrigger.Instance.matches
(BlockState p_226700_1_, ServerWorld p_226700_2_, BlockPos p_226700_3_, ItemStack p_226700_4_) -
Uses of ServerWorld in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
SaplingBlock.advanceTree
(ServerWorld p_226942_1_, BlockPos p_226942_2_, BlockState p_226942_3_, Random p_226942_4_) static PortalInfo
PortalSize.createPortalInfo
(ServerWorld p_242963_0_, TeleportationRepositioner.Result p_242963_1_, Direction.Axis p_242963_2_, Vector3d p_242963_3_, EntitySize p_242963_4_, Vector3d p_242963_5_, float p_242963_6_, float p_242963_7_) protected void
DispenserBlock.dispenseFrom
(ServerWorld p_176439_1_, BlockPos p_176439_2_) protected void
DropperBlock.dispenseFrom
(ServerWorld p_176439_1_, BlockPos p_176439_2_) Block.getDrops
(BlockState p_220070_0_, ServerWorld p_220070_1_, BlockPos p_220070_2_, TileEntity p_220070_3_) Block.getDrops
(BlockState p_220077_0_, ServerWorld p_220077_1_, BlockPos p_220077_2_, TileEntity p_220077_3_, Entity p_220077_4_, ItemStack p_220077_5_) boolean
MushroomBlock.growMushroom
(ServerWorld p_226940_1_, BlockPos p_226940_2_, BlockState p_226940_3_, Random p_226940_4_) static BlockState
ComposterBlock.insertItem
(BlockState p_235486_0_, ServerWorld p_235486_1_, ItemStack p_235486_2_, BlockPos p_235486_3_) void
AbstractBodyPlantBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
AbstractTopPlantBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
BambooBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
BambooSaplingBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
CocoaBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
CropsBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
FungusBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
GrassBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
IGrowable.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
MushroomBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
NetherrackBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
NyliumBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
SaplingBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
SeaGrassBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
SeaPickleBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
StemBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
SweetBerryBushBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
TallFlowerBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
TallGrassBlock.performBonemeal
(ServerWorld p_225535_1_, Random p_225535_2_, BlockPos p_225535_3_, BlockState p_225535_4_) void
Block.popExperience
(ServerWorld p_180637_1_, BlockPos p_180637_2_, int p_180637_3_) void
AbstractBlock.AbstractBlockState.randomTick
(ServerWorld p_227034_1_, BlockPos p_227034_2_, Random p_227034_3_) void
AbstractBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) Deprecated.void
AbstractTopPlantBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
BambooBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
BambooSaplingBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
BeetrootBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
CactusBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
ChorusFlowerBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
CocoaBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
CropsBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
FarmlandBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
FlowingFluidBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
FrostedIceBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
IceBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
LeavesBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
MagmaBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
MushroomBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
NetherPortalBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
NetherWartBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
NyliumBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
RedstoneOreBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
SaplingBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
SnowBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
SpreadableSnowyDirtBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
StairsBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
StemBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
SugarCaneBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
SweetBerryBushBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
TurtleEggBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
VineBlock.randomTick
(BlockState p_225542_1_, ServerWorld p_225542_2_, BlockPos p_225542_3_, Random p_225542_4_) void
AbstractBlock.AbstractBlockState.spawnAfterBreak
(ServerWorld p_215706_1_, BlockPos p_215706_2_, ItemStack p_215706_3_) void
AbstractBlock.spawnAfterBreak
(BlockState p_220062_1_, ServerWorld p_220062_2_, BlockPos p_220062_3_, ItemStack p_220062_4_) Deprecated.void
OreBlock.spawnAfterBreak
(BlockState p_220062_1_, ServerWorld p_220062_2_, BlockPos p_220062_3_, ItemStack p_220062_4_) void
RedstoneOreBlock.spawnAfterBreak
(BlockState p_220062_1_, ServerWorld p_220062_2_, BlockPos p_220062_3_, ItemStack p_220062_4_) void
SilverfishBlock.spawnAfterBreak
(BlockState p_220062_1_, ServerWorld p_220062_2_, BlockPos p_220062_3_, ItemStack p_220062_4_) void
SpawnerBlock.spawnAfterBreak
(BlockState p_220062_1_, ServerWorld p_220062_2_, BlockPos p_220062_3_, ItemStack p_220062_4_) private void
SilverfishBlock.spawnInfestation
(ServerWorld p_235505_1_, BlockPos p_235505_2_) void
AbstractBlock.AbstractBlockState.tick
(ServerWorld p_227033_1_, BlockPos p_227033_2_, Random p_227033_3_) void
AbstractBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) Deprecated.void
AbstractButtonBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
AbstractPlantBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
AbstractPressurePlateBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
BambooBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
BarrelBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
BubbleColumnBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
CactusBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
ChorusFlowerBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
ChorusPlantBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
CommandBlockBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
ComparatorBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
ComposterBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
CoralBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
CoralFinBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
CoralPlantBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
CoralWallFanBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
DetectorRailBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
DispenserBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
FallingBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
FarmlandBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
FireBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
FrostedIceBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
GrassPathBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
LeavesBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
LecternBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
MagmaBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
ObserverBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
RedstoneDiodeBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
RedstoneLampBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
RedstoneTorchBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
ScaffoldingBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
SoulSandBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
StairsBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
SugarCaneBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
TargetBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
TripWireBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) void
TripWireHookBlock.tick
(BlockState p_225534_1_, ServerWorld p_225534_2_, BlockPos p_225534_3_, Random p_225534_4_) private void
StructureBlock.trigger
(ServerWorld p_242679_1_, StructureBlockTileEntity p_242679_2_) -
Uses of ServerWorld in net.minecraft.block.trees
Modifier and TypeMethodDescriptionboolean
BigTree.growTree
(ServerWorld p_230339_1_, ChunkGenerator p_230339_2_, BlockPos p_230339_3_, BlockState p_230339_4_, Random p_230339_5_) boolean
Tree.growTree
(ServerWorld p_230339_1_, ChunkGenerator p_230339_2_, BlockPos p_230339_3_, BlockState p_230339_4_, Random p_230339_5_) boolean
BigTree.placeMega
(ServerWorld p_235678_1_, ChunkGenerator p_235678_2_, BlockPos p_235678_3_, BlockState p_235678_4_, Random p_235678_5_, int p_235678_6_, int p_235678_7_) -
Uses of ServerWorld in net.minecraft.client.gui.overlay
-
Uses of ServerWorld in net.minecraft.command
ModifierConstructorDescriptionCommandSource
(ICommandSource p_i49552_1_, Vector3d p_i49552_2_, Vector2f p_i49552_3_, ServerWorld p_i49552_4_, int p_i49552_5_, String p_i49552_6_, ITextComponent p_i49552_7_, MinecraftServer p_i49552_8_, Entity p_i49552_9_) protected
CommandSource
(ICommandSource p_i49553_1_, Vector3d p_i49553_2_, Vector2f p_i49553_3_, ServerWorld p_i49553_4_, int p_i49553_5_, String p_i49553_6_, ITextComponent p_i49553_7_, MinecraftServer p_i49553_8_, Entity p_i49553_9_, boolean p_i49553_10_, com.mojang.brigadier.ResultConsumer<CommandSource> p_i49553_11_, EntityAnchorArgument.Type p_i49553_12_) -
Uses of ServerWorld in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionstatic ServerWorld
DimensionArgument.getDimension
(com.mojang.brigadier.context.CommandContext<CommandSource> p_212592_0_, String p_212592_1_) Modifier and TypeMethodDescriptionprivate void
EntitySelector.addEntities
(List<Entity> p_197348_1_, ServerWorld p_197348_2_, Vector3d p_197348_3_, Predicate<Entity> p_197348_4_) boolean
BlockStateInput.place
(ServerWorld p_197230_1_, BlockPos p_197230_2_, int p_197230_3_) -
Uses of ServerWorld in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static OptionalInt
ExecuteCommand.checkRegions
(ServerWorld p_198395_0_, BlockPos p_198395_1_, BlockPos p_198395_2_, BlockPos p_198395_3_, boolean p_198395_4_) SetBlockCommand.IFilter.filter
(MutableBoundingBox p_filter_1_, BlockPos p_filter_2_, BlockStateInput p_filter_3_, ServerWorld p_filter_4_) private static int
TimeCommand.getDayTime
(ServerWorld p_198833_0_) private static void
TeleportCommand.performTeleport
(CommandSource p_201127_0_, Entity p_201127_1_, ServerWorld p_201127_2_, double p_201127_3_, double p_201127_5_, double p_201127_7_, Set<SPlayerPositionLookPacket.Flags> p_201127_9_, float p_201127_10_, float p_201127_11_, TeleportCommand.Facing p_201127_12_) private static double
SpreadPlayersCommand.setPlayerPositions
(Collection<? extends Entity> p_241072_0_, ServerWorld p_241072_1_, SpreadPlayersCommand.Position[] p_241072_2_, int p_241072_3_, boolean p_241072_4_) private static void
SpreadPlayersCommand.spreadPositions
(Vector2f p_241071_0_, double p_241071_1_, ServerWorld p_241071_3_, Random p_241071_4_, double p_241071_5_, double p_241071_7_, double p_241071_9_, double p_241071_11_, int p_241071_13_, SpreadPlayersCommand.Position[] p_241071_14_, boolean p_241071_15_) private static int
TeleportCommand.teleportToPos
(CommandSource p_200559_0_, Collection<? extends Entity> p_200559_1_, ServerWorld p_200559_2_, ILocationArgument p_200559_3_, ILocationArgument p_200559_4_, TeleportCommand.Facing p_200559_5_) -
Uses of ServerWorld in net.minecraft.dispenser
Modifier and TypeMethodDescriptionprivate static boolean
BeehiveDispenseBehavior.tryShearBeehive
(ServerWorld p_239797_0_, BlockPos p_239797_1_) private static boolean
BeehiveDispenseBehavior.tryShearLivingEntity
(ServerWorld p_239798_0_, BlockPos p_239798_1_) -
Uses of ServerWorld in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.changeDimension
(ServerWorld p_241206_1_) Entity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) EntityType.create
(ServerWorld p_220349_1_, CompoundNBT p_220349_2_, ITextComponent p_220349_3_, PlayerEntity p_220349_4_, BlockPos p_220349_5_, SpawnReason p_220349_6_, boolean p_220349_7_, boolean p_220349_8_) protected PortalInfo
Entity.findDimensionEntryPoint
(ServerWorld p_241829_1_) abstract AgeableEntity
AgeableEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) protected Optional<TeleportationRepositioner.Result>
Entity.getExitPortal
(ServerWorld p_241830_1_, BlockPos p_241830_2_, boolean p_241830_3_) void
Entity.killed
(ServerWorld p_241847_1_, LivingEntity p_241847_2_) default void
IAngerable.readPersistentAngerSaveData
(ServerWorld p_241358_1_, CompoundNBT p_241358_2_) EntityType.spawn
(ServerWorld p_220331_1_, ItemStack p_220331_2_, PlayerEntity p_220331_3_, BlockPos p_220331_4_, SpawnReason p_220331_5_, boolean p_220331_6_, boolean p_220331_7_) EntityType.spawn
(ServerWorld p_220342_1_, CompoundNBT p_220342_2_, ITextComponent p_220342_3_, PlayerEntity p_220342_4_, BlockPos p_220342_5_, SpawnReason p_220342_6_, boolean p_220342_7_, boolean p_220342_8_) void
Entity.thunderHit
(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_) default void
IAngerable.updatePersistentAnger
(ServerWorld p_241359_1_, boolean p_241359_2_) -
Uses of ServerWorld in net.minecraft.entity.ai.brain
Modifier and TypeMethodDescriptionstatic SectionPos
BrainUtil.findSectionClosestToVillage
(ServerWorld p_220617_0_, SectionPos p_220617_1_, int p_220617_2_) private void
Brain.startEachNonRunningBehavior
(ServerWorld p_218218_1_, E p_218218_2_) void
Brain.stopAll
(ServerWorld p_218227_1_, E p_218227_2_) void
Brain.tick
(ServerWorld p_218210_1_, E p_218210_2_) private void
Brain.tickEachRunningBehavior
(ServerWorld p_218222_1_, E p_218222_2_) private void
Brain.tickSensors
(ServerWorld p_233711_1_, E p_233711_2_) -
Uses of ServerWorld in net.minecraft.entity.ai.brain.sensor
Modifier and TypeMethodDescriptionprotected void
DummySensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
GolemLastSeenSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
HoglinMobsSensor.doTick
(ServerWorld p_212872_1_, HoglinEntity p_212872_2_) protected void
HurtBySensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
MateSensor.doTick
(ServerWorld p_212872_1_, AgeableEntity p_212872_2_) protected void
NearestBedSensor.doTick
(ServerWorld p_212872_1_, MobEntity p_212872_2_) protected void
NearestLivingEntitiesSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
NearestPlayersSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
PiglinBruteSpecificSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
PiglinMobsSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
SecondaryPositionSensor.doTick
(ServerWorld p_212872_1_, VillagerEntity p_212872_2_) protected abstract void
Sensor.doTick
(ServerWorld p_212872_1_, E p_212872_2_) protected void
VillagerBabiesSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
VillagerHostilesSensor.doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) protected void
WantedItemsSensor.doTick
(ServerWorld p_212872_1_, MobEntity p_212872_2_) HoglinMobsSensor.findNearestRepellent
(ServerWorld p_234120_1_, HoglinEntity p_234120_2_) PiglinMobsSensor.findNearestRepellent
(ServerWorld p_234126_0_, LivingEntity p_234126_1_) private static boolean
PiglinMobsSensor.isValidRepellent
(ServerWorld p_241391_0_, BlockPos p_241391_1_) final void
Sensor.tick
(ServerWorld p_220973_1_, E p_220973_2_) -
Uses of ServerWorld in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidMultiTask.RunType.apply
(WeightedList<Task<? super E>> p_220630_1_, ServerWorld p_220630_2_, E p_220630_3_, long p_220630_4_) private static boolean
InteractWithDoorTask.areOtherMobsComingThroughDoor
(ServerWorld p_242295_0_, LivingEntity p_242295_1_, BlockPos p_242295_2_) private boolean
ExpirePOITask.bedIsOccupied
(ServerWorld p_223019_1_, BlockPos p_223019_2_, LivingEntity p_223019_3_) private Optional<VillagerEntity>
CreateBabyVillagerTask.breed
(ServerWorld p_242307_1_, VillagerEntity p_242307_2_, VillagerEntity p_242307_3_) private static int
GiveHeroGiftsTask.calculateTimeUntilNextGift
(ServerWorld p_220397_0_) protected boolean
AnimalBreedTask.canStillUse
(ServerWorld p_212834_1_, AnimalEntity p_212834_2_, long p_212834_3_) protected boolean
BoneMealCropsTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
CelebrateRaidVictoryTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
CreateBabyVillagerTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
DummyTask.canStillUse
(ServerWorld p_212834_1_, LivingEntity p_212834_2_, long p_212834_3_) protected boolean
FarmTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
FindPotentialJobTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
GiveHeroGiftsTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
JumpOnBedTask.canStillUse
(ServerWorld p_212834_1_, MobEntity p_212834_2_, long p_212834_3_) protected boolean
LookTask.canStillUse
(ServerWorld p_212834_1_, MobEntity p_212834_2_, long p_212834_3_) protected boolean
MultiTask.canStillUse
(ServerWorld p_212834_1_, E p_212834_2_, long p_212834_3_) protected boolean
PanicTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
RunSometimesTask.canStillUse
(ServerWorld p_212834_1_, E p_212834_2_, long p_212834_3_) protected boolean
ShareItemsTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
ShootTargetTask.canStillUse
(ServerWorld p_212834_1_, E p_212834_2_, long p_212834_3_) boolean
ShowWaresTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
SleepAtHomeTask.canStillUse
(ServerWorld p_212834_1_, LivingEntity p_212834_2_, long p_212834_3_) protected boolean
SpawnGolemTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
SupplementedTask.canStillUse
(ServerWorld p_212834_1_, E p_212834_2_, long p_212834_3_) protected boolean
SwimTask.canStillUse
(ServerWorld p_212834_1_, MobEntity p_212834_2_, long p_212834_3_) protected boolean
Task.canStillUse
(ServerWorld p_212834_1_, E p_212834_2_, long p_212834_3_) protected boolean
TradeTask.canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
WalkToTargetTask.canStillUse
(ServerWorld p_212834_1_, MobEntity p_212834_2_, long p_212834_3_) protected boolean
AnimalBreedTask.checkExtraStartConditions
(ServerWorld p_212832_1_, AnimalEntity p_212832_2_) protected boolean
AssignProfessionTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
AttackStrafingTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
AttackTargetTask.checkExtraStartConditions
(ServerWorld p_212832_1_, MobEntity p_212832_2_) protected boolean
BeginRaidTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
BoneMealCropsTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
CelebrateRaidVictoryTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
ChangeJobTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
ChildFollowNearestAdultTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
CongregateTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
CreateBabyVillagerTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
EndAttackTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
ExpirePOITask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
FarmTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
FindHidingPlaceDuringRaidTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
FindHidingPlaceTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) boolean
FindInteractionAndLookTargetTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
FindJobTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
FindPotentialJobTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
FindWalkTargetAfterRaidVictoryTask.checkExtraStartConditions
(ServerWorld p_212832_1_, CreatureEntity p_212832_2_) protected boolean
ForgetAttackTargetTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
ForgetRaidTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
GatherPOITask.checkExtraStartConditions
(ServerWorld p_212832_1_, CreatureEntity p_212832_2_) protected boolean
GiveHeroGiftsTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
GoOutsideAfterRaidTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
InteractWithDoorTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
InteractWithEntityTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
JumpOnBedTask.checkExtraStartConditions
(ServerWorld p_212832_1_, MobEntity p_212832_2_) protected boolean
LookAtEntityTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
MoveToSkylightTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
PickupWantedItemTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
PiglinIdleActivityTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
PredicateTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
RideEntityTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
RingBellTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
RunAwayTask.checkExtraStartConditions
(ServerWorld p_212832_1_, CreatureEntity p_212832_2_) protected boolean
RunSometimesTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
ShareItemsTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
ShootTargetTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) boolean
ShowWaresTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
SleepAtHomeTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
SpawnGolemTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
StopRidingEntityTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
SupplementedTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
SwimTask.checkExtraStartConditions
(ServerWorld p_212832_1_, MobEntity p_212832_2_) protected boolean
Task.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
TradeTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
WakeUpTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
WalkRandomlyInsideTask.checkExtraStartConditions
(ServerWorld p_212832_1_, CreatureEntity p_212832_2_) protected boolean
WalkToHouseTask.checkExtraStartConditions
(ServerWorld p_212832_1_, LivingEntity p_212832_2_) protected boolean
WalkToPOITask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
WalkToTargetTask.checkExtraStartConditions
(ServerWorld p_212832_1_, MobEntity p_212832_2_) protected boolean
WalkToVillagerBabiesTask.checkExtraStartConditions
(ServerWorld p_212832_1_, CreatureEntity p_212832_2_) protected boolean
WalkTowardsPosTask.checkExtraStartConditions
(ServerWorld p_212832_1_, CreatureEntity p_212832_2_) protected boolean
WalkTowardsRandomSecondaryPosTask.checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected boolean
WorkTask.checkExtraStartConditions
(ServerWorld p_212832_1_, CreatureEntity p_212832_2_) static void
InteractWithDoorTask.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerWorld p_242294_0_, LivingEntity p_242294_1_, PathPoint p_242294_2_, PathPoint p_242294_3_) private boolean
StayNearPointTask.closeEnough
(ServerWorld p_220547_1_, VillagerEntity p_220547_2_, GlobalPos p_220547_3_) private void
FarmerWorkTask.compostItems
(ServerWorld p_234016_1_, VillagerEntity p_234016_2_, GlobalPos p_234016_3_, BlockState p_234016_4_) final void
Task.doStop
(ServerWorld p_220380_1_, E p_220380_2_, long p_220380_3_) private void
WalkToVillagerBabiesTask.fleeFromChaser
(ServerWorld p_220508_1_, CreatureEntity p_220508_2_, LivingEntity p_220508_3_) private Vector3d
MoveToSkylightTask.getOutdoorPosition
(ServerWorld p_220493_1_, LivingEntity p_220493_2_) private BlockPos
FarmTask.getValidFarmland
(ServerWorld p_223517_1_) private void
CreateBabyVillagerTask.giveBedToChild
(ServerWorld p_220477_1_, VillagerEntity p_220477_2_, BlockPos p_220477_3_) static boolean
MoveToSkylightTask.hasNoBlocksAbove
(ServerWorld p_226306_0_, LivingEntity p_226306_1_, BlockPos p_226306_2_) private boolean
JumpOnBedTask.isBed
(ServerWorld p_220466_1_, BlockPos p_220466_2_) private static boolean
InteractWithDoorTask.isDoorTooFarAway
(ServerWorld p_242296_0_, LivingEntity p_242296_1_, GlobalPos p_242296_2_) private static boolean
InteractWithDoorTask.isMobComingThroughDoor
(ServerWorld p_242300_0_, LivingEntity p_242300_1_, BlockPos p_242300_2_) private boolean
JumpOnBedTask.nearBed
(ServerWorld p_220469_1_, MobEntity p_220469_2_) private boolean
JumpOnBedTask.onBedSurface
(ServerWorld p_220465_1_, MobEntity p_220465_2_) private boolean
JumpOnBedTask.onOrOverBed
(ServerWorld p_220468_1_, MobEntity p_220468_2_) BoneMealCropsTask.pickNextTarget
(ServerWorld p_233997_1_, VillagerEntity p_233997_2_) private boolean
ExpirePOITask.poiDoesntExist
(ServerWorld p_223020_1_, BlockPos p_223020_2_) private void
InteractWithDoorTask.rememberDoorToClose
(ServerWorld p_242301_1_, LivingEntity p_242301_2_, BlockPos p_242301_3_) private void
RunSometimesTask.resetTicksUntilNextStart
(ServerWorld p_233949_1_) private void
FarmerWorkTask.spawnComposterFillEffects
(ServerWorld p_242308_1_, BlockState p_242308_2_, BlockPos p_242308_3_, BlockState p_242308_4_) protected void
AnimalBreedTask.start
(ServerWorld p_212831_1_, AnimalEntity p_212831_2_, long p_212831_3_) protected void
AssignProfessionTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
AttackStrafingTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
AttackTargetTask.start
(ServerWorld p_212831_1_, MobEntity p_212831_2_, long p_212831_3_) protected void
BeginRaidTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
BoneMealCropsTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
ChangeJobTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
ChildFollowNearestAdultTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
ClearHurtTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
CongregateTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
CreateBabyVillagerTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
EndAttackTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
ExpireHidingTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
ExpirePOITask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
FarmTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
FindHidingPlaceTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) void
FindInteractionAndLookTargetTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
FindJobTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
FindNewAttackTargetTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
FindWalkTargetTask.start
(ServerWorld p_212831_1_, CreatureEntity p_212831_2_, long p_212831_3_) protected void
ForgetAttackTargetTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
ForgetRaidTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
GatherPOITask.start
(ServerWorld p_212831_1_, CreatureEntity p_212831_2_, long p_212831_3_) protected void
GetAngryTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
GiveHeroGiftsTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
HideFromRaidOnBellRingTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
HuntCelebrationTask.start
(ServerWorld p_212831_1_, MobEntity p_212831_2_, long p_212831_3_) protected void
InteractWithDoorTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
InteractWithEntityTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
JumpOnBedTask.start
(ServerWorld p_212831_1_, MobEntity p_212831_2_, long p_212831_3_) protected void
LookAtEntityTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
MoveToSkylightTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
MoveToTargetTask.start
(ServerWorld p_212831_1_, MobEntity p_212831_2_, long p_212831_3_) protected void
MultiTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
PanicTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
PickupWantedItemTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
PiglinIdleActivityTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
PredicateTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
RandomlyStopAttackingTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
RideEntityTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
RingBellTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
RunAwayTask.start
(ServerWorld p_212831_1_, CreatureEntity p_212831_2_, long p_212831_3_) protected void
RunSometimesTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
ShareItemsTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) void
ShowWaresTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
SleepAtHomeTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
SpawnGolemTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
StayNearPointTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
StopRidingEntityTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
SupplementedTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
SwitchVillagerJobTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
Task.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
TradeTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
UpdateActivityTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
WakeUpTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
WalkRandomlyInsideTask.start
(ServerWorld p_212831_1_, CreatureEntity p_212831_2_, long p_212831_3_) protected void
WalkRandomlyTask.start
(ServerWorld p_212831_1_, CreatureEntity p_212831_2_, long p_212831_3_) protected void
WalkToHouseTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
WalkToPOITask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
WalkToTargetTask.start
(ServerWorld p_212831_1_, MobEntity p_212831_2_, long p_212831_3_) protected void
WalkToVillagerBabiesTask.start
(ServerWorld p_212831_1_, CreatureEntity p_212831_2_, long p_212831_3_) protected void
WalkTowardsLookTargetTask.start
(ServerWorld p_212831_1_, LivingEntity p_212831_2_, long p_212831_3_) protected void
WalkTowardsPosTask.start
(ServerWorld p_212831_1_, CreatureEntity p_212831_2_, long p_212831_3_) protected void
WalkTowardsRandomSecondaryPosTask.start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
WorkTask.start
(ServerWorld p_212831_1_, CreatureEntity p_212831_2_, long p_212831_3_) protected void
AnimalBreedTask.stop
(ServerWorld p_212835_1_, AnimalEntity p_212835_2_, long p_212835_3_) protected void
BoneMealCropsTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
CelebrateRaidVictoryTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
CreateBabyVillagerTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
FarmTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
FindPotentialJobTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
GiveHeroGiftsTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
JumpOnBedTask.stop
(ServerWorld p_212835_1_, MobEntity p_212835_2_, long p_212835_3_) protected void
LookTask.stop
(ServerWorld p_212835_1_, MobEntity p_212835_2_, long p_212835_3_) protected void
MultiTask.stop
(ServerWorld p_212835_1_, E p_212835_2_, long p_212835_3_) protected void
RunSometimesTask.stop
(ServerWorld p_212835_1_, E p_212835_2_, long p_212835_3_) protected void
ShareItemsTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
ShootTargetTask.stop
(ServerWorld p_212835_1_, E p_212835_2_, long p_212835_3_) void
ShowWaresTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
SleepAtHomeTask.stop
(ServerWorld p_212835_1_, LivingEntity p_212835_2_, long p_212835_3_) protected void
SupplementedTask.stop
(ServerWorld p_212835_1_, E p_212835_2_, long p_212835_3_) protected void
Task.stop
(ServerWorld p_212835_1_, E p_212835_2_, long p_212835_3_) protected void
TradeTask.stop
(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_) protected void
WalkToTargetTask.stop
(ServerWorld p_212835_1_, MobEntity p_212835_2_, long p_212835_3_) CreateBabyVillagerTask.takeVacantBed
(ServerWorld p_220479_1_, VillagerEntity p_220479_2_) protected void
AnimalBreedTask.tick
(ServerWorld p_212833_1_, AnimalEntity p_212833_2_, long p_212833_3_) protected void
BoneMealCropsTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
CelebrateRaidVictoryTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
CreateBabyVillagerTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
FarmTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
FindPotentialJobTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
GiveHeroGiftsTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
JumpOnBedTask.tick
(ServerWorld p_212833_1_, MobEntity p_212833_2_, long p_212833_3_) protected void
LookTask.tick
(ServerWorld p_212833_1_, MobEntity p_212833_2_, long p_212833_3_) protected void
MultiTask.tick
(ServerWorld p_212833_1_, E p_212833_2_, long p_212833_3_) protected void
PanicTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
RunSometimesTask.tick
(ServerWorld p_212833_1_, E p_212833_2_, long p_212833_3_) protected void
ShareItemsTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
ShootTargetTask.tick
(ServerWorld p_212833_1_, E p_212833_2_, long p_212833_3_) void
ShowWaresTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
SupplementedTask.tick
(ServerWorld p_212833_1_, E p_212833_2_, long p_212833_3_) protected void
SwimTask.tick
(ServerWorld p_212833_1_, MobEntity p_212833_2_, long p_212833_3_) protected void
Task.tick
(ServerWorld p_212833_1_, E p_212833_2_, long p_212833_3_) protected void
TradeTask.tick
(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_) protected void
WalkToTargetTask.tick
(ServerWorld p_212833_1_, MobEntity p_212833_2_, long p_212833_3_) final void
Task.tickOrStop
(ServerWorld p_220377_1_, E p_220377_2_, long p_220377_3_) private boolean
JumpOnBedTask.tiredOfJumping
(ServerWorld p_220462_1_, MobEntity p_220462_2_) private boolean
StayNearPointTask.tiredOfTryingToFindTarget
(ServerWorld p_223017_1_, VillagerEntity p_223017_2_) private boolean
JumpOnBedTask.tiredOfWalking
(ServerWorld p_220464_1_, MobEntity p_220464_2_) final boolean
Task.tryStart
(ServerWorld p_220378_1_, E p_220378_2_, long p_220378_3_) private void
CreateBabyVillagerTask.tryToGiveBirth
(ServerWorld p_223521_1_, VillagerEntity p_223521_2_, VillagerEntity p_223521_3_) protected void
FarmerWorkTask.useWorkstation
(ServerWorld p_230251_1_, VillagerEntity p_230251_2_) protected void
SpawnGolemTask.useWorkstation
(ServerWorld p_230251_1_, VillagerEntity p_230251_2_) private boolean
BoneMealCropsTask.validPos
(BlockPos p_233996_1_, ServerWorld p_233996_2_) private boolean
FarmTask.validPos
(BlockPos p_223516_1_, ServerWorld p_223516_2_) private boolean
StayNearPointTask.wrongDimension
(ServerWorld p_242303_1_, GlobalPos p_242303_2_) private void
FindJobTask.yieldJobSite
(ServerWorld p_234022_1_, VillagerEntity p_234022_2_, VillagerEntity p_234022_3_, BlockPos p_234022_4_, boolean p_234022_5_) -
Uses of ServerWorld in net.minecraft.entity.item
Modifier and TypeMethodDescriptionEnderPearlEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) ItemEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) void
ArmorStandEntity.thunderHit
(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_) void
HangingEntity.thunderHit
(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_) -
Uses of ServerWorld in net.minecraft.entity.item.minecart
Modifier and TypeMethodDescriptionContainerMinecartEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) -
Uses of ServerWorld in net.minecraft.entity.merchant.villager
Modifier and TypeMethodDescriptionAbstractVillagerEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) VillagerEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) WanderingTraderEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) void
VillagerEntity.gossip
(ServerWorld p_242368_1_, VillagerEntity p_242368_2_, long p_242368_3_) void
VillagerEntity.refreshBrain
(ServerWorld p_213770_1_) void
VillagerEntity.spawnGolemIfNeeded
(ServerWorld p_242367_1_, long p_242367_2_, int p_242367_4_) void
VillagerEntity.thunderHit
(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_) private IronGolemEntity
VillagerEntity.trySpawnGolem
(ServerWorld p_213759_1_) -
Uses of ServerWorld in net.minecraft.entity.monster
Modifier and TypeMethodDescriptionprivate void
HoglinEntity.finishConversion
(ServerWorld p_234360_1_) private void
ZombieVillagerEntity.finishConversion
(ServerWorld p_213791_1_) HoglinEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) void
ZombieEntity.killed
(ServerWorld p_241847_1_, LivingEntity p_241847_2_) void
CreeperEntity.thunderHit
(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_) -
Uses of ServerWorld in net.minecraft.entity.monster.piglin
Modifier and TypeMethodDescriptionprotected boolean
AdmireItemTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
ForgetAdmiredItemTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
StartAdmiringItemTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected boolean
StartHuntTask.checkExtraStartConditions
(ServerWorld p_212832_1_, PiglinEntity p_212832_2_) protected boolean
StopReachingItemTask.checkExtraStartConditions
(ServerWorld p_212832_1_, E p_212832_2_) protected void
AbstractPiglinEntity.finishConversion
(ServerWorld p_234416_1_) protected void
PiglinEntity.finishConversion
(ServerWorld p_234416_1_) protected void
AdmireItemTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
FinishedHuntTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
ForgetAdmiredItemTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
StartAdmiringItemTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
StartHuntTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) protected void
StopReachingItemTask.start
(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_) -
Uses of ServerWorld in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionBeeEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) CatEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) ChickenEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) CowEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) FoxEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) MooshroomEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) OcelotEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) PandaEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) ParrotEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) PigEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) PolarBearEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) RabbitEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) SheepEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) StriderEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) TurtleEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) WolfEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) void
AnimalEntity.spawnChildFromBreeding
(ServerWorld p_234177_1_, AnimalEntity p_234177_2_) void
MooshroomEntity.thunderHit
(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_) void
PigEntity.thunderHit
(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_) void
TurtleEntity.thunderHit
(ServerWorld p_241841_1_, LightningBoltEntity p_241841_2_) -
Uses of ServerWorld in net.minecraft.entity.passive.horse
Modifier and TypeMethodDescriptionAbstractHorseEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) DonkeyEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) HorseEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) LlamaEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) MuleEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) SkeletonHorseEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) ZombieHorseEntity.getBreedOffspring
(ServerWorld p_241840_1_, AgeableEntity p_241840_2_) -
Uses of ServerWorld in net.minecraft.entity.player
Modifier and TypeMethodDescriptionServerPlayerEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) private void
ServerPlayerEntity.createEndPlatform
(ServerWorld p_242110_1_, BlockPos p_242110_2_) protected PortalInfo
ServerPlayerEntity.findDimensionEntryPoint
(ServerWorld p_241829_1_) PlayerEntity.findRespawnPositionAndUseSpawnBlock
(ServerWorld p_242374_0_, BlockPos p_242374_1_, float p_242374_2_, boolean p_242374_3_, boolean p_242374_4_) private void
ServerPlayerEntity.fudgeSpawnLocation
(ServerWorld p_205734_1_) protected Optional<TeleportationRepositioner.Result>
ServerPlayerEntity.getExitPortal
(ServerWorld p_241830_1_, BlockPos p_241830_2_, boolean p_241830_3_) protected static BlockPos
SpawnLocationHelper.getOverworldRespawnPos
(ServerWorld p_241092_0_, int p_241092_1_, int p_241092_2_, boolean p_241092_3_) static BlockPos
SpawnLocationHelper.getSpawnPosInChunk
(ServerWorld p_241094_0_, ChunkPos p_241094_1_, boolean p_241094_2_) void
PlayerEntity.killed
(ServerWorld p_241847_1_, LivingEntity p_241847_2_) void
ServerPlayerEntity.teleportTo
(ServerWorld p_200619_1_, double p_200619_2_, double p_200619_4_, double p_200619_6_, float p_200619_8_, float p_200619_9_) private void
ServerPlayerEntity.triggerDimensionChangeTriggers
(ServerWorld p_213846_1_) ModifierConstructorDescriptionServerPlayerEntity
(MinecraftServer p_i45285_1_, ServerWorld p_i45285_2_, com.mojang.authlib.GameProfile p_i45285_3_, PlayerInteractionManager p_i45285_4_) -
Uses of ServerWorld in net.minecraft.item
Modifier and TypeMethodDescriptionstatic void
FilledMapItem.renderBiomePreviewMap
(ServerWorld p_226642_0_, ItemStack p_226642_1_) private void
FishBucketItem.spawn
(ServerWorld p_205357_1_, ItemStack p_205357_2_, BlockPos p_205357_3_) SpawnEggItem.spawnOffspringFromSpawnEgg
(PlayerEntity p_234809_1_, MobEntity p_234809_2_, EntityType<? extends MobEntity> p_234809_3_, ServerWorld p_234809_4_, Vector3d p_234809_5_, ItemStack p_234809_6_) -
Uses of ServerWorld in net.minecraft.loot
Modifier and TypeFieldDescriptionprivate final ServerWorld
LootContext.Builder.level
private final ServerWorld
LootContext.level
ModifierConstructorDescriptionBuilder
(ServerWorld p_i46993_1_) private
LootContext
(Random p_i225885_1_, float p_i225885_2_, ServerWorld p_i225885_3_, Function<ResourceLocation, LootTable> p_i225885_4_, Function<ResourceLocation, ILootCondition> p_i225885_5_, Map<LootParameter<?>, Object> p_i225885_6_, Map<ResourceLocation, LootContext.IDynamicDropProvider> p_i225885_7_) private
LootContext
(Random rand, float luckIn, ServerWorld worldIn, Function<ResourceLocation, LootTable> lootTableManagerIn, Function<ResourceLocation, ILootCondition> p_i225885_5_, Map<LootParameter<?>, Object> parametersIn, Map<ResourceLocation, LootContext.IDynamicDropProvider> conditionsIn, ResourceLocation queriedLootTableId) -
Uses of ServerWorld in net.minecraft.network
Modifier and TypeMethodDescriptionstatic <T extends INetHandler>
voidPacketThreadUtil.ensureRunningOnSameThread
(IPacket<T> p_218796_0_, T p_218796_1_, ServerWorld p_218796_2_) static void
DebugPacketSender.sendGameTestAddMarker
(ServerWorld p_229752_0_, BlockPos p_229752_1_, String p_229752_2_, int p_229752_3_, int p_229752_4_) static void
DebugPacketSender.sendGameTestClearPacket
(ServerWorld p_229751_0_) private static void
DebugPacketSender.sendPacketToAllPlayers
(ServerWorld p_229753_0_, PacketBuffer p_229753_1_, ResourceLocation p_229753_2_) static void
DebugPacketSender.sendPoiAddedPacket
(ServerWorld p_218799_0_, BlockPos p_218799_1_) static void
DebugPacketSender.sendPoiPacketsForChunk
(ServerWorld p_218802_0_, ChunkPos p_218802_1_) static void
DebugPacketSender.sendPoiRemovedPacket
(ServerWorld p_218805_0_, BlockPos p_218805_1_) static void
DebugPacketSender.sendPoiTicketCountPacket
(ServerWorld p_218801_0_, BlockPos p_218801_1_) static void
DebugPacketSender.sendRaids
(ServerWorld p_222946_0_, Collection<Raid> p_222946_1_) private static void
DebugPacketSender.sendVillageSectionsPacket
(ServerWorld p_240840_0_, BlockPos p_240840_1_) -
Uses of ServerWorld in net.minecraft.network.play.client
-
Uses of ServerWorld in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<World>,
ServerWorld> MinecraftServer.levels
Modifier and TypeMethodDescriptionMinecraftServer.getLevel
(RegistryKey<World> p_71218_1_) private ServerWorld[]
MinecraftServer.getWorldArray()
final ServerWorld
MinecraftServer.overworld()
Modifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()
Deprecated.MinecraftServer.getAllLevels()
Modifier and TypeMethodDescriptionint
MinecraftServer.getSpawnRadius
(ServerWorld p_184108_1_) boolean
MinecraftServer.isUnderSpawnProtection
(ServerWorld p_175579_1_, BlockPos p_175579_2_, PlayerEntity p_175579_3_) private static void
MinecraftServer.setInitialSpawn
(ServerWorld p_240786_0_, IServerWorldInfo p_240786_1_, boolean p_240786_2_, boolean p_240786_3_, boolean p_240786_4_) -
Uses of ServerWorld in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionboolean
DedicatedServer.isUnderSpawnProtection
(ServerWorld p_175579_1_, BlockPos p_175579_2_, PlayerEntity p_175579_3_) -
Uses of ServerWorld in net.minecraft.server.management
Modifier and TypeMethodDescriptionvoid
PlayerList.sendLevelInfo
(ServerPlayerEntity p_72354_1_, ServerWorld p_72354_2_) void
PlayerInteractionManager.setLevel
(ServerWorld p_73080_1_) void
PlayerList.setLevel
(ServerWorld p_212504_1_) private void
PlayerList.updatePlayerGameMode
(ServerPlayerEntity p_72381_1_, ServerPlayerEntity p_72381_2_, ServerWorld p_72381_3_) ModifierConstructorDescriptionDemoPlayerInteractionManager
(ServerWorld p_i50709_1_) PlayerInteractionManager
(ServerWorld p_i50702_1_) -
Uses of ServerWorld in net.minecraft.test
Modifier and TypeFieldDescriptionprivate final ServerWorld
TestCommand.Callback.level
private final ServerWorld
TestExecutor.level
private final ServerWorld
TestTracker.level
Modifier and TypeFieldDescriptionprivate final Consumer<ServerWorld>
TestBatch.beforeBatchFunction
private static final Map<String,
Consumer<ServerWorld>> TestRegistry.beforeBatchFunctions
Modifier and TypeMethodDescriptionstatic Consumer<ServerWorld>
TestRegistry.getBeforeBatchFunction
(String p_229536_0_) Modifier and TypeMethodDescriptionstatic void
StructureHelper.addCommandBlockAndButtonToStartTest
(BlockPos p_240564_0_, BlockPos p_240564_1_, Rotation p_240564_2_, ServerWorld p_240564_3_) static void
TestUtils.clearAllTests
(ServerWorld p_229555_0_, BlockPos p_229555_1_, TestCollection p_229555_2_, int p_229555_3_) private static void
StructureHelper.clearBlock
(int p_229591_0_, BlockPos p_229591_1_, ServerWorld p_229591_2_) static void
TestUtils.clearMarkers
(ServerWorld p_229552_0_) static void
StructureHelper.clearSpaceForStructure
(MutableBoundingBox p_229595_0_, int p_229595_1_, ServerWorld p_229595_2_) static void
StructureHelper.createNewEmptyStructureBlock
(String p_229603_0_, BlockPos p_229603_1_, BlockPos p_229603_2_, Rotation p_229603_3_, ServerWorld p_229603_4_) private static StructureBlockTileEntity
StructureHelper.createStructureBlock
(String p_240566_0_, BlockPos p_240566_1_, Rotation p_240566_2_, ServerWorld p_240566_3_, boolean p_240566_4_) private static boolean
StructureHelper.doesStructureContain
(BlockPos p_229599_0_, BlockPos p_229599_1_, ServerWorld p_229599_2_) static BlockPos
StructureHelper.findNearestStructureBlock
(BlockPos p_229607_0_, int p_229607_1_, ServerWorld p_229607_2_) StructureHelper.findStructureBlockContainingPos
(BlockPos p_229596_0_, int p_229596_1_, ServerWorld p_229596_2_) static Collection<BlockPos>
StructureHelper.findStructureBlocks
(BlockPos p_229609_0_, int p_229609_1_, ServerWorld p_229609_2_) private static void
StructureHelper.forceLoadChunks
(BlockPos p_229608_0_, ServerWorld p_229608_1_) private static Template
StructureHelper.getStructureTemplate
(String p_229605_0_, ServerWorld p_229605_1_) void
TestBatch.runBeforeBatchFunction
(ServerWorld p_229464_1_) private static void
TestCommand.runTest
(ServerWorld p_229623_0_, BlockPos p_229623_1_, TestResultList p_229623_2_) static Collection<TestTracker>
TestUtils.runTestBatches
(Collection<TestBatch> p_240552_0_, BlockPos p_240552_1_, Rotation p_240552_2_, ServerWorld p_240552_3_, TestCollection p_240552_4_, int p_240552_5_) private static void
TestCommand.runTestPreparation
(TestFunctionInfo p_229622_0_, ServerWorld p_229622_1_) static Collection<TestTracker>
TestUtils.runTests
(Collection<TestFunctionInfo> p_240554_0_, BlockPos p_240554_1_, Rotation p_240554_2_, ServerWorld p_240554_3_, TestCollection p_240554_4_, int p_240554_5_) private static void
TestCommand.say
(ServerWorld p_229624_0_, String p_229624_1_, TextFormatting p_229624_2_) private static void
TestUtils.say
(ServerWorld p_229556_0_, TextFormatting p_229556_1_, String p_229556_2_) private static void
TestUtils.showRedBox
(ServerWorld p_229554_0_, BlockPos p_229554_1_, String p_229554_2_) private static void
TestCommand.showTestSummaryIfAllDone
(ServerWorld p_229631_0_, TestResultList p_229631_1_) static StructureBlockTileEntity
StructureHelper.spawnStructure
(String p_240565_0_, BlockPos p_240565_1_, Rotation p_240565_2_, int p_240565_3_, ServerWorld p_240565_4_, boolean p_240565_5_) ModifierConstructorDescriptionCallback
(ServerWorld p_i226073_1_, TestResultList p_i226073_2_) TestExecutor
(Collection<TestBatch> p_i232555_1_, BlockPos p_i232555_2_, Rotation p_i232555_3_, ServerWorld p_i232555_4_, TestCollection p_i232555_5_, int p_i232555_6_) TestTracker
(TestFunctionInfo p_i232556_1_, Rotation p_i232556_2_, ServerWorld p_i232556_3_) ModifierConstructorDescriptionTestBatch
(String p_i226065_1_, Collection<TestFunctionInfo> p_i226065_2_, Consumer<ServerWorld> p_i226065_3_) -
Uses of ServerWorld in net.minecraft.tileentity
Modifier and TypeMethodDescriptionprivate void
EndGatewayTileEntity.createExitPortal
(ServerWorld p_227016_1_, BlockPos p_227016_2_) private void
EndGatewayTileEntity.findExitPortal
(ServerWorld p_227015_1_) void
JigsawTileEntity.generate
(ServerWorld p_235665_1_, int p_235665_2_, boolean p_235665_3_) boolean
StructureBlockTileEntity.loadStructure
(ServerWorld p_242687_1_) boolean
StructureBlockTileEntity.loadStructure
(ServerWorld p_242688_1_, boolean p_242688_2_) boolean
StructureBlockTileEntity.loadStructure
(ServerWorld p_242689_1_, boolean p_242689_2_, Template p_242689_3_) -
Uses of ServerWorld in net.minecraft.village
Modifier and TypeMethodDescriptionprivate Vector3d
VillageSiege.findRandomSpawnPos
(ServerWorld p_225476_1_, BlockPos p_225476_2_) int
VillageSiege.tick
(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_) private void
VillageSiege.trySpawn
(ServerWorld p_75530_1_) private boolean
VillageSiege.tryToSetupSiege
(ServerWorld p_75529_1_) -
Uses of ServerWorld in net.minecraft.world
Modifier and TypeFieldDescriptionprotected final ServerWorld
Teleporter.level
private final ServerWorld
TrackedEntity.level
ModifierConstructorDescriptionTeleporter
(ServerWorld p_i1963_1_) TrackedEntity
(ServerWorld p_i50704_1_, Entity p_i50704_2_, int p_i50704_3_, boolean p_i50704_4_, Consumer<IPacket<?>> p_i50704_5_) -
Uses of ServerWorld in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<IChunk,
ChunkHolder.IChunkLoadingError>> ChunkStatus.IGenerationWorker.doWork
(ChunkStatus p_doWork_1_, ServerWorld p_doWork_2_, ChunkGenerator p_doWork_3_, TemplateManager p_doWork_4_, ServerWorldLightManager p_doWork_5_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_doWork_6_, List<IChunk> p_doWork_7_, IChunk p_doWork_8_) CompletableFuture<com.mojang.datafixers.util.Either<IChunk,
ChunkHolder.IChunkLoadingError>> ChunkStatus.ILoadingWorker.doWork
(ChunkStatus p_doWork_1_, ServerWorld p_doWork_2_, TemplateManager p_doWork_3_, ServerWorldLightManager p_doWork_4_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_doWork_5_, IChunk p_doWork_6_) default CompletableFuture<com.mojang.datafixers.util.Either<IChunk,
ChunkHolder.IChunkLoadingError>> ChunkStatus.ISelectiveWorker.doWork
(ChunkStatus p_doWork_1_, ServerWorld p_doWork_2_, ChunkGenerator p_doWork_3_, TemplateManager p_doWork_4_, ServerWorldLightManager p_doWork_5_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_doWork_6_, List<IChunk> p_doWork_7_, IChunk p_doWork_8_) void
ChunkStatus.ISelectiveWorker.doWork
(ServerWorld p_doWork_1_, ChunkGenerator p_doWork_2_, List<IChunk> p_doWork_3_, IChunk p_doWork_4_) CompletableFuture<com.mojang.datafixers.util.Either<IChunk,
ChunkHolder.IChunkLoadingError>> ChunkStatus.generate
(ServerWorld p_223198_1_, ChunkGenerator p_223198_2_, TemplateManager p_223198_3_, ServerWorldLightManager p_223198_4_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_223198_5_, List<IChunk> p_223198_6_) CompletableFuture<com.mojang.datafixers.util.Either<IChunk,
ChunkHolder.IChunkLoadingError>> ChunkStatus.load
(ServerWorld p_223201_1_, TemplateManager p_223201_2_, ServerWorldLightManager p_223201_3_, Function<IChunk, CompletableFuture<com.mojang.datafixers.util.Either<IChunk, ChunkHolder.IChunkLoadingError>>> p_223201_4_, IChunk p_223201_5_) void
Chunk.packTicks
(ServerWorld p_222880_1_) -
Uses of ServerWorld in net.minecraft.world.chunk.storage
Modifier and TypeMethodDescriptionstatic ChunkPrimer
ChunkSerializer.read
(ServerWorld p_222656_0_, TemplateManager p_222656_1_, PointOfInterestManager p_222656_2_, ChunkPos p_222656_3_, CompoundNBT p_222656_4_) static CompoundNBT
ChunkSerializer.write
(ServerWorld p_222645_0_, IChunk p_222645_1_) -
Uses of ServerWorld in net.minecraft.world.end
Modifier and TypeMethodDescriptionabstract void
DragonSpawnState.tick
(ServerWorld p_186079_1_, DragonFightManager p_186079_2_, List<EnderCrystalEntity> p_186079_3_, int p_186079_4_, BlockPos p_186079_5_) ModifierConstructorDescriptionDragonFightManager
(ServerWorld p_i231901_1_, long p_i231901_2_, CompoundNBT p_i231901_4_) -
Uses of ServerWorld in net.minecraft.world.gen
Modifier and TypeMethodDescriptionChunkGenerator.findNearestMapFeature
(ServerWorld p_235956_1_, Structure<?> p_235956_2_, BlockPos p_235956_3_, int p_235956_4_, boolean p_235956_5_) -
Uses of ServerWorld in net.minecraft.world.raid
Modifier and TypeFieldDescriptionprivate final ServerWorld
Raid.level
private final ServerWorld
RaidManager.level
Modifier and TypeMethodDescriptionprivate Raid
RaidManager.getOrCreateRaid
(ServerWorld p_215168_1_, BlockPos p_215168_2_) ModifierConstructorDescriptionRaid
(int p_i50144_1_, ServerWorld p_i50144_2_, BlockPos p_i50144_3_) Raid
(ServerWorld p_i50145_1_, CompoundNBT p_i50145_2_) RaidManager
(ServerWorld p_i50142_1_) -
Uses of ServerWorld in net.minecraft.world.server
Modifier and TypeFieldDescriptionprivate final ServerWorld
ChunkManager.level
final ServerWorld
ServerChunkProvider.level
private final ServerWorld
ServerTickList.level
Modifier and TypeMethodDescriptionstatic void
ServerWorld.makeObsidianPlatform
(ServerWorld p_241121_0_) ModifierConstructorDescriptionChunkManager
(ServerWorld p_i232602_1_, SaveFormat.LevelSave p_i232602_2_, com.mojang.datafixers.DataFixer p_i232602_3_, TemplateManager p_i232602_4_, Executor p_i232602_5_, ThreadTaskExecutor<Runnable> p_i232602_6_, IChunkLightProvider p_i232602_7_, ChunkGenerator p_i232602_8_, IChunkStatusListener p_i232602_9_, Supplier<DimensionSavedDataManager> p_i232602_10_, int p_i232602_11_, boolean p_i232602_12_) ServerChunkProvider
(ServerWorld p_i232603_1_, SaveFormat.LevelSave p_i232603_2_, com.mojang.datafixers.DataFixer p_i232603_3_, TemplateManager p_i232603_4_, Executor p_i232603_5_, ChunkGenerator p_i232603_6_, int p_i232603_7_, boolean p_i232603_8_, IChunkStatusListener p_i232603_9_, Supplier<DimensionSavedDataManager> p_i232603_10_) ServerTickList
(ServerWorld p_i231625_1_, Predicate<T> p_i231625_2_, Function<T, ResourceLocation> p_i231625_3_, Consumer<NextTickListEntry<T>> p_i231625_4_) -
Uses of ServerWorld in net.minecraft.world.spawner
Modifier and TypeMethodDescriptionprivate static boolean
WorldEntitySpawner.canSpawnMobAt
(ServerWorld p_234976_0_, StructureManager p_234976_1_, ChunkGenerator p_234976_2_, EntityClassification p_234976_3_, MobSpawnInfo.Spawners p_234976_4_, BlockPos p_234976_5_) private static MobEntity
WorldEntitySpawner.getMobForSpawn
(ServerWorld p_234973_0_, EntityType<?> p_234973_1_) private static MobSpawnInfo.Spawners
WorldEntitySpawner.getRandomSpawnMobAt
(ServerWorld p_234977_0_, StructureManager p_234977_1_, ChunkGenerator p_234977_2_, EntityClassification p_234977_3_, Random p_234977_4_, BlockPos p_234977_5_) private static boolean
WorldEntitySpawner.isRightDistanceToPlayerAndSpawnPoint
(ServerWorld p_234978_0_, IChunk p_234978_1_, BlockPos.Mutable p_234978_2_, double p_234978_3_) private static boolean
WorldEntitySpawner.isValidPositionForMob
(ServerWorld p_234974_0_, MobEntity p_234974_1_, double p_234974_2_) private static boolean
WorldEntitySpawner.isValidSpawnPostitionForType
(ServerWorld p_234975_0_, EntityClassification p_234975_1_, StructureManager p_234975_2_, ChunkGenerator p_234975_3_, MobSpawnInfo.Spawners p_234975_4_, BlockPos.Mutable p_234975_5_, double p_234975_6_) private static List<MobSpawnInfo.Spawners>
WorldEntitySpawner.mobsAt
(ServerWorld p_241463_0_, StructureManager p_241463_1_, ChunkGenerator p_241463_2_, EntityClassification p_241463_3_, BlockPos p_241463_4_, Biome p_241463_5_) private boolean
WanderingTraderSpawner.spawn
(ServerWorld p_234562_1_) private int
CatSpawner.spawnCat
(BlockPos p_221122_1_, ServerWorld p_221122_2_) static void
WorldEntitySpawner.spawnCategoryForChunk
(EntityClassification p_234967_0_, ServerWorld p_234967_1_, Chunk p_234967_2_, WorldEntitySpawner.IDensityCheck p_234967_3_, WorldEntitySpawner.IOnSpawnDensityAdder p_234967_4_) static void
WorldEntitySpawner.spawnCategoryForPosition
(EntityClassification p_234966_0_, ServerWorld p_234966_1_, IChunk p_234966_2_, BlockPos p_234966_3_, WorldEntitySpawner.IDensityCheck p_234966_4_, WorldEntitySpawner.IOnSpawnDensityAdder p_234966_5_) static void
WorldEntitySpawner.spawnForChunk
(ServerWorld p_234979_0_, Chunk p_234979_1_, WorldEntitySpawner.EntityDensityManager p_234979_2_, boolean p_234979_3_, boolean p_234979_4_, boolean p_234979_5_) private int
CatSpawner.spawnInHut
(ServerWorld p_221123_1_, BlockPos p_221123_2_) private int
CatSpawner.spawnInVillage
(ServerWorld p_221121_1_, BlockPos p_221121_2_) private boolean
PatrolSpawner.spawnPatrolMember
(ServerWorld p_222695_1_, BlockPos p_222695_2_, Random p_222695_3_, boolean p_222695_4_) int
CatSpawner.tick
(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_) int
ISpecialSpawner.tick
(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_) int
PatrolSpawner.tick
(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_) int
PhantomSpawner.tick
(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_) int
WanderingTraderSpawner.tick
(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_) private void
WanderingTraderSpawner.tryToSpawnLlamaFor
(ServerWorld p_242373_1_, WanderingTraderEntity p_242373_2_, int p_242373_3_) -
Uses of ServerWorld in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.addLandingEffects
(BlockState state1, ServerWorld worldserver, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IForgeBlockState.addLandingEffects
(ServerWorld worldserver, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle. -
Uses of ServerWorld in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionstatic FakePlayer
FakePlayerFactory.get
(ServerWorld world, com.mojang.authlib.GameProfile username) Get a fake player with a given username, Mods should either hold weak references to the return value, or listen for a WorldEvent.Unload and kill all references to prevent worlds staying in memory.static FakePlayer
FakePlayerFactory.getMinecraft
(ServerWorld world) default PortalInfo
ITeleporter.getPortalInfo
(Entity entity, ServerWorld destWorld, Function<ServerWorld, PortalInfo> defaultPortalInfo) Gets the PortalInfo.default Entity
ITeleporter.placeEntity
(Entity entity, ServerWorld currentWorld, ServerWorld destWorld, float yaw, Function<Boolean, Entity> repositionEntity) Called to handle placing the entity in the new world.default boolean
ITeleporter.playTeleportSound
(ServerPlayerEntity player, ServerWorld sourceWorld, ServerWorld destWorld) Called when vanilla wants to play the portal sound after teleporting.static void
FakePlayerFactory.unloadWorld
(ServerWorld world) Modifier and TypeMethodDescriptiondefault PortalInfo
ITeleporter.getPortalInfo
(Entity entity, ServerWorld destWorld, Function<ServerWorld, PortalInfo> defaultPortalInfo) Gets the PortalInfo. -
Uses of ServerWorld in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionstatic boolean
ForgeChunkManager.forceChunk
(ServerWorld world, String modId, UUID owner, int chunkX, int chunkZ, boolean add, boolean ticking) Forces a chunk to be loaded for the given mod with the "owner" of the ticket being a given UUID.static boolean
ForgeChunkManager.forceChunk
(ServerWorld world, String modId, Entity owner, int chunkX, int chunkZ, boolean add, boolean ticking) Forces a chunk to be loaded for the given mod with the "owner" of the ticket being the UUID of the given entity.static boolean
ForgeChunkManager.forceChunk
(ServerWorld world, String modId, BlockPos owner, int chunkX, int chunkZ, boolean add, boolean ticking) Forces a chunk to be loaded for the given mod with the "owner" of the ticket being a given block position.private static <T extends Comparable<? super T>>
booleanForgeChunkManager.forceChunk
(ServerWorld world, String modId, T owner, int chunkX, int chunkZ, boolean add, boolean ticking, TicketType<ForgeChunkManager.TicketOwner<T>> type, Function<ForcedChunksSaveData, ForgeChunkManager.TicketTracker<T>> ticketGetter) Forces a chunk to be loaded for the given mod with the given "owner".private static <T extends Comparable<? super T>>
voidForgeChunkManager.forceChunk
(ServerWorld world, ChunkPos pos, TicketType<ForgeChunkManager.TicketOwner<T>> type, ForgeChunkManager.TicketOwner<T> owner, boolean add, boolean ticking) Adds/Removes a ticket from the world's chunk provider with the proper levels to match the forced chunks.static boolean
ForgeChunkManager.hasForcedChunks
(ServerWorld world) Checks if a world has any forced chunks.static void
ForgeChunkManager.reinstatePersistentChunks
(ServerWorld world, ForcedChunksSaveData saveData) Reinstates forge's forced chunks when vanilla initially loads a world and reinstates their forced chunks.private static <T extends Comparable<? super T>>
voidForgeChunkManager.reinstatePersistentChunks
(ServerWorld world, TicketType<ForgeChunkManager.TicketOwner<T>> type, Map<ForgeChunkManager.TicketOwner<T>, it.unimi.dsi.fastutil.longs.LongSet> tickets, boolean ticking) Adds back any persistent forced chunks to the world's chunk provider.void
ForgeChunkManager.LoadingValidationCallback.validateTickets
(ServerWorld world, ForgeChunkManager.TicketHelper ticketHelper) Called back when tickets are about to be loaded and reinstated to allow mods to invalidate and remove specific tickets that may no longer be valid. -
Uses of ServerWorld in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.fireChunkWatch
(boolean wasLoaded, boolean load, ServerPlayerEntity entity, ChunkPos chunkpos, ServerWorld world) static void
ForgeEventFactory.fireChunkWatch
(boolean watch, ServerPlayerEntity entity, ChunkPos chunkpos, ServerWorld world) static long
ForgeEventFactory.onSleepFinished
(ServerWorld world, long newTime, long minTime) -
Uses of ServerWorld in net.minecraftforge.event.world
ModifierConstructorDescriptionChunkWatchEvent
(ServerPlayerEntity player, ChunkPos pos, ServerWorld world) SleepFinishedTimeEvent
(ServerWorld worldIn, long newTimeIn, long minTimeIn) UnWatch
(ServerPlayerEntity player, ChunkPos pos, ServerWorld world) Watch
(ServerPlayerEntity player, ChunkPos pos, ServerWorld world) -
Uses of ServerWorld in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionprivate static int
CommandGenerate.execute
(CommandSource source, BlockPos pos, int count, ServerWorld dim, int interval) private static int
CommandSetDimension.execute
(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, Collection<? extends Entity> entities, ServerWorld dim, BlockPos pos) Deprecated.private static int
CommandTps.sendTime
(CommandSource cs, ServerWorld dim) ModifierConstructorDescriptionChunkGenWorker
(CommandSource listener, BlockPos start, int total, ServerWorld dim, int interval)