Uses of Class
net.minecraft.server.level.ServerLevel
Package
Description
-
Uses of ServerLevel in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionboolean
BlockPredicate.matches
(ServerLevel p_17915_, BlockPos p_17916_) boolean
DamageSourcePredicate.matches
(ServerLevel p_25445_, Vec3 p_25446_, DamageSource p_25447_) boolean
DistanceTrigger.TriggerInstance.matches
(ServerLevel p_186189_, Vec3 p_186190_, Vec3 p_186191_) boolean
EntityPredicate.matches
(ServerLevel p_36608_, Vec3 p_36609_, Entity p_36610_) boolean
EntitySubPredicate.matches
(Entity p_218828_, ServerLevel p_218829_, Vec3 p_218830_) boolean
FishingHookPredicate.matches
(Entity p_219716_, ServerLevel p_219717_, Vec3 p_219718_) boolean
FluidPredicate.matches
(ServerLevel p_41105_, BlockPos p_41106_) boolean
ItemInteractWithBlockTrigger.TriggerInstance.matches
(BlockState p_220071_, ServerLevel p_220072_, BlockPos p_220073_, ItemStack p_220074_) boolean
LighthingBoltPredicate.matches
(Entity p_153247_, ServerLevel p_153248_, Vec3 p_153249_) boolean
LightPredicate.matches
(ServerLevel p_51342_, BlockPos p_51343_) boolean
LocationPredicate.matches
(ServerLevel p_52618_, double p_52619_, double p_52620_, double p_52621_) boolean
PlacedBlockTrigger.TriggerInstance.matches
(BlockState p_59508_, BlockPos p_59509_, ServerLevel p_59510_, ItemStack p_59511_) boolean
PlayerPredicate.matches
(Entity p_222484_, ServerLevel p_222485_, Vec3 p_222486_) boolean
SlimePredicate.matches
(Entity p_223423_, ServerLevel p_223424_, Vec3 p_223425_) -
Uses of ServerLevel in net.minecraft.client.gui.components
-
Uses of ServerLevel in net.minecraft.client.renderer.debug
Modifier and TypeMethodDescriptionboolean
GameEventListenerRenderer.TrackedListener.handleGameEvent
(ServerLevel p_234540_, GameEvent.Message p_234541_) -
Uses of ServerLevel in net.minecraft.commands
ModifierConstructorDescriptionCommandSourceStack
(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_) protected
CommandSourceStack
(CommandSource p_242362_, Vec3 p_242272_, Vec2 p_242166_, ServerLevel p_242273_, int p_242279_, String p_242187_, Component p_242467_, MinecraftServer p_242416_, Entity p_242300_, boolean p_242243_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_242375_, EntityAnchorArgument.Anchor p_242201_, CommandSigningContext p_242188_, TaskChainer p_242249_) -
Uses of ServerLevel in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic ServerLevel
DimensionArgument.getDimension
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_88809_, String p_88810_) -
Uses of ServerLevel in net.minecraft.commands.arguments.blocks
Modifier and TypeMethodDescriptionboolean
BlockInput.place
(ServerLevel p_114671_, BlockPos p_114672_, int p_114673_) boolean
BlockInput.test
(ServerLevel p_173524_, BlockPos p_173525_) -
Uses of ServerLevel in net.minecraft.commands.arguments.selector
Modifier and TypeMethodDescriptionprivate void
EntitySelector.addEntities
(List<Entity> p_121155_, ServerLevel p_121156_, Vec3 p_121157_, Predicate<Entity> p_121158_) -
Uses of ServerLevel in net.minecraft.core
-
Uses of ServerLevel in net.minecraft.core.dispenser
Modifier and TypeMethodDescriptionprivate static boolean
ShearsDispenseItemBehavior.tryShearBeehive
(ServerLevel p_123577_, BlockPos p_123578_) private static boolean
ShearsDispenseItemBehavior.tryShearLivingEntity
(ServerLevel p_123583_, BlockPos p_123584_) -
Uses of ServerLevel in net.minecraft.gametest.framework
Modifier and TypeFieldDescription(package private) final ServerLevel
GameTestBatchRunner.level
private final ServerLevel
GameTestInfo.level
private final ServerLevel
TestCommand.TestSummaryDisplayer.level
Modifier and TypeFieldDescriptionprivate static final Map<String,
Consumer<ServerLevel>> GameTestRegistry.AFTER_BATCH_FUNCTIONS
private final Consumer<ServerLevel>
GameTestBatch.afterBatchFunction
private static final Map<String,
Consumer<ServerLevel>> GameTestRegistry.BEFORE_BATCH_FUNCTIONS
private final Consumer<ServerLevel>
GameTestBatch.beforeBatchFunction
Modifier and TypeMethodDescriptionstatic Consumer<ServerLevel>
GameTestRegistry.getAfterBatchFunction
(String p_177518_) static Consumer<ServerLevel>
GameTestRegistry.getBeforeBatchFunction
(String p_127677_) Modifier and TypeMethodDescriptionstatic void
StructureUtils.addCommandBlockAndButtonToStartTest
(BlockPos p_127876_, BlockPos p_127877_, Rotation p_127878_, ServerLevel p_127879_) static void
GameTestRunner.clearAllTests
(ServerLevel p_127695_, BlockPos p_127696_, GameTestTicker p_127697_, int p_127698_) private static void
StructureUtils.clearBlock
(int p_127842_, BlockPos p_127843_, ServerLevel p_127844_) static void
GameTestRunner.clearMarkers
(ServerLevel p_127686_) static void
StructureUtils.clearSpaceForStructure
(BoundingBox p_127850_, int p_127851_, ServerLevel p_127852_) static void
StructureUtils.createNewEmptyStructureBlock
(String p_177765_, BlockPos p_177766_, Vec3i p_177767_, Rotation p_177768_, ServerLevel p_177769_) private static StructureBlockEntity
StructureUtils.createStructureBlock
(String p_127891_, BlockPos p_127892_, Rotation p_127893_, ServerLevel p_127894_, boolean p_127895_) private static boolean
StructureUtils.doesStructureContain
(BlockPos p_127868_, BlockPos p_127869_, ServerLevel p_127870_) static BlockPos
StructureUtils.findNearestStructureBlock
(BlockPos p_127907_, int p_127908_, ServerLevel p_127909_) StructureUtils.findStructureBlockContainingPos
(BlockPos p_127854_, int p_127855_, ServerLevel p_127856_) static Collection<BlockPos>
StructureUtils.findStructureBlocks
(BlockPos p_127911_, int p_127912_, ServerLevel p_127913_) private static void
StructureUtils.forceLoadChunks
(BlockPos p_127858_, ServerLevel p_127859_) private static StructureTemplate
StructureUtils.getStructureTemplate
(String p_127881_, ServerLevel p_127882_) void
GameTestBatch.runAfterBatchFunction
(ServerLevel p_177064_) void
GameTestBatch.runBeforeBatchFunction
(ServerLevel p_127548_) private static void
TestCommand.runTest
(ServerLevel p_127930_, BlockPos p_127931_, MultipleTestTracker p_127932_) static Collection<GameTestInfo>
GameTestRunner.runTestBatches
(Collection<GameTestBatch> p_127727_, BlockPos p_127728_, Rotation p_127729_, ServerLevel p_127730_, GameTestTicker p_127731_, int p_127732_) private static void
TestCommand.runTestPreparation
(TestFunction p_127994_, ServerLevel p_127995_) static Collection<GameTestInfo>
GameTestRunner.runTests
(Collection<TestFunction> p_127753_, BlockPos p_127754_, Rotation p_127755_, ServerLevel p_127756_, GameTestTicker p_127757_, int p_127758_) protected static void
ReportGameListener.say
(ServerLevel p_177701_, ChatFormatting p_177702_, String p_177703_) private static void
TestCommand.say
(ServerLevel p_127934_, String p_127935_, ChatFormatting p_127936_) private static void
ReportGameListener.showRedBox
(ServerLevel p_177697_, BlockPos p_177698_, String p_177699_) (package private) static void
TestCommand.showTestSummaryIfAllDone
(ServerLevel p_127997_, MultipleTestTracker p_127998_) static StructureBlockEntity
StructureUtils.spawnStructure
(String p_127884_, BlockPos p_127885_, Rotation p_127886_, int p_127887_, ServerLevel p_127888_, boolean p_127889_) private void
GameTestServer.startTests
(ServerLevel p_177625_) Modifier and TypeMethodDescriptionprivate static <T extends Annotation>
voidGameTestRegistry.registerBatchFunction
(Method p_177506_, Class<T> p_177507_, Function<T, String> p_177508_, Map<String, Consumer<ServerLevel>> p_177509_) ModifierConstructorDescriptionGameTestBatchRunner
(Collection<GameTestBatch> p_127563_, BlockPos p_127564_, Rotation p_127565_, ServerLevel p_127566_, GameTestTicker p_127567_, int p_127568_) GameTestInfo
(TestFunction p_127613_, Rotation p_127614_, ServerLevel p_127615_) TestSummaryDisplayer
(ServerLevel p_128061_, MultipleTestTracker p_128062_) ModifierConstructorDescriptionGameTestBatch
(String p_177059_, Collection<TestFunction> p_177060_, Consumer<ServerLevel> p_177061_, Consumer<ServerLevel> p_177062_) -
Uses of ServerLevel in net.minecraft.network.protocol
Modifier and TypeMethodDescriptionstatic <T extends PacketListener>
voidPacketUtils.ensureRunningOnSameThread
(Packet<T> p_131360_, T p_131361_, ServerLevel p_131362_) -
Uses of ServerLevel in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionServerboundTeleportToEntityPacket.getEntity
(ServerLevel p_134682_) private static String
DebugPackets.getShortDescription
(ServerLevel p_179493_, Object p_179494_) ServerboundInteractPacket.getTarget
(ServerLevel p_179604_) static void
DebugPackets.sendGameTestAddMarker
(ServerLevel p_133683_, BlockPos p_133684_, String p_133685_, int p_133686_, int p_133687_) static void
DebugPackets.sendGameTestClearPacket
(ServerLevel p_133675_) private static void
DebugPackets.sendPacketToAllPlayers
(ServerLevel p_133692_, FriendlyByteBuf p_133693_, ResourceLocation p_133694_) static void
DebugPackets.sendPoiAddedPacket
(ServerLevel p_133680_, BlockPos p_133681_) static void
DebugPackets.sendPoiPacketsForChunk
(ServerLevel p_133677_, ChunkPos p_133678_) static void
DebugPackets.sendPoiRemovedPacket
(ServerLevel p_133717_, BlockPos p_133718_) static void
DebugPackets.sendPoiTicketCountPacket
(ServerLevel p_133720_, BlockPos p_133721_) static void
DebugPackets.sendRaids
(ServerLevel p_133689_, Collection<Raid> p_133690_) private static void
DebugPackets.sendVillageSectionsPacket
(ServerLevel p_133723_, BlockPos p_133724_) -
Uses of ServerLevel in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Map<ResourceKey<Level>,
ServerLevel> MinecraftServer.levels
Modifier and TypeMethodDescriptionMinecraftServer.getLevel
(ResourceKey<Level> p_129881_) private ServerLevel[]
MinecraftServer.getWorldArray()
final ServerLevel
MinecraftServer.overworld()
Modifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()
Deprecated.MinecraftServer.getAllLevels()
Modifier and TypeMethodDescriptionint
MinecraftServer.getSpawnRadius
(ServerLevel p_129804_) boolean
MinecraftServer.isUnderSpawnProtection
(ServerLevel p_129811_, BlockPos p_129812_, Player p_129813_) private static void
MinecraftServer.setInitialSpawn
(ServerLevel p_177897_, ServerLevelData p_177898_, boolean p_177899_, boolean p_177900_) -
Uses of ServerLevel in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static void
PlaceCommand.checkLoaded
(ServerLevel p_214544_, ChunkPos p_214545_, ChunkPos p_214546_) private static OptionalInt
ExecuteCommand.checkRegions
(ServerLevel p_137037_, BlockPos p_137038_, BlockPos p_137039_, BlockPos p_137040_, boolean p_137041_) SetBlockCommand.Filter.filter
(BoundingBox p_138620_, BlockPos p_138621_, BlockInput p_138622_, ServerLevel p_138623_) private static int
TimeCommand.getDayTime
(ServerLevel p_139070_) private static void
TeleportCommand.performTeleport
(CommandSourceStack p_139015_, Entity p_139016_, ServerLevel p_139017_, double p_139018_, double p_139019_, double p_139020_, Set<ClientboundPlayerPositionPacket.RelativeArgument> p_139021_, float p_139022_, float p_139023_, TeleportCommand.LookAt p_139024_) private static double
SpreadPlayersCommand.setPlayerPositions
(Collection<? extends Entity> p_138730_, ServerLevel p_138731_, SpreadPlayersCommand.Position[] p_138732_, int p_138733_, boolean p_138734_) private static void
SpreadPlayersCommand.spreadPositions
(Vec2 p_214741_, double p_214742_, ServerLevel p_214743_, RandomSource p_214744_, double p_214745_, double p_214746_, double p_214747_, double p_214748_, int p_214749_, SpreadPlayersCommand.Position[] p_214750_, boolean p_214751_) private static int
TeleportCommand.teleportToPos
(CommandSourceStack p_139026_, Collection<? extends Entity> p_139027_, ServerLevel p_139028_, Coordinates p_139029_, Coordinates p_139030_, TeleportCommand.LookAt p_139031_) -
Uses of ServerLevel in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionboolean
DedicatedServer.isUnderSpawnProtection
(ServerLevel p_139630_, BlockPos p_139631_, Player p_139632_) -
Uses of ServerLevel in net.minecraft.server.level
Modifier and TypeFieldDescription(package private) final ServerLevel
ChunkMap.level
final ServerLevel
ServerChunkCache.level
private final ServerLevel
ServerEntity.level
protected ServerLevel
ServerPlayerGameMode.level
private final ServerLevel
WorldGenRegion.level
Modifier and TypeMethodDescriptionServerLevel.getLevel()
ServerPlayer.getLevel()
WorldGenRegion.getLevel()
Deprecated.Modifier and TypeMethodDescriptionServerPlayer.changeDimension
(ServerLevel p_9180_, ITeleporter teleporter) private void
ServerPlayer.createEndPlatform
(ServerLevel p_9007_, BlockPos p_9008_) protected PortalInfo
ServerPlayer.findDimensionEntryPoint
(ServerLevel p_8998_) private void
ServerPlayer.fudgeSpawnLocation
(ServerLevel p_9202_) protected Optional<BlockUtil.FoundRectangle>
ServerPlayer.getExitPortal
(ServerLevel p_184131_, BlockPos p_184132_, boolean p_184133_, WorldBorder p_184134_) protected static BlockPos
PlayerRespawnLogic.getOverworldRespawnPos
(ServerLevel p_183929_, int p_183930_, int p_183931_) static BlockPos
PlayerRespawnLogic.getSpawnPosInChunk
(ServerLevel p_183933_, ChunkPos p_183934_) static void
ServerLevel.makeObsidianPlatform
(ServerLevel p_8618_) private static void
ChunkMap.postLoadProtoChunk
(ServerLevel p_143065_, List<CompoundTag> p_143066_) void
ServerPlayer.setLevel
(ServerLevel p_143426_) void
ServerPlayerGameMode.setLevel
(ServerLevel p_9261_) void
ServerPlayer.teleportTo
(ServerLevel p_9000_, double p_9001_, double p_9002_, double p_9003_, float p_9004_, float p_9005_) private void
ServerPlayer.triggerDimensionChangeTriggers
(ServerLevel p_9210_) ModifierConstructorDescriptionChunkMap
(ServerLevel p_214836_, LevelStorageSource.LevelStorageAccess p_214837_, com.mojang.datafixers.DataFixer p_214838_, StructureTemplateManager p_214839_, Executor p_214840_, BlockableEventLoop<Runnable> p_214841_, LightChunkGetter p_214842_, ChunkGenerator p_214843_, ChunkProgressListener p_214844_, ChunkStatusUpdateListener p_214845_, Supplier<DimensionDataStorage> p_214846_, int p_214847_, boolean p_214848_) ServerChunkCache
(ServerLevel p_214982_, LevelStorageSource.LevelStorageAccess p_214983_, com.mojang.datafixers.DataFixer p_214984_, StructureTemplateManager p_214985_, Executor p_214986_, ChunkGenerator p_214987_, int p_214988_, int p_214989_, boolean p_214990_, ChunkProgressListener p_214991_, ChunkStatusUpdateListener p_214992_, Supplier<DimensionDataStorage> p_214993_) ServerEntity
(ServerLevel p_8528_, Entity p_8529_, int p_8530_, boolean p_8531_, Consumer<Packet<?>> p_8532_) ServerPlayer
(MinecraftServer p_215088_, ServerLevel p_215089_, com.mojang.authlib.GameProfile p_215090_, ProfilePublicKey p_215091_) WorldGenRegion
(ServerLevel p_143484_, List<ChunkAccess> p_143485_, ChunkStatus p_143486_, int p_143487_) -
Uses of ServerLevel in net.minecraft.server.players
Modifier and TypeMethodDescriptionvoid
PlayerList.addWorldborderListener
(ServerLevel p_184210_) void
PlayerList.sendLevelInfo
(ServerPlayer p_11230_, ServerLevel p_11231_) -
Uses of ServerLevel in net.minecraft.util
Modifier and TypeMethodDescriptionboolean
SpawnUtil.Strategy.canSpawnOn
(ServerLevel p_216428_, BlockPos p_216429_, BlockState p_216430_, BlockPos p_216431_, BlockState p_216432_) private static boolean
SpawnUtil.moveToPossibleSpawnPosition
(ServerLevel p_216399_, int p_216400_, BlockPos.MutableBlockPos p_216401_, SpawnUtil.Strategy p_216402_) SpawnUtil.trySpawnMob
(EntityType<T> p_216404_, MobSpawnType p_216405_, ServerLevel p_216406_, BlockPos p_216407_, int p_216408_, int p_216409_, int p_216410_, SpawnUtil.Strategy p_216411_) -
Uses of ServerLevel in net.minecraft.world.effect
Modifier and TypeMethodDescriptionstatic List<ServerPlayer>
MobEffectUtil.addEffectToPlayersAround
(ServerLevel p_216947_, Entity p_216948_, Vec3 p_216949_, double p_216950_, MobEffectInstance p_216951_, int p_216952_) -
Uses of ServerLevel in net.minecraft.world.entity
Modifier and TypeMethodDescriptionstatic void
ExperienceOrb.award
(ServerLevel p_147083_, Vec3 p_147084_, int p_147085_) Entity.changeDimension
(ServerLevel p_20118_) Entity.changeDimension
(ServerLevel p_20118_, ITeleporter teleporter) EntityType.create
(ServerLevel p_20656_, CompoundTag p_20657_, Component p_20658_, Player p_20659_, BlockPos p_20660_, MobSpawnType p_20661_, boolean p_20662_, boolean p_20663_) protected PortalInfo
Entity.findDimensionEntryPoint
(ServerLevel p_19923_) abstract AgeableMob
AgeableMob.getBreedOffspring
(ServerLevel p_146743_, AgeableMob p_146744_) protected Optional<BlockUtil.FoundRectangle>
Entity.getExitPortal
(ServerLevel p_185935_, BlockPos p_185936_, boolean p_185937_, WorldBorder p_185938_) EntityType.spawn
(ServerLevel p_20601_, CompoundTag p_20602_, Component p_20603_, Player p_20604_, BlockPos p_20605_, MobSpawnType p_20606_, boolean p_20607_, boolean p_20608_) EntityType.spawn
(ServerLevel p_20593_, ItemStack p_20594_, Player p_20595_, BlockPos p_20596_, MobSpawnType p_20597_, boolean p_20598_, boolean p_20599_) void
Entity.thunderHit
(ServerLevel p_19927_, LightningBolt p_19928_) private static boolean
ExperienceOrb.tryMergeToExisting
(ServerLevel p_147097_, Vec3 p_147098_, int p_147099_) default void
NeutralMob.updatePersistentAnger
(ServerLevel p_21667_, boolean p_21668_) boolean
Entity.wasKilled
(ServerLevel p_216988_, LivingEntity p_216989_) Modifier and TypeMethodDescriptionvoid
Entity.updateDynamicGameEventListener
(BiConsumer<DynamicGameEventListener<?>, ServerLevel> p_216996_) -
Uses of ServerLevel in net.minecraft.world.entity.ai
Modifier and TypeMethodDescriptionprivate void
Brain.startEachNonRunningBehavior
(ServerLevel p_21958_, E p_21959_) void
Brain.stopAll
(ServerLevel p_21934_, E p_21935_) void
Brain.tick
(ServerLevel p_21866_, E p_21867_) private void
Brain.tickEachRunningBehavior
(ServerLevel p_21964_, E p_21965_) private void
Brain.tickSensors
(ServerLevel p_21950_, E p_21951_) -
Uses of ServerLevel in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidGateBehavior.RunningPolicy.apply
(Stream<Behavior<? super E>> p_147532_, ServerLevel p_147533_, E p_147534_, long p_147535_) private static boolean
InteractWithDoor.areOtherMobsComingThroughDoor
(ServerLevel p_23304_, LivingEntity p_23305_, BlockPos p_23306_) private boolean
ValidateNearbyPoi.bedIsOccupied
(ServerLevel p_24531_, BlockPos p_24532_, LivingEntity p_24533_) VillagerMakeLove.breed
(ServerLevel p_24656_, Villager p_24657_, Villager p_24658_) private static int
GiveGiftToHero.calculateTimeUntilNextGift
(ServerLevel p_22994_) protected boolean
AnimalMakeLove.canStillUse
(ServerLevel p_22416_, Animal p_22417_, long p_22418_) protected boolean
AnimalPanic.canStillUse
(ServerLevel p_147391_, PathfinderMob p_147392_, long p_147393_) protected boolean
Behavior.canStillUse
(ServerLevel p_22545_, E p_22546_, long p_22547_) protected boolean
CelebrateVillagersSurvivedRaid.canStillUse
(ServerLevel p_22693_, Villager p_22694_, long p_22695_) protected boolean
CountDownCooldownTicks.canStillUse
(ServerLevel p_147468_, LivingEntity p_147469_, long p_147470_) protected boolean
Croak.canStillUse
(ServerLevel p_217154_, Frog p_217155_, long p_217156_) protected boolean
CrossbowAttack.canStillUse
(ServerLevel p_22781_, E p_22782_, long p_22783_) protected boolean
DoNothing.canStillUse
(ServerLevel p_22843_, LivingEntity p_22844_, long p_22845_) protected boolean
FollowTemptation.canStillUse
(ServerLevel p_147494_, PathfinderMob p_147495_, long p_147496_) protected boolean
GateBehavior.canStillUse
(ServerLevel p_22894_, E p_22895_, long p_22896_) protected boolean
GiveGiftToHero.canStillUse
(ServerLevel p_23026_, Villager p_23027_, long p_23028_) protected boolean
GoAndGiveItemsToTarget.canStillUse
(ServerLevel p_217218_, E p_217219_, long p_217220_) protected boolean
GoToPotentialJobSite.canStillUse
(ServerLevel p_23106_, Villager p_23107_, long p_23108_) protected boolean
HarvestFarmland.canStillUse
(ServerLevel p_23204_, Villager p_23205_, long p_23206_) protected boolean
JumpOnBed.canStillUse
(ServerLevel p_23383_, Mob p_23384_, long p_23385_) protected boolean
LongJumpMidJump.canStillUse
(ServerLevel p_147603_, Mob p_147604_, long p_147605_) protected boolean
LongJumpToRandomPos.canStillUse
(ServerLevel p_147653_, Mob p_147654_, long p_147655_) protected boolean
LookAndFollowTradingPlayerSink.canStillUse
(ServerLevel p_23448_, Villager p_23449_, long p_23450_) protected boolean
LookAtTargetSink.canStillUse
(ServerLevel p_23481_, Mob p_23482_, long p_23483_) protected boolean
MoveToTargetSink.canStillUse
(ServerLevel p_23586_, Mob p_23587_, long p_23588_) protected boolean
PrepareRamNearestTarget.canStillUse
(ServerLevel p_147773_, PathfinderMob p_147774_, long p_147775_) protected boolean
RamTarget.canStillUse
(ServerLevel p_217352_, Goat p_217353_, long p_217354_) protected boolean
RunIf.canStillUse
(ServerLevel p_23819_, E p_23820_, long p_23821_) protected boolean
RunSometimes.canStillUse
(ServerLevel p_23860_, E p_23861_, long p_23862_) boolean
ShowTradesToPlayer.canStillUse
(ServerLevel p_24109_, Villager p_24110_, long p_24111_) protected boolean
SleepInBed.canStillUse
(ServerLevel p_24161_, LivingEntity p_24162_, long p_24163_) protected boolean
Swim.canStillUse
(ServerLevel p_24391_, Mob p_24392_, long p_24393_) protected boolean
TradeWithVillager.canStillUse
(ServerLevel p_24419_, Villager p_24420_, long p_24421_) protected boolean
UseBonemeal.canStillUse
(ServerLevel p_24477_, Villager p_24478_, long p_24479_) protected boolean
VillagerMakeLove.canStillUse
(ServerLevel p_24626_, Villager p_24627_, long p_24628_) protected boolean
VillagerPanicTrigger.canStillUse
(ServerLevel p_24684_, Villager p_24685_, long p_24686_) protected boolean
WorkAtPoi.canStillUse
(ServerLevel p_24830_, Villager p_24831_, long p_24832_) protected boolean
AcquirePoi.checkExtraStartConditions
(ServerLevel p_22347_, PathfinderMob p_22348_) protected boolean
AnimalMakeLove.checkExtraStartConditions
(ServerLevel p_22401_, Animal p_22402_) protected boolean
AssignProfessionFromJobSite.checkExtraStartConditions
(ServerLevel p_22450_, Villager p_22451_) protected boolean
BabyFollowAdult.checkExtraStartConditions
(ServerLevel p_147423_, E p_147424_) protected boolean
BackUpIfTooClose.checkExtraStartConditions
(ServerLevel p_22502_, E p_22503_) protected boolean
Behavior.checkExtraStartConditions
(ServerLevel p_22538_, E p_22539_) protected boolean
CelebrateVillagersSurvivedRaid.checkExtraStartConditions
(ServerLevel p_22690_, Villager p_22691_) protected boolean
CopyMemoryWithExpiry.checkExtraStartConditions
(ServerLevel p_22736_, E p_22737_) protected boolean
Croak.checkExtraStartConditions
(ServerLevel p_217151_, Frog p_217152_) protected boolean
CrossbowAttack.checkExtraStartConditions
(ServerLevel p_22778_, E p_22779_) protected boolean
DismountOrSkipMounting.checkExtraStartConditions
(ServerLevel p_22830_, E p_22831_) protected boolean
EraseMemoryIf.checkExtraStartConditions
(ServerLevel p_22862_, E p_22863_) protected boolean
GiveGiftToHero.checkExtraStartConditions
(ServerLevel p_23003_, Villager p_23004_) protected boolean
GoAndGiveItemsToTarget.checkExtraStartConditions
(ServerLevel p_217196_, E p_217197_) protected boolean
GoOutsideToCelebrate.checkExtraStartConditions
(ServerLevel p_23052_, LivingEntity p_23053_) protected boolean
GoToClosestVillage.checkExtraStartConditions
(ServerLevel p_23087_, Villager p_23088_) protected boolean
GoToPotentialJobSite.checkExtraStartConditions
(ServerLevel p_23103_, Villager p_23104_) protected boolean
GoToWantedItem.checkExtraStartConditions
(ServerLevel p_23149_, E p_23150_) protected boolean
HarvestFarmland.checkExtraStartConditions
(ServerLevel p_23174_, Villager p_23175_) protected boolean
InsideBrownianWalk.checkExtraStartConditions
(ServerLevel p_23218_, PathfinderMob p_23219_) protected boolean
InteractWith.checkExtraStartConditions
(ServerLevel p_23254_, E p_23255_) protected boolean
InteractWithDoor.checkExtraStartConditions
(ServerLevel p_23292_, LivingEntity p_23293_) protected boolean
JumpOnBed.checkExtraStartConditions
(ServerLevel p_23346_, Mob p_23347_) protected boolean
LocateHidingPlace.checkExtraStartConditions
(ServerLevel p_23412_, LivingEntity p_23413_) protected boolean
LocateHidingPlaceDuringRaid.checkExtraStartConditions
(ServerLevel p_23430_, LivingEntity p_23431_) protected boolean
LongJumpToRandomPos.checkExtraStartConditions
(ServerLevel p_147650_, Mob p_147651_) protected boolean
LookAndFollowTradingPlayerSink.checkExtraStartConditions
(ServerLevel p_23445_, Villager p_23446_) protected boolean
MeleeAttack.checkExtraStartConditions
(ServerLevel p_23521_, Mob p_23522_) protected boolean
Mount.checkExtraStartConditions
(ServerLevel p_23538_, E p_23539_) protected boolean
MoveToSkySeeingSpot.checkExtraStartConditions
(ServerLevel p_23552_, LivingEntity p_23553_) protected boolean
MoveToTargetSink.checkExtraStartConditions
(ServerLevel p_23583_, Mob p_23584_) protected boolean
PlayTagWithOtherKids.checkExtraStartConditions
(ServerLevel p_23629_, PathfinderMob p_23630_) protected boolean
RamTarget.checkExtraStartConditions
(ServerLevel p_217349_, Goat p_217350_) protected boolean
RandomStroll.checkExtraStartConditions
(ServerLevel p_182353_, PathfinderMob p_182354_) protected boolean
RandomSwim.checkExtraStartConditions
(ServerLevel p_147858_, PathfinderMob p_147859_) protected boolean
ResetProfession.checkExtraStartConditions
(ServerLevel p_23773_, Villager p_23774_) protected boolean
ResetRaidStatus.checkExtraStartConditions
(ServerLevel p_23781_, LivingEntity p_23782_) protected boolean
RingBell.checkExtraStartConditions
(ServerLevel p_23789_, LivingEntity p_23790_) protected boolean
RunIf.checkExtraStartConditions
(ServerLevel p_23809_, E p_23810_) protected boolean
RunSometimes.checkExtraStartConditions
(ServerLevel p_23853_, E p_23854_) protected boolean
SetClosestHomeAsWalkTarget.checkExtraStartConditions
(ServerLevel p_23879_, LivingEntity p_23880_) protected boolean
SetEntityLookTarget.checkExtraStartConditions
(ServerLevel p_23903_, LivingEntity p_23904_) boolean
SetLookAndInteract.checkExtraStartConditions
(ServerLevel p_23950_, LivingEntity p_23951_) protected boolean
SetRaidStatus.checkExtraStartConditions
(ServerLevel p_23976_, LivingEntity p_23977_) protected boolean
SetWalkTargetAwayFrom.checkExtraStartConditions
(ServerLevel p_24000_, PathfinderMob p_24001_) protected boolean
SetWalkTargetFromLookTarget.checkExtraStartConditions
(ServerLevel p_182366_, LivingEntity p_182367_) boolean
ShowTradesToPlayer.checkExtraStartConditions
(ServerLevel p_24106_, Villager p_24107_) protected boolean
SleepInBed.checkExtraStartConditions
(ServerLevel p_24154_, LivingEntity p_24155_) protected boolean
SocializeAtBell.checkExtraStartConditions
(ServerLevel p_24170_, LivingEntity p_24171_) protected boolean
StartAttacking.checkExtraStartConditions
(ServerLevel p_24205_, E p_24206_) protected boolean
StartCelebratingIfTargetDead.checkExtraStartConditions
(ServerLevel p_24225_, LivingEntity p_24226_) protected boolean
StayCloseToTarget.checkExtraStartConditions
(ServerLevel p_217391_, E p_217392_) protected boolean
StrollAroundPoi.checkExtraStartConditions
(ServerLevel p_24319_, PathfinderMob p_24320_) protected boolean
StrollToPoi.checkExtraStartConditions
(ServerLevel p_24345_, PathfinderMob p_24346_) protected boolean
StrollToPoiList.checkExtraStartConditions
(ServerLevel p_24375_, Villager p_24376_) protected boolean
Swim.checkExtraStartConditions
(ServerLevel p_24388_, Mob p_24389_) protected boolean
TradeWithVillager.checkExtraStartConditions
(ServerLevel p_24416_, Villager p_24417_) protected boolean
TryFindLand.checkExtraStartConditions
(ServerLevel p_217428_, PathfinderMob p_217429_) protected boolean
TryFindLandNearWater.checkExtraStartConditions
(ServerLevel p_217456_, PathfinderMob p_217457_) protected boolean
TryFindWater.checkExtraStartConditions
(ServerLevel p_148012_, PathfinderMob p_148013_) protected boolean
TryLaySpawnOnWaterNearLand.checkExtraStartConditions
(ServerLevel p_217483_, Frog p_217484_) protected boolean
UseBonemeal.checkExtraStartConditions
(ServerLevel p_24474_, Villager p_24475_) protected boolean
ValidateNearbyPoi.checkExtraStartConditions
(ServerLevel p_24521_, LivingEntity p_24522_) protected boolean
VictoryStroll.checkExtraStartConditions
(ServerLevel p_24540_, PathfinderMob p_24541_) protected boolean
VillagerMakeLove.checkExtraStartConditions
(ServerLevel p_24623_, Villager p_24624_) protected boolean
WakeUp.checkExtraStartConditions
(ServerLevel p_24709_, LivingEntity p_24710_) protected boolean
WorkAtPoi.checkExtraStartConditions
(ServerLevel p_24827_, Villager p_24828_) protected boolean
YieldJobSite.checkExtraStartConditions
(ServerLevel p_24844_, Villager p_24845_) static void
InteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerLevel p_23299_, LivingEntity p_23300_, Node p_23301_, Node p_23302_) private boolean
SetWalkTargetFromBlockMemory.closeEnough
(ServerLevel p_24069_, Villager p_24070_, GlobalPos p_24071_) private void
WorkAtComposter.compostItems
(ServerLevel p_24793_, Villager p_24794_, GlobalPos p_24795_, BlockState p_24796_) final void
Behavior.doStop
(ServerLevel p_22563_, E p_22564_, long p_22565_) static SectionPos
BehaviorUtils.findSectionClosestToVillage
(ServerLevel p_22582_, SectionPos p_22583_, int p_22584_) protected void
RamTarget.finishRam
(ServerLevel p_217356_, Goat p_217357_) private void
PlayTagWithOtherKids.fleeFromChaser
(ServerLevel p_23636_, PathfinderMob p_23637_, LivingEntity p_23638_) protected Optional<LongJumpToRandomPos.PossibleJump>
LongJumpToPreferredBlock.getJumpCandidate
(ServerLevel p_217273_) protected Optional<LongJumpToRandomPos.PossibleJump>
LongJumpToRandomPos.getJumpCandidate
(ServerLevel p_217299_) private Vec3
MoveToSkySeeingSpot.getOutdoorPosition
(ServerLevel p_23565_, LivingEntity p_23566_) private Vec3
AnimalPanic.getPanicPos
(PathfinderMob p_196639_, ServerLevel p_196640_) private BlockPos
HarvestFarmland.getValidFarmland
(ServerLevel p_23165_) private void
VillagerMakeLove.giveBedToChild
(ServerLevel p_24634_, Villager p_24635_, BlockPos p_24636_) static boolean
MoveToSkySeeingSpot.hasNoBlocksAbove
(ServerLevel p_23559_, LivingEntity p_23560_, BlockPos p_23561_) private boolean
RamTarget.hasRammedHornBreakingBlock
(ServerLevel p_217363_, Goat p_217364_) protected boolean
LongJumpToPreferredBlock.isAcceptableLandingPosition
(ServerLevel p_217283_, E p_217284_, BlockPos p_217285_) protected boolean
LongJumpToRandomPos.isAcceptableLandingPosition
(ServerLevel p_217300_, E p_217301_, BlockPos p_217302_) private boolean
JumpOnBed.isBed
(ServerLevel p_23357_, BlockPos p_23358_) private static boolean
InteractWithDoor.isDoorTooFarAway
(ServerLevel p_23308_, LivingEntity p_23309_, GlobalPos p_23310_) private static boolean
InteractWithDoor.isMobComingThroughDoor
(ServerLevel p_23322_, LivingEntity p_23323_, BlockPos p_23324_) private boolean
JumpOnBed.nearBed
(ServerLevel p_23369_, Mob p_23370_) private boolean
JumpOnBed.onBedSurface
(ServerLevel p_23391_, Mob p_23392_) private boolean
JumpOnBed.onOrOverBed
(ServerLevel p_23380_, Mob p_23381_) protected void
LongJumpToRandomPos.pickCandidate
(ServerLevel p_217319_, E p_217320_, long p_217321_) UseBonemeal.pickNextTarget
(ServerLevel p_24493_, Villager p_24494_) private boolean
ValidateNearbyPoi.poiDoesntExist
(ServerLevel p_24528_, BlockPos p_24529_) private void
InteractWithDoor.rememberDoorToClose
(ServerLevel p_23326_, LivingEntity p_23327_, BlockPos p_23328_) private void
RunSometimes.resetTicksUntilNextStart
(ServerLevel p_23851_) private void
WorkAtComposter.spawnComposterFillEffects
(ServerLevel p_24798_, BlockState p_24799_, BlockPos p_24800_, BlockState p_24801_) protected void
AcquirePoi.start
(ServerLevel p_22350_, PathfinderMob p_22351_, long p_22352_) protected void
AnimalMakeLove.start
(ServerLevel p_22404_, Animal p_22405_, long p_22406_) protected void
AnimalPanic.start
(ServerLevel p_147399_, PathfinderMob p_147400_, long p_147401_) protected void
AssignProfessionFromJobSite.start
(ServerLevel p_22453_, Villager p_22454_, long p_22455_) protected void
BabyFollowAdult.start
(ServerLevel p_147426_, E p_147427_, long p_147428_) protected void
BackUpIfTooClose.start
(ServerLevel p_22505_, E p_22506_, long p_22507_) protected void
BecomePassiveIfMemoryPresent.start
(ServerLevel p_22519_, LivingEntity p_22520_, long p_22521_) protected void
Behavior.start
(ServerLevel p_22540_, E p_22541_, long p_22542_) protected void
CopyMemoryWithExpiry.start
(ServerLevel p_22739_, E p_22740_, long p_22741_) protected void
Croak.start
(ServerLevel p_217162_, Frog p_217163_, long p_217164_) protected void
DismountOrSkipMounting.start
(ServerLevel p_22833_, E p_22834_, long p_22835_) protected void
EraseMemoryIf.start
(ServerLevel p_22865_, E p_22866_, long p_22867_) protected void
FollowTemptation.start
(ServerLevel p_147505_, PathfinderMob p_147506_, long p_147507_) protected void
GateBehavior.start
(ServerLevel p_22881_, E p_22882_, long p_22883_) protected void
GiveGiftToHero.start
(ServerLevel p_23006_, Villager p_23007_, long p_23008_) protected void
GoAndGiveItemsToTarget.start
(ServerLevel p_217199_, E p_217200_, long p_217201_) protected void
GoToClosestVillage.start
(ServerLevel p_23090_, Villager p_23091_, long p_23092_) protected void
GoToTargetLocation.start
(ServerLevel p_217243_, Mob p_217244_, long p_217245_) protected void
GoToWantedItem.start
(ServerLevel p_23152_, E p_23153_, long p_23154_) protected void
HarvestFarmland.start
(ServerLevel p_23177_, Villager p_23178_, long p_23179_) protected void
InsideBrownianWalk.start
(ServerLevel p_23221_, PathfinderMob p_23222_, long p_23223_) protected void
InteractWith.start
(ServerLevel p_23257_, E p_23258_, long p_23259_) protected void
InteractWithDoor.start
(ServerLevel p_23295_, LivingEntity p_23296_, long p_23297_) protected void
JumpOnBed.start
(ServerLevel p_23349_, Mob p_23350_, long p_23351_) protected void
LocateHidingPlace.start
(ServerLevel p_23415_, LivingEntity p_23416_, long p_23417_) protected void
LongJumpMidJump.start
(ServerLevel p_147611_, Mob p_147612_, long p_147613_) protected void
LongJumpToPreferredBlock.start
(ServerLevel p_217279_, E p_217280_, long p_217281_) protected void
LongJumpToRandomPos.start
(ServerLevel p_147676_, E p_147677_, long p_147678_) protected void
LookAndFollowTradingPlayerSink.start
(ServerLevel p_23458_, Villager p_23459_, long p_23460_) protected void
MeleeAttack.start
(ServerLevel p_23524_, Mob p_23525_, long p_23526_) protected void
Mount.start
(ServerLevel p_23541_, E p_23542_, long p_23543_) protected void
MoveToSkySeeingSpot.start
(ServerLevel p_23555_, LivingEntity p_23556_, long p_23557_) protected void
MoveToTargetSink.start
(ServerLevel p_23609_, Mob p_23610_, long p_23611_) protected void
PlayTagWithOtherKids.start
(ServerLevel p_23632_, PathfinderMob p_23633_, long p_23634_) protected void
PoiCompetitorScan.start
(ServerLevel p_23716_, Villager p_23717_, long p_23718_) protected void
PrepareRamNearestTarget.start
(ServerLevel p_147736_, PathfinderMob p_147737_, long p_147738_) protected void
RamTarget.start
(ServerLevel p_217359_, Goat p_217360_, long p_217361_) protected void
RandomStroll.start
(ServerLevel p_23754_, PathfinderMob p_23755_, long p_23756_) protected void
ReactToBell.start
(ServerLevel p_23761_, LivingEntity p_23762_, long p_23763_) protected void
ResetProfession.start
(ServerLevel p_23776_, Villager p_23777_, long p_23778_) protected void
ResetRaidStatus.start
(ServerLevel p_23784_, LivingEntity p_23785_, long p_23786_) protected void
RingBell.start
(ServerLevel p_23792_, LivingEntity p_23793_, long p_23794_) protected void
RunIf.start
(ServerLevel p_23812_, E p_23813_, long p_23814_) protected void
RunSometimes.start
(ServerLevel p_23856_, E p_23857_, long p_23858_) protected void
SetClosestHomeAsWalkTarget.start
(ServerLevel p_23882_, LivingEntity p_23883_, long p_23884_) protected void
SetEntityLookTarget.start
(ServerLevel p_23906_, LivingEntity p_23907_, long p_23908_) protected void
SetHiddenState.start
(ServerLevel p_23934_, LivingEntity p_23935_, long p_23936_) void
SetLookAndInteract.start
(ServerLevel p_23953_, LivingEntity p_23954_, long p_23955_) protected void
SetRaidStatus.start
(ServerLevel p_23979_, LivingEntity p_23980_, long p_23981_) protected void
SetWalkTargetAwayFrom.start
(ServerLevel p_24003_, PathfinderMob p_24004_, long p_24005_) protected void
SetWalkTargetFromAttackTargetIfTargetOutOfReach.start
(ServerLevel p_24032_, Mob p_24033_, long p_24034_) protected void
SetWalkTargetFromBlockMemory.start
(ServerLevel p_24059_, Villager p_24060_, long p_24061_) protected void
SetWalkTargetFromLookTarget.start
(ServerLevel p_24087_, LivingEntity p_24088_, long p_24089_) void
ShowTradesToPlayer.start
(ServerLevel p_24124_, Villager p_24125_, long p_24126_) protected void
SleepInBed.start
(ServerLevel p_24157_, LivingEntity p_24158_, long p_24159_) protected void
SocializeAtBell.start
(ServerLevel p_24173_, LivingEntity p_24174_, long p_24175_) protected void
StartAttacking.start
(ServerLevel p_24208_, E p_24209_, long p_24210_) protected void
StartCelebratingIfTargetDead.start
(ServerLevel p_24228_, LivingEntity p_24229_, long p_24230_) protected void
StayCloseToTarget.start
(ServerLevel p_217394_, E p_217395_, long p_217396_) protected void
StopAttackingIfTargetInvalid.start
(ServerLevel p_24242_, E p_24243_, long p_24244_) protected void
StopBeingAngryIfTargetDead.start
(ServerLevel p_24263_, E p_24264_, long p_24265_) protected void
StrollAroundPoi.start
(ServerLevel p_24322_, PathfinderMob p_24323_, long p_24324_) protected void
StrollToPoi.start
(ServerLevel p_24348_, PathfinderMob p_24349_, long p_24350_) protected void
StrollToPoiList.start
(ServerLevel p_24378_, Villager p_24379_, long p_24380_) protected void
TradeWithVillager.start
(ServerLevel p_24437_, Villager p_24438_, long p_24439_) protected void
TryFindLand.start
(ServerLevel p_217435_, PathfinderMob p_217436_, long p_217437_) protected void
TryFindLandNearWater.start
(ServerLevel p_217463_, PathfinderMob p_217464_, long p_217465_) protected void
TryFindWater.start
(ServerLevel p_148019_, PathfinderMob p_148020_, long p_148021_) protected void
TryLaySpawnOnWaterNearLand.start
(ServerLevel p_217486_, Frog p_217487_, long p_217488_) protected void
UpdateActivityFromSchedule.start
(ServerLevel p_24458_, LivingEntity p_24459_, long p_24460_) protected void
UseBonemeal.start
(ServerLevel p_24496_, Villager p_24497_, long p_24498_) protected void
ValidateNearbyPoi.start
(ServerLevel p_24524_, LivingEntity p_24525_, long p_24526_) protected void
VillageBoundRandomStroll.start
(ServerLevel p_24556_, PathfinderMob p_24557_, long p_24558_) protected void
VillagerCalmDown.start
(ServerLevel p_24574_, Villager p_24575_, long p_24576_) protected void
VillagerMakeLove.start
(ServerLevel p_24652_, Villager p_24653_, long p_24654_) protected void
VillagerPanicTrigger.start
(ServerLevel p_24694_, Villager p_24695_, long p_24696_) protected void
WakeUp.start
(ServerLevel p_24712_, LivingEntity p_24713_, long p_24714_) protected void
WorkAtPoi.start
(ServerLevel p_24816_, Villager p_24817_, long p_24818_) protected void
YieldJobSite.start
(ServerLevel p_24847_, Villager p_24848_, long p_24849_) protected void
AnimalMakeLove.stop
(ServerLevel p_22438_, Animal p_22439_, long p_22440_) protected void
AnimalPanic.stop
(ServerLevel p_217118_, PathfinderMob p_217119_, long p_217120_) protected void
Behavior.stop
(ServerLevel p_22548_, E p_22549_, long p_22550_) protected void
CelebrateVillagersSurvivedRaid.stop
(ServerLevel p_22704_, Villager p_22705_, long p_22706_) protected void
CountDownCooldownTicks.stop
(ServerLevel p_147472_, LivingEntity p_147473_, long p_147474_) protected void
Croak.stop
(ServerLevel p_217170_, Frog p_217171_, long p_217172_) protected void
CrossbowAttack.stop
(ServerLevel p_22805_, E p_22806_, long p_22807_) protected void
FollowTemptation.stop
(ServerLevel p_147515_, PathfinderMob p_147516_, long p_147517_) protected void
GateBehavior.stop
(ServerLevel p_22905_, E p_22906_, long p_22907_) protected void
GiveGiftToHero.stop
(ServerLevel p_23046_, Villager p_23047_, long p_23048_) protected void
GoToPotentialJobSite.stop
(ServerLevel p_23129_, Villager p_23130_, long p_23131_) protected void
HarvestFarmland.stop
(ServerLevel p_23188_, Villager p_23189_, long p_23190_) protected void
JumpOnBed.stop
(ServerLevel p_23372_, Mob p_23373_, long p_23374_) protected void
LongJumpMidJump.stop
(ServerLevel p_147619_, Mob p_147620_, long p_147621_) protected void
LookAndFollowTradingPlayerSink.stop
(ServerLevel p_23466_, Villager p_23467_, long p_23468_) protected void
LookAtTargetSink.stop
(ServerLevel p_23492_, Mob p_23493_, long p_23494_) protected void
MoveToTargetSink.stop
(ServerLevel p_23601_, Mob p_23602_, long p_23603_) protected void
PrepareRamNearestTarget.stop
(ServerLevel p_147762_, E p_147763_, long p_147764_) protected void
RunIf.stop
(ServerLevel p_23823_, E p_23824_, long p_23825_) protected void
RunSometimes.stop
(ServerLevel p_23864_, E p_23865_, long p_23866_) void
ShowTradesToPlayer.stop
(ServerLevel p_24144_, Villager p_24145_, long p_24146_) protected void
SleepInBed.stop
(ServerLevel p_24165_, LivingEntity p_24166_, long p_24167_) protected void
TradeWithVillager.stop
(ServerLevel p_24453_, Villager p_24454_, long p_24455_) protected void
TryFindLand.stop
(ServerLevel p_217431_, PathfinderMob p_217432_, long p_217433_) protected void
TryFindLandNearWater.stop
(ServerLevel p_217459_, PathfinderMob p_217460_, long p_217461_) protected void
TryFindWater.stop
(ServerLevel p_148015_, PathfinderMob p_148016_, long p_148017_) protected void
UseBonemeal.stop
(ServerLevel p_24504_, Villager p_24505_, long p_24506_) protected void
VillagerMakeLove.stop
(ServerLevel p_24675_, Villager p_24676_, long p_24677_) VillagerMakeLove.takeVacantBed
(ServerLevel p_24649_, Villager p_24650_) protected void
AnimalMakeLove.tick
(ServerLevel p_22428_, Animal p_22429_, long p_22430_) protected void
AnimalPanic.tick
(ServerLevel p_147403_, PathfinderMob p_147404_, long p_147405_) protected void
Behavior.tick
(ServerLevel p_22551_, E p_22552_, long p_22553_) protected void
CelebrateVillagersSurvivedRaid.tick
(ServerLevel p_22712_, Villager p_22713_, long p_22714_) protected void
CountDownCooldownTicks.tick
(ServerLevel p_147476_, LivingEntity p_147477_, long p_147478_) protected void
Croak.tick
(ServerLevel p_217178_, Frog p_217179_, long p_217180_) protected void
CrossbowAttack.tick
(ServerLevel p_22794_, E p_22795_, long p_22796_) protected void
FollowTemptation.tick
(ServerLevel p_147523_, PathfinderMob p_147524_, long p_147525_) protected void
GateBehavior.tick
(ServerLevel p_22916_, E p_22917_, long p_22918_) protected void
GiveGiftToHero.tick
(ServerLevel p_23036_, Villager p_23037_, long p_23038_) protected void
GoAndGiveItemsToTarget.tick
(ServerLevel p_217226_, E p_217227_, long p_217228_) protected void
GoToPotentialJobSite.tick
(ServerLevel p_23121_, Villager p_23122_, long p_23123_) protected void
HarvestFarmland.tick
(ServerLevel p_23196_, Villager p_23197_, long p_23198_) protected void
JumpOnBed.tick
(ServerLevel p_23394_, Mob p_23395_, long p_23396_) protected void
LongJumpToRandomPos.tick
(ServerLevel p_147680_, E p_147681_, long p_147682_) protected void
LookAndFollowTradingPlayerSink.tick
(ServerLevel p_23474_, Villager p_23475_, long p_23476_) protected void
LookAtTargetSink.tick
(ServerLevel p_23503_, Mob p_23504_, long p_23505_) protected void
MoveToTargetSink.tick
(ServerLevel p_23617_, Mob p_23618_, long p_23619_) protected void
PrepareRamNearestTarget.tick
(ServerLevel p_147784_, E p_147785_, long p_147786_) protected void
RamTarget.tick
(ServerLevel p_217366_, Goat p_217367_, long p_217368_) protected void
RunIf.tick
(ServerLevel p_23827_, E p_23828_, long p_23829_) protected void
RunSometimes.tick
(ServerLevel p_23868_, E p_23869_, long p_23870_) void
ShowTradesToPlayer.tick
(ServerLevel p_24134_, Villager p_24135_, long p_24136_) protected void
Swim.tick
(ServerLevel p_24399_, Mob p_24400_, long p_24401_) protected void
TradeWithVillager.tick
(ServerLevel p_24445_, Villager p_24446_, long p_24447_) protected void
UseBonemeal.tick
(ServerLevel p_24512_, Villager p_24513_, long p_24514_) protected void
VillagerMakeLove.tick
(ServerLevel p_24667_, Villager p_24668_, long p_24669_) protected void
VillagerPanicTrigger.tick
(ServerLevel p_24700_, Villager p_24701_, long p_24702_) final void
Behavior.tickOrStop
(ServerLevel p_22559_, E p_22560_, long p_22561_) private boolean
JumpOnBed.tiredOfJumping
(ServerLevel p_23401_, Mob p_23402_) private boolean
SetWalkTargetFromBlockMemory.tiredOfTryingToFindTarget
(ServerLevel p_24056_, Villager p_24057_) private boolean
JumpOnBed.tiredOfWalking
(ServerLevel p_23398_, Mob p_23399_) final boolean
Behavior.tryStart
(ServerLevel p_22555_, E p_22556_, long p_22557_) private void
VillagerMakeLove.tryToGiveBirth
(ServerLevel p_24630_, Villager p_24631_, Villager p_24632_) protected void
WorkAtComposter.useWorkstation
(ServerLevel p_24790_, Villager p_24791_) protected void
WorkAtPoi.useWorkstation
(ServerLevel p_24813_, Villager p_24814_) private boolean
HarvestFarmland.validPos
(BlockPos p_23181_, ServerLevel p_23182_) private boolean
UseBonemeal.validPos
(BlockPos p_24486_, ServerLevel p_24487_) private boolean
LongJumpToPreferredBlock.willNotLandInFluid
(ServerLevel p_217287_, BlockPos p_217288_) private boolean
SetWalkTargetFromBlockMemory.wrongDimension
(ServerLevel p_24073_, GlobalPos p_24074_) private void
YieldJobSite.yieldJobSite
(ServerLevel p_24851_, Villager p_24852_, Villager p_24853_, BlockPos p_24854_, boolean p_24855_) -
Uses of ServerLevel in net.minecraft.world.entity.ai.behavior.warden
Modifier and TypeMethodDescriptionprotected boolean
Digging.canStillUse
(ServerLevel p_217527_, E p_217528_, long p_217529_) protected boolean
Emerging.canStillUse
(ServerLevel p_217553_, E p_217554_, long p_217555_) protected boolean
Roar.canStillUse
(ServerLevel p_217588_, Warden p_217589_, long p_217590_) protected boolean
Sniffing.canStillUse
(ServerLevel p_217653_, E p_217654_, long p_217655_) protected boolean
SonicBoom.canStillUse
(ServerLevel p_217695_, Warden p_217696_, long p_217697_) protected boolean
Digging.checkExtraStartConditions
(ServerLevel p_217524_, E p_217525_) protected boolean
ForceUnmount.checkExtraStartConditions
(ServerLevel p_238424_, LivingEntity p_238425_) protected boolean
SetRoarTarget.checkExtraStartConditions
(ServerLevel p_217618_, E p_217619_) protected boolean
SetWardenLookTarget.checkExtraStartConditions
(ServerLevel p_217636_, Warden p_217637_) protected boolean
SonicBoom.checkExtraStartConditions
(ServerLevel p_217692_, Warden p_217693_) protected void
Digging.start
(ServerLevel p_217535_, E p_217536_, long p_217537_) protected void
Emerging.start
(ServerLevel p_217561_, E p_217562_, long p_217563_) protected void
ForceUnmount.start
(ServerLevel p_238410_, LivingEntity p_238411_, long p_238412_) protected void
Roar.start
(ServerLevel p_217580_, Warden p_217581_, long p_217582_) protected void
SetRoarTarget.start
(ServerLevel p_217621_, E p_217622_, long p_217623_) protected void
SetWardenLookTarget.start
(ServerLevel p_217639_, Warden p_217640_, long p_217641_) protected void
Sniffing.start
(ServerLevel p_217664_, E p_217665_, long p_217666_) protected void
SonicBoom.start
(ServerLevel p_217713_, Warden p_217714_, long p_217715_) protected void
TryToSniff.start
(ServerLevel p_217743_, Warden p_217744_, long p_217745_) protected void
Digging.stop
(ServerLevel p_217543_, E p_217544_, long p_217545_) protected void
Emerging.stop
(ServerLevel p_217569_, E p_217570_, long p_217571_) protected void
Roar.stop
(ServerLevel p_217604_, Warden p_217605_, long p_217606_) protected void
Sniffing.stop
(ServerLevel p_217672_, E p_217673_, long p_217674_) protected void
SonicBoom.stop
(ServerLevel p_217732_, Warden p_217733_, long p_217734_) protected void
Roar.tick
(ServerLevel p_217596_, Warden p_217597_, long p_217598_) protected void
SonicBoom.tick
(ServerLevel p_217724_, Warden p_217725_, long p_217726_) -
Uses of ServerLevel in net.minecraft.world.entity.ai.sensing
Modifier and TypeMethodDescriptionprotected void
AdultSensor.doTick
(ServerLevel p_148248_, AgeableMob p_148249_) protected void
DummySensor.doTick
(ServerLevel p_26638_, LivingEntity p_26639_) protected void
GolemSensor.doTick
(ServerLevel p_26645_, LivingEntity p_26646_) protected void
HoglinSpecificSensor.doTick
(ServerLevel p_26659_, Hoglin p_26660_) protected void
HurtBySensor.doTick
(ServerLevel p_26670_, LivingEntity p_26671_) protected void
IsInWaterSensor.doTick
(ServerLevel p_217816_, LivingEntity p_217817_) protected void
NearestBedSensor.doTick
(ServerLevel p_26685_, Mob p_26686_) protected void
NearestItemSensor.doTick
(ServerLevel p_26697_, Mob p_26698_) protected void
NearestLivingEntitySensor.doTick
(ServerLevel p_26710_, T p_26711_) protected void
NearestVisibleLivingEntitySensor.doTick
(ServerLevel p_148288_, LivingEntity p_148289_) protected void
PiglinBruteSpecificSensor.doTick
(ServerLevel p_26721_, LivingEntity p_26722_) protected void
PiglinSpecificSensor.doTick
(ServerLevel p_26726_, LivingEntity p_26727_) protected void
PlayerSensor.doTick
(ServerLevel p_26740_, LivingEntity p_26741_) protected void
SecondaryPoiSensor.doTick
(ServerLevel p_26754_, Villager p_26755_) protected abstract void
Sensor.doTick
(ServerLevel p_26801_, E p_26802_) protected void
TemptingSensor.doTick
(ServerLevel p_148331_, PathfinderMob p_148332_) protected void
VillagerBabiesSensor.doTick
(ServerLevel p_26834_, LivingEntity p_26835_) protected void
WardenEntitySensor.doTick
(ServerLevel p_217833_, Warden p_217834_) HoglinSpecificSensor.findNearestRepellent
(ServerLevel p_26665_, Hoglin p_26666_) PiglinSpecificSensor.findNearestRepellent
(ServerLevel p_26735_, LivingEntity p_26736_) private static boolean
PiglinSpecificSensor.isValidRepellent
(ServerLevel p_26729_, BlockPos p_26730_) final void
Sensor.tick
(ServerLevel p_26807_, E p_26808_) -
Uses of ServerLevel in net.minecraft.world.entity.ai.village
Modifier and TypeMethodDescriptionprivate Vec3
VillageSiege.findRandomSpawnPos
(ServerLevel p_27010_, BlockPos p_27011_) int
VillageSiege.tick
(ServerLevel p_27013_, boolean p_27014_, boolean p_27015_) private void
VillageSiege.trySpawn
(ServerLevel p_27017_) private boolean
VillageSiege.tryToSetupSiege
(ServerLevel p_27008_) -
Uses of ServerLevel in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionBee.getBreedOffspring
(ServerLevel p_148760_, AgeableMob p_148761_) Cat.getBreedOffspring
(ServerLevel p_148870_, AgeableMob p_148871_) Chicken.getBreedOffspring
(ServerLevel p_148884_, AgeableMob p_148885_) Cow.getBreedOffspring
(ServerLevel p_148890_, AgeableMob p_148891_) Fox.getBreedOffspring
(ServerLevel p_148912_, AgeableMob p_148913_) MushroomCow.getBreedOffspring
(ServerLevel p_148942_, AgeableMob p_148943_) Ocelot.getBreedOffspring
(ServerLevel p_148956_, AgeableMob p_148957_) Panda.getBreedOffspring
(ServerLevel p_148967_, AgeableMob p_148968_) Parrot.getBreedOffspring
(ServerLevel p_148993_, AgeableMob p_148994_) Pig.getBreedOffspring
(ServerLevel p_149001_, AgeableMob p_149002_) PolarBear.getBreedOffspring
(ServerLevel p_149005_, AgeableMob p_149006_) Rabbit.getBreedOffspring
(ServerLevel p_149035_, AgeableMob p_149036_) Sheep.getBreedOffspring
(ServerLevel p_149044_, AgeableMob p_149045_) Turtle.getBreedOffspring
(ServerLevel p_149068_, AgeableMob p_149069_) Wolf.getBreedOffspring
(ServerLevel p_149088_, AgeableMob p_149089_) void
Animal.spawnChildFromBreeding
(ServerLevel p_27564_, Animal p_27565_) void
MushroomCow.thunderHit
(ServerLevel p_28921_, LightningBolt p_28922_) void
Pig.thunderHit
(ServerLevel p_29473_, LightningBolt p_29474_) void
Turtle.thunderHit
(ServerLevel p_30140_, LightningBolt p_30141_) -
Uses of ServerLevel in net.minecraft.world.entity.animal.allay
Modifier and TypeMethodDescriptionboolean
Allay.JukeboxListener.handleGameEvent
(ServerLevel p_240002_, GameEvent.Message p_240003_) void
Allay.AllayVibrationListenerConfig.onSignalReceive
(ServerLevel p_239108_, GameEventListener p_239109_, BlockPos p_239110_, GameEvent p_239111_, @Nullable Entity p_239112_, @Nullable Entity p_239113_, float p_239114_) boolean
Allay.AllayVibrationListenerConfig.shouldListen
(ServerLevel p_239787_, GameEventListener p_239788_, BlockPos p_239789_, GameEvent p_239790_, GameEvent.Context p_239791_) Modifier and TypeMethodDescriptionvoid
Allay.updateDynamicGameEventListener
(BiConsumer<DynamicGameEventListener<?>, ServerLevel> p_218348_) -
Uses of ServerLevel in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionprotected boolean
PlayDead.canStillUse
(ServerLevel p_149322_, Axolotl p_149323_, long p_149324_) protected boolean
PlayDead.checkExtraStartConditions
(ServerLevel p_149319_, Axolotl p_149320_) Axolotl.getBreedOffspring
(ServerLevel p_149112_, AgeableMob p_149113_) protected void
PlayDead.start
(ServerLevel p_149330_, Axolotl p_149331_, long p_149332_) protected void
ValidatePlayDead.start
(ServerLevel p_149339_, Axolotl p_149340_, long p_149341_) -
Uses of ServerLevel in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionprotected boolean
ShootTongue.canStillUse
(ServerLevel p_218633_, Frog p_218634_, long p_218635_) protected boolean
ShootTongue.checkExtraStartConditions
(ServerLevel p_218630_, Frog p_218631_) private void
ShootTongue.eatEntity
(ServerLevel p_218641_, Frog p_218642_) Frog.getBreedOffspring
(ServerLevel p_218476_, AgeableMob p_218477_) void
Frog.spawnChildFromBreeding
(ServerLevel p_218479_, Animal p_218480_) protected void
ShootTongue.start
(ServerLevel p_218644_, Frog p_218645_, long p_218646_) protected void
ShootTongue.stop
(ServerLevel p_218652_, Frog p_218653_, long p_218654_) protected void
ShootTongue.tick
(ServerLevel p_218660_, Frog p_218661_, long p_218662_) -
Uses of ServerLevel in net.minecraft.world.entity.animal.goat
Modifier and TypeMethodDescriptionGoat.getBreedOffspring
(ServerLevel p_149376_, AgeableMob p_149377_) -
Uses of ServerLevel in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescriptionAbstractHorse.getBreedOffspring
(ServerLevel p_149506_, AgeableMob p_149507_) Donkey.getBreedOffspring
(ServerLevel p_149530_, AgeableMob p_149531_) Horse.getBreedOffspring
(ServerLevel p_149533_, AgeableMob p_149534_) Llama.getBreedOffspring
(ServerLevel p_149545_, AgeableMob p_149546_) Mule.getBreedOffspring
(ServerLevel p_149549_, AgeableMob p_149550_) SkeletonHorse.getBreedOffspring
(ServerLevel p_149553_, AgeableMob p_149554_) ZombieHorse.getBreedOffspring
(ServerLevel p_149561_, AgeableMob p_149562_) -
Uses of ServerLevel in net.minecraft.world.entity.decoration
Modifier and TypeMethodDescriptionvoid
ArmorStand.thunderHit
(ServerLevel p_31576_, LightningBolt p_31577_) void
HangingEntity.thunderHit
(ServerLevel p_31712_, LightningBolt p_31713_) -
Uses of ServerLevel in net.minecraft.world.entity.item
Modifier and TypeMethodDescriptionItemEntity.changeDimension
(ServerLevel p_32042_, ITeleporter teleporter) -
Uses of ServerLevel in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionprivate void
ZombieVillager.finishConversion
(ServerLevel p_34399_) Strider.getBreedOffspring
(ServerLevel p_149861_, AgeableMob p_149862_) void
Creeper.thunderHit
(ServerLevel p_32286_, LightningBolt p_32287_) boolean
Zombie.wasKilled
(ServerLevel p_219160_, LivingEntity p_219161_) -
Uses of ServerLevel in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionprivate void
Hoglin.finishConversion
(ServerLevel p_34532_) Hoglin.getBreedOffspring
(ServerLevel p_149900_, AgeableMob p_149901_) -
Uses of ServerLevel in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionprotected boolean
StartAdmiringItemIfSeen.checkExtraStartConditions
(ServerLevel p_35149_, E p_35150_) protected boolean
StartHuntingHoglin.checkExtraStartConditions
(ServerLevel p_35164_, Piglin p_35165_) protected boolean
StopAdmiringIfItemTooFarAway.checkExtraStartConditions
(ServerLevel p_35221_, E p_35222_) protected boolean
StopAdmiringIfTiredOfTryingToReachItem.checkExtraStartConditions
(ServerLevel p_35240_, E p_35241_) protected boolean
StopHoldingItemIfNoLongerAdmiring.checkExtraStartConditions
(ServerLevel p_35255_, E p_35256_) protected void
AbstractPiglin.finishConversion
(ServerLevel p_34663_) protected void
Piglin.finishConversion
(ServerLevel p_34756_) protected void
RememberIfHoglinWasKilled.start
(ServerLevel p_35133_, E p_35134_, long p_35135_) protected void
StartAdmiringItemIfSeen.start
(ServerLevel p_35152_, E p_35153_, long p_35154_) protected void
StartHuntingHoglin.start
(ServerLevel p_35167_, E p_35168_, long p_35169_) protected void
StopAdmiringIfItemTooFarAway.start
(ServerLevel p_35224_, E p_35225_, long p_35226_) protected void
StopAdmiringIfTiredOfTryingToReachItem.start
(ServerLevel p_35243_, E p_35244_, long p_35245_) protected void
StopHoldingItemIfNoLongerAdmiring.start
(ServerLevel p_35258_, E p_35259_, long p_35260_) -
Uses of ServerLevel in net.minecraft.world.entity.monster.warden
Modifier and TypeMethodDescriptionstatic void
Warden.applyDarknessAround
(ServerLevel p_219376_, Vec3 p_219377_, Entity p_219378_, int p_219379_) private void
AngerManagement.convertFromUuids
(ServerLevel p_219262_) private static List<ServerPlayer>
WardenSpawnTracker.getNearbyPlayers
(ServerLevel p_219595_, BlockPos p_219596_) private static boolean
WardenSpawnTracker.hasNearbyWarden
(ServerLevel p_219575_, BlockPos p_219576_) void
Warden.onSignalReceive
(ServerLevel p_219362_, GameEventListener p_219363_, BlockPos p_219364_, GameEvent p_219365_, Entity p_219366_, Entity p_219367_, float p_219368_) boolean
Warden.shouldListen
(ServerLevel p_219370_, GameEventListener p_219371_, BlockPos p_219372_, GameEvent p_219373_, GameEvent.Context p_219374_) void
AngerManagement.tick
(ServerLevel p_219264_, Predicate<Entity> p_219265_) static OptionalInt
WardenSpawnTracker.tryWarn
(ServerLevel p_219578_, BlockPos p_219579_, ServerPlayer p_219580_) Modifier and TypeMethodDescriptionvoid
Warden.updateDynamicGameEventListener
(BiConsumer<DynamicGameEventListener<?>, ServerLevel> p_219413_) -
Uses of ServerLevel in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionAbstractVillager.changeDimension
(ServerLevel p_35295_, ITeleporter teleporter) Villager.getBreedOffspring
(ServerLevel p_150012_, AgeableMob p_150013_) WanderingTrader.getBreedOffspring
(ServerLevel p_150046_, AgeableMob p_150047_) void
Villager.gossip
(ServerLevel p_35412_, Villager p_35413_, long p_35414_) void
Villager.refreshBrain
(ServerLevel p_35484_) private boolean
WanderingTraderSpawner.spawn
(ServerLevel p_35916_) private int
CatSpawner.spawnCat
(BlockPos p_35334_, ServerLevel p_35335_) void
Villager.spawnGolemIfNeeded
(ServerLevel p_35398_, long p_35399_, int p_35400_) private int
CatSpawner.spawnInHut
(ServerLevel p_35337_, BlockPos p_35338_) private int
CatSpawner.spawnInVillage
(ServerLevel p_35327_, BlockPos p_35328_) void
Villager.thunderHit
(ServerLevel p_35409_, LightningBolt p_35410_) int
CatSpawner.tick
(ServerLevel p_35330_, boolean p_35331_, boolean p_35332_) int
WanderingTraderSpawner.tick
(ServerLevel p_35922_, boolean p_35923_, boolean p_35924_) private void
WanderingTraderSpawner.tryToSpawnLlamaFor
(ServerLevel p_35918_, WanderingTrader p_35919_, int p_35920_) -
Uses of ServerLevel in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionPlayer.findRespawnPositionAndUseSpawnBlock
(ServerLevel p_36131_, BlockPos p_36132_, float p_36133_, boolean p_36134_, boolean p_36135_) boolean
Player.wasKilled
(ServerLevel p_219735_, LivingEntity p_219736_) -
Uses of ServerLevel in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionThrownEnderpearl.changeDimension
(ServerLevel p_37506_, ITeleporter teleporter) -
Uses of ServerLevel in net.minecraft.world.entity.raid
Modifier and TypeFieldDescriptionprivate final ServerLevel
Raid.level
private final ServerLevel
Raids.level
Modifier and TypeMethodDescriptionprivate Raid
Raids.getOrCreateRaid
(ServerLevel p_37961_, BlockPos p_37962_) static Raids
Raids.load
(ServerLevel p_150236_, CompoundTag p_150237_) ModifierConstructorDescriptionRaid
(int p_37692_, ServerLevel p_37693_, BlockPos p_37694_) Raid
(ServerLevel p_37696_, CompoundTag p_37697_) Raids
(ServerLevel p_37956_) -
Uses of ServerLevel in net.minecraft.world.entity.vehicle
-
Uses of ServerLevel in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic void
MapItem.renderBiomePreviewMap
(ServerLevel p_42851_, ItemStack p_42852_) private void
MobBucketItem.spawn
(ServerLevel p_151142_, ItemStack p_151143_, BlockPos p_151144_) SpawnEggItem.spawnOffspringFromSpawnEgg
(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_) -
Uses of ServerLevel in net.minecraft.world.level
Modifier and TypeMethodDescriptionabstract ServerLevel
BaseCommandBlock.getLevel()
ServerLevelAccessor.getLevel()
Modifier and TypeMethodDescriptionprivate static boolean
NaturalSpawner.canSpawnMobAt
(ServerLevel p_220437_, StructureManager p_220438_, ChunkGenerator p_220439_, MobCategory p_220440_, MobSpawnSettings.SpawnerData p_220441_, BlockPos p_220442_) private static Mob
NaturalSpawner.getMobForSpawn
(ServerLevel p_46989_, EntityType<?> p_46990_) private static Optional<MobSpawnSettings.SpawnerData>
NaturalSpawner.getRandomSpawnMobAt
(ServerLevel p_220430_, StructureManager p_220431_, ChunkGenerator p_220432_, MobCategory p_220433_, RandomSource p_220434_, BlockPos p_220435_) static boolean
NaturalSpawner.isInNetherFortressBounds
(BlockPos p_220456_, ServerLevel p_220457_, MobCategory p_220458_, StructureManager p_220459_) private static boolean
NaturalSpawner.isRightDistanceToPlayerAndSpawnPoint
(ServerLevel p_47025_, ChunkAccess p_47026_, BlockPos.MutableBlockPos p_47027_, double p_47028_) private static boolean
NaturalSpawner.isValidPositionForMob
(ServerLevel p_46992_, Mob p_46993_, double p_46994_) private static boolean
NaturalSpawner.isValidSpawnPostitionForType
(ServerLevel p_220422_, MobCategory p_220423_, StructureManager p_220424_, ChunkGenerator p_220425_, MobSpawnSettings.SpawnerData p_220426_, BlockPos.MutableBlockPos p_220427_, double p_220428_) private static WeightedRandomList<MobSpawnSettings.SpawnerData>
NaturalSpawner.mobsAt
(ServerLevel p_220444_, StructureManager p_220445_, ChunkGenerator p_220446_, MobCategory p_220447_, BlockPos p_220448_, Holder<Biome> p_220449_) void
BaseSpawner.serverTick
(ServerLevel p_151312_, BlockPos p_151313_) static void
NaturalSpawner.spawnCategoryForChunk
(MobCategory p_47046_, ServerLevel p_47047_, LevelChunk p_47048_, NaturalSpawner.SpawnPredicate p_47049_, NaturalSpawner.AfterSpawnCallback p_47050_) static void
NaturalSpawner.spawnCategoryForPosition
(MobCategory p_151613_, ServerLevel p_151614_, BlockPos p_151615_) static void
NaturalSpawner.spawnCategoryForPosition
(MobCategory p_47039_, ServerLevel p_47040_, ChunkAccess p_47041_, BlockPos p_47042_, NaturalSpawner.SpawnPredicate p_47043_, NaturalSpawner.AfterSpawnCallback p_47044_) static void
NaturalSpawner.spawnForChunk
(ServerLevel p_47030_, LevelChunk p_47031_, NaturalSpawner.SpawnState p_47032_, boolean p_47033_, boolean p_47034_, boolean p_47035_) int
CustomSpawner.tick
(ServerLevel p_45839_, boolean p_45840_, boolean p_45841_) -
Uses of ServerLevel in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionvoid
SaplingBlock.advanceTree
(ServerLevel p_222001_, BlockPos p_222002_, BlockState p_222003_, RandomSource p_222004_) default void
ChangeOverTimeBlock.applyChangeOverTime
(BlockState p_220953_, ServerLevel p_220954_, BlockPos p_220955_, RandomSource p_220956_) static void
SculkCatalystBlock.bloom
(ServerLevel p_222095_, BlockPos p_222096_, BlockState p_222097_, RandomSource p_222098_) private static boolean
PointedDripstoneBlock.canTipGrow
(BlockState p_154195_, ServerLevel p_154196_, BlockPos p_154197_) protected void
DispenserBlock.dispenseFrom
(ServerLevel p_52665_, BlockPos p_52666_) protected void
DropperBlock.dispenseFrom
(ServerLevel p_52944_, BlockPos p_52945_) static Fluid
PointedDripstoneBlock.getCauldronFillFluidType
(ServerLevel p_221850_, BlockPos p_221851_) Block.getDrops
(BlockState p_49870_, ServerLevel p_49871_, BlockPos p_49872_, BlockEntity p_49873_) Block.getDrops
(BlockState p_49875_, ServerLevel p_49876_, BlockPos p_49877_, BlockEntity p_49878_, Entity p_49879_, ItemStack p_49880_) default <T extends BlockEntity>
GameEventListenerEntityBlock.getListener
(ServerLevel p_221121_, T p_221122_) <T extends BlockEntity>
GameEventListenerSculkCatalystBlock.getListener
(ServerLevel p_222092_, T p_222093_) <T extends BlockEntity>
GameEventListenerSculkSensorBlock.getListener
(ServerLevel p_222123_, T p_222124_) <T extends BlockEntity>
GameEventListenerSculkShriekerBlock.getListener
(ServerLevel p_222165_, T p_222166_) private static void
PointedDripstoneBlock.grow
(ServerLevel p_154036_, BlockPos p_154037_, Direction p_154038_) boolean
MushroomBlock.growMushroom
(ServerLevel p_221774_, BlockPos p_221775_, BlockState p_221776_, RandomSource p_221777_) static void
PointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible
(BlockState p_221888_, ServerLevel p_221889_, BlockPos p_221890_, RandomSource p_221891_) private static void
PointedDripstoneBlock.growStalagmiteBelow
(ServerLevel p_154033_, BlockPos p_154034_) private void
FrogspawnBlock.hatchFrogspawn
(ServerLevel p_221182_, BlockPos p_221183_, RandomSource p_221184_) static BlockState
ComposterBlock.insertItem
(BlockState p_51930_, ServerLevel p_51931_, ItemStack p_51932_, BlockPos p_51933_) static void
PointedDripstoneBlock.maybeTransferFluid
(BlockState p_221860_, ServerLevel p_221861_, BlockPos p_221862_, float p_221863_) default void
ChangeOverTimeBlock.onRandomTick
(BlockState p_220948_, ServerLevel p_220949_, BlockPos p_220950_, RandomSource p_220951_) void
AzaleaBlock.performBonemeal
(ServerLevel p_220707_, RandomSource p_220708_, BlockPos p_220709_, BlockState p_220710_) void
BambooBlock.performBonemeal
(ServerLevel p_220717_, RandomSource p_220718_, BlockPos p_220719_, BlockState p_220720_) void
BambooSaplingBlock.performBonemeal
(ServerLevel p_220743_, RandomSource p_220744_, BlockPos p_220745_, BlockState p_220746_) void
BigDripleafBlock.performBonemeal
(ServerLevel p_220783_, RandomSource p_220784_, BlockPos p_220785_, BlockState p_220786_) void
BigDripleafStemBlock.performBonemeal
(ServerLevel p_220803_, RandomSource p_220804_, BlockPos p_220805_, BlockState p_220806_) void
BonemealableBlock.performBonemeal
(ServerLevel p_220874_, RandomSource p_220875_, BlockPos p_220876_, BlockState p_220877_) void
CaveVinesBlock.performBonemeal
(ServerLevel p_220923_, RandomSource p_220924_, BlockPos p_220925_, BlockState p_220926_) void
CaveVinesPlantBlock.performBonemeal
(ServerLevel p_220938_, RandomSource p_220939_, BlockPos p_220940_, BlockState p_220941_) void
CocoaBlock.performBonemeal
(ServerLevel p_220990_, RandomSource p_220991_, BlockPos p_220992_, BlockState p_220993_) void
CropBlock.performBonemeal
(ServerLevel p_221040_, RandomSource p_221041_, BlockPos p_221042_, BlockState p_221043_) void
FungusBlock.performBonemeal
(ServerLevel p_221243_, RandomSource p_221244_, BlockPos p_221245_, BlockState p_221246_) void
GlowLichenBlock.performBonemeal
(ServerLevel p_221259_, RandomSource p_221260_, BlockPos p_221261_, BlockState p_221262_) void
GrassBlock.performBonemeal
(ServerLevel p_221270_, RandomSource p_221271_, BlockPos p_221272_, BlockState p_221273_) void
GrowingPlantBodyBlock.performBonemeal
(ServerLevel p_221285_, RandomSource p_221286_, BlockPos p_221287_, BlockState p_221288_) void
GrowingPlantHeadBlock.performBonemeal
(ServerLevel p_221337_, RandomSource p_221338_, BlockPos p_221339_, BlockState p_221340_) void
MangroveLeavesBlock.performBonemeal
(ServerLevel p_221427_, RandomSource p_221428_, BlockPos p_221429_, BlockState p_221430_) void
MangrovePropaguleBlock.performBonemeal
(ServerLevel p_221451_, RandomSource p_221452_, BlockPos p_221453_, BlockState p_221454_) void
MossBlock.performBonemeal
(ServerLevel p_221533_, RandomSource p_221534_, BlockPos p_221535_, BlockState p_221536_) void
MushroomBlock.performBonemeal
(ServerLevel p_221769_, RandomSource p_221770_, BlockPos p_221771_, BlockState p_221772_) void
NetherrackBlock.performBonemeal
(ServerLevel p_221811_, RandomSource p_221812_, BlockPos p_221813_, BlockState p_221814_) void
NyliumBlock.performBonemeal
(ServerLevel p_221825_, RandomSource p_221826_, BlockPos p_221827_, BlockState p_221828_) void
RootedDirtBlock.performBonemeal
(ServerLevel p_221974_, RandomSource p_221975_, BlockPos p_221976_, BlockState p_221977_) void
SaplingBlock.performBonemeal
(ServerLevel p_221996_, RandomSource p_221997_, BlockPos p_221998_, BlockState p_221999_) void
SeagrassBlock.performBonemeal
(ServerLevel p_222423_, RandomSource p_222424_, BlockPos p_222425_, BlockState p_222426_) void
SeaPickleBlock.performBonemeal
(ServerLevel p_222413_, RandomSource p_222414_, BlockPos p_222415_, BlockState p_222416_) void
SmallDripleafBlock.performBonemeal
(ServerLevel p_222433_, RandomSource p_222434_, BlockPos p_222435_, BlockState p_222436_) void
StemBlock.performBonemeal
(ServerLevel p_222528_, RandomSource p_222529_, BlockPos p_222530_, BlockState p_222531_) void
SweetBerryBushBlock.performBonemeal
(ServerLevel p_222553_, RandomSource p_222554_, BlockPos p_222555_, BlockState p_222556_) void
TallFlowerBlock.performBonemeal
(ServerLevel p_222568_, RandomSource p_222569_, BlockPos p_222570_, BlockState p_222571_) void
TallGrassBlock.performBonemeal
(ServerLevel p_222578_, RandomSource p_222579_, BlockPos p_222580_, BlockState p_222581_) void
Block.popExperience
(ServerLevel p_49806_, BlockPos p_49807_, int p_49808_) void
BambooBlock.randomTick
(BlockState p_220738_, ServerLevel p_220739_, BlockPos p_220740_, RandomSource p_220741_) void
BambooSaplingBlock.randomTick
(BlockState p_220753_, ServerLevel p_220754_, BlockPos p_220755_, RandomSource p_220756_) void
BeetrootBlock.randomTick
(BlockState p_220778_, ServerLevel p_220779_, BlockPos p_220780_, RandomSource p_220781_) void
BuddingAmethystBlock.randomTick
(BlockState p_220898_, ServerLevel p_220899_, BlockPos p_220900_, RandomSource p_220901_) void
CactusBlock.randomTick
(BlockState p_220913_, ServerLevel p_220914_, BlockPos p_220915_, RandomSource p_220916_) void
ChorusFlowerBlock.randomTick
(BlockState p_220980_, ServerLevel p_220981_, BlockPos p_220982_, RandomSource p_220983_) void
CocoaBlock.randomTick
(BlockState p_221000_, ServerLevel p_221001_, BlockPos p_221002_, RandomSource p_221003_) void
CropBlock.randomTick
(BlockState p_221050_, ServerLevel p_221051_, BlockPos p_221052_, RandomSource p_221053_) void
FarmBlock.randomTick
(BlockState p_221139_, ServerLevel p_221140_, BlockPos p_221141_, RandomSource p_221142_) void
FrostedIceBlock.randomTick
(BlockState p_221238_, ServerLevel p_221239_, BlockPos p_221240_, RandomSource p_221241_) void
GrowingPlantHeadBlock.randomTick
(BlockState p_221350_, ServerLevel p_221351_, BlockPos p_221352_, RandomSource p_221353_) void
IceBlock.randomTick
(BlockState p_221355_, ServerLevel p_221356_, BlockPos p_221357_, RandomSource p_221358_) void
LeavesBlock.randomTick
(BlockState p_221379_, ServerLevel p_221380_, BlockPos p_221381_, RandomSource p_221382_) void
LiquidBlock.randomTick
(BlockState p_221410_, ServerLevel p_221411_, BlockPos p_221412_, RandomSource p_221413_) void
MagmaBlock.randomTick
(BlockState p_221420_, ServerLevel p_221421_, BlockPos p_221422_, RandomSource p_221423_) void
MangrovePropaguleBlock.randomTick
(BlockState p_221488_, ServerLevel p_221489_, BlockPos p_221490_, RandomSource p_221491_) void
MushroomBlock.randomTick
(BlockState p_221784_, ServerLevel p_221785_, BlockPos p_221786_, RandomSource p_221787_) void
NetherPortalBlock.randomTick
(BlockState p_221799_, ServerLevel p_221800_, BlockPos p_221801_, RandomSource p_221802_) void
NetherWartBlock.randomTick
(BlockState p_221806_, ServerLevel p_221807_, BlockPos p_221808_, RandomSource p_221809_) void
NyliumBlock.randomTick
(BlockState p_221835_, ServerLevel p_221836_, BlockPos p_221837_, RandomSource p_221838_) void
PointedDripstoneBlock.randomTick
(BlockState p_221883_, ServerLevel p_221884_, BlockPos p_221885_, RandomSource p_221886_) void
RedStoneOreBlock.randomTick
(BlockState p_221918_, ServerLevel p_221919_, BlockPos p_221920_, RandomSource p_221921_) void
SaplingBlock.randomTick
(BlockState p_222011_, ServerLevel p_222012_, BlockPos p_222013_, RandomSource p_222014_) void
SnowLayerBlock.randomTick
(BlockState p_222448_, ServerLevel p_222449_, BlockPos p_222450_, RandomSource p_222451_) void
SpreadingSnowyDirtBlock.randomTick
(BlockState p_222508_, ServerLevel p_222509_, BlockPos p_222510_, RandomSource p_222511_) void
StairBlock.randomTick
(BlockState p_222523_, ServerLevel p_222524_, BlockPos p_222525_, RandomSource p_222526_) void
StemBlock.randomTick
(BlockState p_222538_, ServerLevel p_222539_, BlockPos p_222540_, RandomSource p_222541_) void
SugarCaneBlock.randomTick
(BlockState p_222548_, ServerLevel p_222549_, BlockPos p_222550_, RandomSource p_222551_) void
SweetBerryBushBlock.randomTick
(BlockState p_222563_, ServerLevel p_222564_, BlockPos p_222565_, RandomSource p_222566_) void
TurtleEggBlock.randomTick
(BlockState p_222644_, ServerLevel p_222645_, BlockPos p_222646_, RandomSource p_222647_) void
VineBlock.randomTick
(BlockState p_222655_, ServerLevel p_222656_, BlockPos p_222657_, RandomSource p_222658_) void
WeatheringCopperFullBlock.randomTick
(BlockState p_222665_, ServerLevel p_222666_, BlockPos p_222667_, RandomSource p_222668_) void
WeatheringCopperSlabBlock.randomTick
(BlockState p_222670_, ServerLevel p_222671_, BlockPos p_222672_, RandomSource p_222673_) void
WeatheringCopperStairBlock.randomTick
(BlockState p_222675_, ServerLevel p_222676_, BlockPos p_222677_, RandomSource p_222678_) void
DropExperienceBlock.spawnAfterBreak
(BlockState p_221086_, ServerLevel p_221087_, BlockPos p_221088_, ItemStack p_221089_, boolean p_221090_) void
InfestedBlock.spawnAfterBreak
(BlockState p_221360_, ServerLevel p_221361_, BlockPos p_221362_, ItemStack p_221363_, boolean p_221364_) void
RedStoneOreBlock.spawnAfterBreak
(BlockState p_221907_, ServerLevel p_221908_, BlockPos p_221909_, ItemStack p_221910_, boolean p_221911_) void
SculkCatalystBlock.spawnAfterBreak
(BlockState p_222109_, ServerLevel p_222110_, BlockPos p_222111_, ItemStack p_222112_, boolean p_222113_) void
SculkSensorBlock.spawnAfterBreak
(BlockState p_222142_, ServerLevel p_222143_, BlockPos p_222144_, ItemStack p_222145_, boolean p_222146_) void
SculkShriekerBlock.spawnAfterBreak
(BlockState p_222192_, ServerLevel p_222193_, BlockPos p_222194_, ItemStack p_222195_, boolean p_222196_) void
SpawnerBlock.spawnAfterBreak
(BlockState p_222477_, ServerLevel p_222478_, BlockPos p_222479_, ItemStack p_222480_, boolean p_222481_) private static void
PointedDripstoneBlock.spawnFallingStalactite
(BlockState p_154098_, ServerLevel p_154099_, BlockPos p_154100_) private void
InfestedBlock.spawnInfestation
(ServerLevel p_54181_, BlockPos p_54182_) private void
FrogspawnBlock.spawnTadpoles
(ServerLevel p_221221_, BlockPos p_221222_, RandomSource p_221223_) void
AbstractCauldronBlock.tick
(BlockState p_220702_, ServerLevel p_220703_, BlockPos p_220704_, RandomSource p_220705_) void
BambooBlock.tick
(BlockState p_220727_, ServerLevel p_220728_, BlockPos p_220729_, RandomSource p_220730_) void
BarrelBlock.tick
(BlockState p_220758_, ServerLevel p_220759_, BlockPos p_220760_, RandomSource p_220761_) void
BasePressurePlateBlock.tick
(BlockState p_220768_, ServerLevel p_220769_, BlockPos p_220770_, RandomSource p_220771_) void
BigDripleafBlock.tick
(BlockState p_220798_, ServerLevel p_220799_, BlockPos p_220800_, RandomSource p_220801_) void
BigDripleafStemBlock.tick
(BlockState p_220813_, ServerLevel p_220814_, BlockPos p_220815_, RandomSource p_220816_) void
BubbleColumnBlock.tick
(BlockState p_220888_, ServerLevel p_220889_, BlockPos p_220890_, RandomSource p_220891_) void
ButtonBlock.tick
(BlockState p_220903_, ServerLevel p_220904_, BlockPos p_220905_, RandomSource p_220906_) void
CactusBlock.tick
(BlockState p_220908_, ServerLevel p_220909_, BlockPos p_220910_, RandomSource p_220911_) void
ChestBlock.tick
(BlockState p_220958_, ServerLevel p_220959_, BlockPos p_220960_, RandomSource p_220961_) void
ChorusFlowerBlock.tick
(BlockState p_220975_, ServerLevel p_220976_, BlockPos p_220977_, RandomSource p_220978_) void
ChorusPlantBlock.tick
(BlockState p_220985_, ServerLevel p_220986_, BlockPos p_220987_, RandomSource p_220988_) void
CommandBlock.tick
(BlockState p_221005_, ServerLevel p_221006_, BlockPos p_221007_, RandomSource p_221008_) void
ComparatorBlock.tick
(BlockState p_221010_, ServerLevel p_221011_, BlockPos p_221012_, RandomSource p_221013_) void
ComposterBlock.tick
(BlockState p_221015_, ServerLevel p_221016_, BlockPos p_221017_, RandomSource p_221018_) void
CoralBlock.tick
(BlockState p_221020_, ServerLevel p_221021_, BlockPos p_221022_, RandomSource p_221023_) void
CoralFanBlock.tick
(BlockState p_221025_, ServerLevel p_221026_, BlockPos p_221027_, RandomSource p_221028_) void
CoralPlantBlock.tick
(BlockState p_221030_, ServerLevel p_221031_, BlockPos p_221032_, RandomSource p_221033_) void
CoralWallFanBlock.tick
(BlockState p_221035_, ServerLevel p_221036_, BlockPos p_221037_, RandomSource p_221038_) void
DetectorRailBlock.tick
(BlockState p_221060_, ServerLevel p_221061_, BlockPos p_221062_, RandomSource p_221063_) void
DiodeBlock.tick
(BlockState p_221065_, ServerLevel p_221066_, BlockPos p_221067_, RandomSource p_221068_) void
DirtPathBlock.tick
(BlockState p_221070_, ServerLevel p_221071_, BlockPos p_221072_, RandomSource p_221073_) void
DispenserBlock.tick
(BlockState p_221075_, ServerLevel p_221076_, BlockPos p_221077_, RandomSource p_221078_) void
EnderChestBlock.tick
(BlockState p_221112_, ServerLevel p_221113_, BlockPos p_221114_, RandomSource p_221115_) void
FallingBlock.tick
(BlockState p_221124_, ServerLevel p_221125_, BlockPos p_221126_, RandomSource p_221127_) void
FarmBlock.tick
(BlockState p_221134_, ServerLevel p_221135_, BlockPos p_221136_, RandomSource p_221137_) void
FireBlock.tick
(BlockState p_221160_, ServerLevel p_221161_, BlockPos p_221162_, RandomSource p_221163_) void
FrogspawnBlock.tick
(BlockState p_221194_, ServerLevel p_221195_, BlockPos p_221196_, RandomSource p_221197_) void
FrostedIceBlock.tick
(BlockState p_221233_, ServerLevel p_221234_, BlockPos p_221235_, RandomSource p_221236_) void
GrowingPlantBlock.tick
(BlockState p_221280_, ServerLevel p_221281_, BlockPos p_221282_, RandomSource p_221283_) void
LeavesBlock.tick
(BlockState p_221369_, ServerLevel p_221370_, BlockPos p_221371_, RandomSource p_221372_) void
LecternBlock.tick
(BlockState p_221388_, ServerLevel p_221389_, BlockPos p_221390_, RandomSource p_221391_) void
LightningRodBlock.tick
(BlockState p_221400_, ServerLevel p_221401_, BlockPos p_221402_, RandomSource p_221403_) void
MagmaBlock.tick
(BlockState p_221415_, ServerLevel p_221416_, BlockPos p_221417_, RandomSource p_221418_) void
ObserverBlock.tick
(BlockState p_221840_, ServerLevel p_221841_, BlockPos p_221842_, RandomSource p_221843_) void
PointedDripstoneBlock.tick
(BlockState p_221865_, ServerLevel p_221866_, BlockPos p_221867_, RandomSource p_221868_) void
RedstoneLampBlock.tick
(BlockState p_221937_, ServerLevel p_221938_, BlockPos p_221939_, RandomSource p_221940_) void
RedstoneTorchBlock.tick
(BlockState p_221949_, ServerLevel p_221950_, BlockPos p_221951_, RandomSource p_221952_) void
ScaffoldingBlock.tick
(BlockState p_222019_, ServerLevel p_222020_, BlockPos p_222021_, RandomSource p_222022_) void
SculkCatalystBlock.tick
(BlockState p_222104_, ServerLevel p_222105_, BlockPos p_222106_, RandomSource p_222107_) void
SculkSensorBlock.tick
(BlockState p_222137_, ServerLevel p_222138_, BlockPos p_222139_, RandomSource p_222140_) void
SculkShriekerBlock.tick
(BlockState p_222187_, ServerLevel p_222188_, BlockPos p_222189_, RandomSource p_222190_) void
SoulSandBlock.tick
(BlockState p_222457_, ServerLevel p_222458_, BlockPos p_222459_, RandomSource p_222460_) void
StairBlock.tick
(BlockState p_222513_, ServerLevel p_222514_, BlockPos p_222515_, RandomSource p_222516_) void
SugarCaneBlock.tick
(BlockState p_222543_, ServerLevel p_222544_, BlockPos p_222545_, RandomSource p_222546_) void
TargetBlock.tick
(BlockState p_222588_, ServerLevel p_222589_, BlockPos p_222590_, RandomSource p_222591_) void
TripWireBlock.tick
(BlockState p_222598_, ServerLevel p_222599_, BlockPos p_222600_, RandomSource p_222601_) void
TripWireHookBlock.tick
(BlockState p_222610_, ServerLevel p_222611_, BlockPos p_222612_, RandomSource p_222613_) private void
StructureBlock.trigger
(ServerLevel p_57115_, StructureBlockEntity p_57116_) protected void
Block.tryDropExperience
(ServerLevel p_220823_, BlockPos p_220824_, ItemStack p_220825_, IntProvider p_220826_) -
Uses of ServerLevel in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionprivate boolean
SculkShriekerBlockEntity.canRespond
(ServerLevel p_222873_) private static void
AbstractFurnaceBlockEntity.createExperience
(ServerLevel p_154999_, Vec3 p_155000_, int p_155001_, float p_155002_) private static Vec3
TheEndGatewayBlockEntity.findExitPortalXZPosTentative
(ServerLevel p_155842_, BlockPos p_155843_) private static BlockPos
TheEndGatewayBlockEntity.findOrCreateValidTeleportPos
(ServerLevel p_155819_, BlockPos p_155820_) void
JigsawBlockEntity.generate
(ServerLevel p_59421_, int p_59422_, boolean p_59423_) AbstractFurnaceBlockEntity.getRecipesToAwardAndPopExperience
(ServerLevel p_154996_, Vec3 p_154997_) boolean
SculkCatalystBlockEntity.handleGameEvent
(ServerLevel p_222777_, GameEvent.Message p_222778_) private static boolean
TheEndGatewayBlockEntity.isChunkEmpty
(ServerLevel p_155816_, Vec3 p_155817_) boolean
StructureBlockEntity.loadStructure
(ServerLevel p_59843_) boolean
StructureBlockEntity.loadStructure
(ServerLevel p_59845_, boolean p_59846_) boolean
StructureBlockEntity.loadStructure
(ServerLevel p_59848_, boolean p_59849_, StructureTemplate p_59850_) void
SculkSensorBlockEntity.onSignalReceive
(ServerLevel p_222803_, GameEventListener p_222804_, BlockPos p_222805_, GameEvent p_222806_, Entity p_222807_, Entity p_222808_, float p_222809_) void
SculkShriekerBlockEntity.onSignalReceive
(ServerLevel p_222848_, GameEventListener p_222849_, BlockPos p_222850_, GameEvent p_222851_, Entity p_222852_, Entity p_222853_, float p_222854_) boolean
SculkSensorBlockEntity.shouldListen
(ServerLevel p_222811_, GameEventListener p_222812_, BlockPos p_222813_, GameEvent p_222814_, GameEvent.Context p_222815_) boolean
SculkShriekerBlockEntity.shouldListen
(ServerLevel p_222856_, GameEventListener p_222857_, BlockPos p_222858_, GameEvent p_222859_, GameEvent.Context p_222860_) private void
SculkShriekerBlockEntity.shriek
(ServerLevel p_222845_, Entity p_222846_) private static void
TheEndGatewayBlockEntity.spawnGatewayPortal
(ServerLevel p_155822_, BlockPos p_155823_, EndGatewayConfiguration p_155824_) void
SculkShriekerBlockEntity.tryRespond
(ServerLevel p_222840_) void
SculkShriekerBlockEntity.tryShriek
(ServerLevel p_222842_, ServerPlayer p_222843_) private boolean
SculkShriekerBlockEntity.trySummonWarden
(ServerLevel p_222881_) private boolean
SculkShriekerBlockEntity.tryToWarn
(ServerLevel p_222875_, ServerPlayer p_222876_) -
Uses of ServerLevel in net.minecraft.world.level.block.grower
Modifier and TypeMethodDescriptionprotected Holder<? extends ConfiguredFeature<?,
?>> AbstractTreeGrower.getConfiguredFeature
(ServerLevel level, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, RandomSource random, boolean hasFlowers) protected Holder<? extends ConfiguredFeature<?,
?>> AbstractMegaTreeGrower.getConfiguredMegaFeature
(ServerLevel level, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, RandomSource random) boolean
AbstractMegaTreeGrower.growTree
(ServerLevel p_222891_, ChunkGenerator p_222892_, BlockPos p_222893_, BlockState p_222894_, RandomSource p_222895_) boolean
AbstractTreeGrower.growTree
(ServerLevel p_222905_, ChunkGenerator p_222906_, BlockPos p_222907_, BlockState p_222908_, RandomSource p_222909_) boolean
AbstractMegaTreeGrower.placeMega
(ServerLevel p_222897_, ChunkGenerator p_222898_, BlockPos p_222899_, BlockState p_222900_, RandomSource p_222901_, int p_222902_, int p_222903_) -
Uses of ServerLevel in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.randomTick
(ServerLevel p_222973_, BlockPos p_222974_, RandomSource p_222975_) void
BlockBehaviour.randomTick
(BlockState p_222954_, ServerLevel p_222955_, BlockPos p_222956_, RandomSource p_222957_) Deprecated.void
BlockBehaviour.BlockStateBase.spawnAfterBreak
(ServerLevel p_222968_, BlockPos p_222969_, ItemStack p_222970_, boolean p_222971_) void
BlockBehaviour.spawnAfterBreak
(BlockState p_222949_, ServerLevel p_222950_, BlockPos p_222951_, ItemStack p_222952_, boolean p_222953_) Deprecated.void
BlockBehaviour.BlockStateBase.tick
(ServerLevel p_222964_, BlockPos p_222965_, RandomSource p_222966_) void
BlockBehaviour.tick
(BlockState p_222945_, ServerLevel p_222946_, BlockPos p_222947_, RandomSource p_222948_) Deprecated. -
Uses of ServerLevel in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionprivate <T extends BlockEntity>
voidLevelChunk.addGameEventListener
(T p_223416_, ServerLevel p_223417_) CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.GenerationTask.doWork
(ChunkStatus p_223371_, Executor p_223372_, ServerLevel p_223373_, ChunkGenerator p_223374_, StructureTemplateManager p_223375_, ThreadedLevelLightEngine p_223376_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223377_, List<ChunkAccess> p_223378_, ChunkAccess p_223379_, boolean p_223380_) CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.LoadingTask.doWork
(ChunkStatus p_223382_, ServerLevel p_223383_, StructureTemplateManager p_223384_, ThreadedLevelLightEngine p_223385_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223386_, ChunkAccess p_223387_) default CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus p_223389_, Executor p_223390_, ServerLevel p_223391_, ChunkGenerator p_223392_, StructureTemplateManager p_223393_, ThreadedLevelLightEngine p_223394_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223395_, List<ChunkAccess> p_223396_, ChunkAccess p_223397_, boolean p_223398_) void
ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus p_156323_, ServerLevel p_156324_, ChunkGenerator p_156325_, List<ChunkAccess> p_156326_, ChunkAccess p_156327_) ChunkGenerator.findNearestMapStructure
(ServerLevel p_223038_, HolderSet<Structure> p_223039_, BlockPos p_223040_, int p_223041_, boolean p_223042_) CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.generate
(Executor p_223280_, ServerLevel p_223281_, ChunkGenerator p_223282_, StructureTemplateManager p_223283_, ThreadedLevelLightEngine p_223284_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223285_, List<ChunkAccess> p_223286_, boolean p_223287_) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223182_, ServerLevel p_223183_, StructureManager p_223184_, BlockPos p_223185_, boolean p_223186_, ConcentricRingsStructurePlacement p_223187_) CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.load
(ServerLevel p_223245_, StructureTemplateManager p_223246_, ThreadedLevelLightEngine p_223247_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_223248_, ChunkAccess p_223249_) void
LevelChunk.registerTickContainerInLevel
(ServerLevel p_187959_) private <T extends BlockEntity>
voidLevelChunk.removeGameEventListener
(T p_223413_, ServerLevel p_223414_) void
LevelChunk.unregisterTickContainerFromLevel
(ServerLevel p_187980_) ModifierConstructorDescriptionLevelChunk
(ServerLevel p_196850_, ProtoChunk p_196851_, LevelChunk.PostLoadProcessor p_196852_) -
Uses of ServerLevel in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static LevelChunk.PostLoadProcessor
ChunkSerializer.postLoadChunk
(ServerLevel p_196891_, CompoundTag p_196892_) static ProtoChunk
ChunkSerializer.read
(ServerLevel p_188231_, PoiManager p_188232_, ChunkPos p_188233_, CompoundTag p_188234_) private static void
ChunkSerializer.saveTicks
(ServerLevel p_188236_, CompoundTag p_188237_, ChunkAccess.TicksToSave p_188238_) static CompoundTag
ChunkSerializer.write
(ServerLevel p_63455_, ChunkAccess p_63456_) ModifierConstructorDescriptionEntityStorage
(ServerLevel p_196924_, Path p_196925_, com.mojang.datafixers.DataFixer p_196926_, boolean p_196927_, Executor p_196928_) -
Uses of ServerLevel in net.minecraft.world.level.dimension.end
Modifier and TypeMethodDescriptionabstract void
DragonRespawnAnimation.tick
(ServerLevel p_64005_, EndDragonFight p_64006_, List<EndCrystal> p_64007_, int p_64008_, BlockPos p_64009_) ModifierConstructorDescriptionEndDragonFight
(ServerLevel p_64078_, long p_64079_, CompoundTag p_64080_) -
Uses of ServerLevel in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionvoid
DynamicGameEventListener.add
(ServerLevel p_223618_) EuclideanGameEventDispatcher.getPostableListenerPosition
(ServerLevel p_223688_, Vec3 p_223689_, GameEventListener p_223690_) boolean
GameEventListener.handleGameEvent
(ServerLevel p_223757_, GameEvent.Message p_223758_) void
DynamicGameEventListener.move
(ServerLevel p_223642_) void
DynamicGameEventListener.remove
(ServerLevel p_223635_) -
Uses of ServerLevel in net.minecraft.world.level.gameevent.vibrations
Modifier and TypeMethodDescriptionVibrationListener.ReceivingEvent.getEntity
(ServerLevel p_223831_) VibrationListener.ReceivingEvent.getProjectileOwner
(ServerLevel p_223846_) boolean
VibrationListener.handleGameEvent
(ServerLevel p_223767_, GameEvent.Message p_223768_) void
VibrationListener.VibrationListenerConfig.onSignalReceive
(ServerLevel p_223865_, GameEventListener p_223866_, BlockPos p_223867_, GameEvent p_223868_, Entity p_223869_, Entity p_223870_, float p_223871_) private void
VibrationListener.scheduleSignal
(ServerLevel p_223770_, GameEvent p_223771_, GameEvent.Context p_223772_, Vec3 p_223773_, Vec3 p_223774_) boolean
VibrationListener.VibrationListenerConfig.shouldListen
(ServerLevel p_223872_, GameEventListener p_223873_, BlockPos p_223874_, GameEvent p_223875_, GameEvent.Context p_223876_) -
Uses of ServerLevel in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionprivate boolean
PatrolSpawner.spawnPatrolMember
(ServerLevel p_224533_, BlockPos p_224534_, RandomSource p_224535_, boolean p_224536_) int
PatrolSpawner.tick
(ServerLevel p_64570_, boolean p_64571_, boolean p_64572_) int
PhantomSpawner.tick
(ServerLevel p_64576_, boolean p_64577_, boolean p_64578_) -
Uses of ServerLevel in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionprivate static final com.google.common.cache.LoadingCache<ServerLevel,
FeatureCountTracker.LevelData> FeatureCountTracker.data
Modifier and TypeMethodDescriptionstatic void
FeatureCountTracker.chunkDecorated
(ServerLevel p_190882_) static void
FeatureCountTracker.featurePlaced
(ServerLevel p_190884_, ConfiguredFeature<?, ?> p_190885_, Optional<PlacedFeature> p_190886_) -
Uses of ServerLevel in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeMethodDescriptionStructurePieceSerializationContext.fromLevel
(ServerLevel p_192771_) -
Uses of ServerLevel in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeMethodDescriptionstatic boolean
JigsawPlacement.generateJigsaw
(ServerLevel p_227204_, Holder<StructureTemplatePool> p_227205_, ResourceLocation p_227206_, int p_227207_, BlockPos p_227208_, boolean p_227209_) -
Uses of ServerLevel in net.minecraft.world.level.portal
Modifier and TypeMethodDescriptionstatic PortalInfo
PortalShape.createPortalInfo
(ServerLevel p_77700_, BlockUtil.FoundRectangle p_77701_, Direction.Axis p_77702_, Vec3 p_77703_, EntityDimensions p_77704_, Vec3 p_77705_, float p_77706_, float p_77707_) -
Uses of ServerLevel in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprivate final ServerLevel
LootContext.Builder.level
private final ServerLevel
LootContext.level
ModifierConstructorDescriptionBuilder
(ServerLevel p_78961_) (package private)
LootContext
(RandomSource p_230900_, float p_230901_, ServerLevel p_230902_, Function<ResourceLocation, LootTable> p_230903_, Function<ResourceLocation, LootItemCondition> p_230904_, Map<LootContextParam<?>, Object> p_230905_, Map<ResourceLocation, LootContext.DynamicDrop> p_230906_) private
LootContext
(RandomSource rand, float luckIn, ServerLevel worldIn, Function<ResourceLocation, LootTable> lootTableManagerIn, Function<ResourceLocation, LootItemCondition> p_i225885_5_, Map<LootContextParam<?>, Object> parametersIn, Map<ResourceLocation, LootContext.DynamicDrop> conditionsIn, ResourceLocation queriedLootTableId) -
Uses of ServerLevel in net.minecraftforge.client
-
Uses of ServerLevel in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.addLandingEffects
(BlockState state1, ServerLevel level, 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
(ServerLevel level, 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 ServerLevel in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionstatic FakePlayer
FakePlayerFactory.get
(ServerLevel level, 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
(ServerLevel level) default @Nullable PortalInfo
ITeleporter.getPortalInfo
(Entity entity, ServerLevel destWorld, Function<ServerLevel, PortalInfo> defaultPortalInfo) Gets the PortalInfo.default Entity
ITeleporter.placeEntity
(Entity entity, ServerLevel currentWorld, ServerLevel destWorld, float yaw, Function<Boolean, Entity> repositionEntity) Called to handle placing the entity in the new world.default boolean
ITeleporter.playTeleportSound
(ServerPlayer player, ServerLevel sourceWorld, ServerLevel destWorld) Called when vanilla wants to play the portal sound after teleporting.static void
FakePlayerFactory.unloadLevel
(ServerLevel level) Modifier and TypeMethodDescriptiondefault @Nullable PortalInfo
ITeleporter.getPortalInfo
(Entity entity, ServerLevel destWorld, Function<ServerLevel, PortalInfo> defaultPortalInfo) Gets the PortalInfo. -
Uses of ServerLevel in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionstatic boolean
ForgeChunkManager.forceChunk
(ServerLevel level, 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
(ServerLevel level, 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.static boolean
ForgeChunkManager.forceChunk
(ServerLevel level, 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.private static <T extends Comparable<? super T>>
booleanForgeChunkManager.forceChunk
(ServerLevel level, String modId, T owner, int chunkX, int chunkZ, boolean add, boolean ticking, TicketType<ForgeChunkManager.TicketOwner<T>> type, Function<ForcedChunksSavedData, 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
(ServerLevel level, ChunkPos pos, TicketType<ForgeChunkManager.TicketOwner<T>> type, ForgeChunkManager.TicketOwner<T> owner, boolean add, boolean ticking) Adds/Removes a ticket from the level's chunk provider with the proper levels to match the forced chunks.static boolean
ForgeChunkManager.hasForcedChunks
(ServerLevel level) Checks if a level has any forced chunks.private static <T extends Comparable<? super T>>
voidForgeChunkManager.reinstatePersistentChunks
(ServerLevel level, 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 level's chunk provider.static void
ForgeChunkManager.reinstatePersistentChunks
(ServerLevel level, ForcedChunksSavedData saveData) Reinstates forge's forced chunks when vanilla initially loads a level and reinstates their forced chunks.void
ForgeChunkManager.LoadingValidationCallback.validateTickets
(ServerLevel level, 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 ServerLevel in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.fireChunkTicketLevelUpdated
(ServerLevel level, long chunkPos, int oldTicketLevel, int newTicketLevel, @Nullable ChunkHolder chunkHolder) static void
ForgeEventFactory.fireChunkUnWatch
(ServerPlayer entity, ChunkPos chunkpos, ServerLevel level) static void
ForgeEventFactory.fireChunkWatch
(ServerPlayer entity, LevelChunk chunk, ServerLevel level) static long
ForgeEventFactory.onSleepFinished
(ServerLevel level, long newTime, long minTime) -
Uses of ServerLevel in net.minecraftforge.event.level
Modifier and TypeFieldDescriptionprivate final ServerLevel
ChunkTicketLevelUpdatedEvent.level
private final ServerLevel
ChunkWatchEvent.level
Modifier and TypeMethodDescriptionChunkTicketLevelUpdatedEvent.getLevel()
Returns the server level containing the chunk.ChunkWatchEvent.getLevel()
Returns the server level containing the chunk.ModifierConstructorDescriptionChunkTicketLevelUpdatedEvent
(ServerLevel level, long chunkPos, int oldTicketLevel, int newTicketLevel, @Nullable ChunkHolder chunkHolder) ChunkWatchEvent
(ServerPlayer player, ChunkPos pos, ServerLevel level) SleepFinishedTimeEvent
(ServerLevel level, long newTime, long minTime) UnWatch
(ServerPlayer player, ChunkPos pos, ServerLevel level) Watch
(ServerPlayer player, LevelChunk chunk, ServerLevel level) -
Uses of ServerLevel in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionprivate static int
GenerateCommand.execute
(CommandSourceStack source, BlockPos pos, int count, ServerLevel dim, int interval) private static int
TPSCommand.sendTime
(CommandSourceStack cs, ServerLevel dim) ModifierConstructorDescriptionChunkGenWorker
(CommandSourceStack listener, BlockPos start, int total, ServerLevel dim, int interval)