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
FluidPredicate.matches
(ServerLevel p_41105_, BlockPos p_41106_) boolean
ItemUsedOnBlockTrigger.TriggerInstance.matches
(BlockState p_45511_, ServerLevel p_45512_, BlockPos p_45513_, ItemStack p_45514_) 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
LocationTrigger.TriggerInstance.matches
(ServerLevel p_53666_, double p_53667_, double p_53668_, double p_53669_) boolean
PlacedBlockTrigger.TriggerInstance.matches
(BlockState p_59508_, BlockPos p_59509_, ServerLevel p_59510_, ItemStack p_59511_) -
Uses of ServerLevel in net.minecraft.client.gui.components
-
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_81312_, Vec3 p_81313_, Vec2 p_81314_, ServerLevel p_81315_, int p_81316_, String p_81317_, Component p_81318_, MinecraftServer p_81319_, Entity p_81320_, boolean p_81321_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81322_, EntityAnchorArgument.Anchor p_81323_) -
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 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_138711_, double p_138712_, ServerLevel p_138713_, Random p_138714_, double p_138715_, double p_138716_, double p_138717_, double p_138718_, int p_138719_, SpreadPlayersCommand.Position[] p_138720_, boolean p_138721_) 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_143040_, LevelStorageSource.LevelStorageAccess p_143041_, com.mojang.datafixers.DataFixer p_143042_, StructureManager p_143043_, Executor p_143044_, BlockableEventLoop<Runnable> p_143045_, LightChunkGetter p_143046_, ChunkGenerator p_143047_, ChunkProgressListener p_143048_, ChunkStatusUpdateListener p_143049_, Supplier<DimensionDataStorage> p_143050_, int p_143051_, boolean p_143052_) ServerChunkCache
(ServerLevel p_184009_, LevelStorageSource.LevelStorageAccess p_184010_, com.mojang.datafixers.DataFixer p_184011_, StructureManager p_184012_, Executor p_184013_, ChunkGenerator p_184014_, int p_184015_, int p_184016_, boolean p_184017_, ChunkProgressListener p_184018_, ChunkStatusUpdateListener p_184019_, Supplier<DimensionDataStorage> p_184020_) ServerEntity
(ServerLevel p_8528_, Entity p_8529_, int p_8530_, boolean p_8531_, Consumer<Packet<?>> p_8532_) ServerPlayer
(MinecraftServer p_143384_, ServerLevel p_143385_, com.mojang.authlib.GameProfile p_143386_) 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.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_) void
Entity.killed
(ServerLevel p_19929_, LivingEntity p_19930_) 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_) -
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
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
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_147827_, PathfinderMob p_147828_, long p_147829_) 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
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
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_147824_, PathfinderMob p_147825_) 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
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
TryFindWater.checkExtraStartConditions
(ServerLevel p_148012_, PathfinderMob p_148013_) 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_147835_, E p_147836_) private void
PlayTagWithOtherKids.fleeFromChaser
(ServerLevel p_23636_, PathfinderMob p_23637_, LivingEntity p_23638_) 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
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_) 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
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
GoToCelebrateLocation.start
(ServerLevel p_23064_, Mob p_23065_, long p_23066_) protected void
GoToClosestVillage.start
(ServerLevel p_23090_, Villager p_23091_, long p_23092_) 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
LongJumpToRandomPos.start
(ServerLevel p_147676_, Mob 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_147838_, PathfinderMob p_147839_, long p_147840_) 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
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
TryFindWater.start
(ServerLevel p_148019_, PathfinderMob p_148020_, long p_148021_) 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
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
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
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
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
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_147842_, E p_147843_, long p_147844_) 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
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.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
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_, LivingEntity 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_) 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.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.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
Zombie.killed
(ServerLevel p_34281_, LivingEntity p_34282_) void
Creeper.thunderHit
(ServerLevel p_32286_, LightningBolt p_32287_) -
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.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 IronGolem
Villager.trySpawnGolem
(ServerLevel p_35491_) 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_) void
Player.killed
(ServerLevel p_36128_, LivingEntity p_36129_) -
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_47004_, StructureFeatureManager p_47005_, ChunkGenerator p_47006_, MobCategory p_47007_, MobSpawnSettings.SpawnerData p_47008_, BlockPos p_47009_) private static Mob
NaturalSpawner.getMobForSpawn
(ServerLevel p_46989_, EntityType<?> p_46990_) private static Optional<MobSpawnSettings.SpawnerData>
NaturalSpawner.getRandomSpawnMobAt
(ServerLevel p_151599_, StructureFeatureManager p_151600_, ChunkGenerator p_151601_, MobCategory p_151602_, Random p_151603_, BlockPos p_151604_) static boolean
NaturalSpawner.isInNetherFortressBounds
(BlockPos p_186530_, ServerLevel p_186531_, MobCategory p_186532_, StructureFeatureManager p_186533_) 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_46996_, MobCategory p_46997_, StructureFeatureManager p_46998_, ChunkGenerator p_46999_, MobSpawnSettings.SpawnerData p_47000_, BlockPos.MutableBlockPos p_47001_, double p_47002_) private static WeightedRandomList<MobSpawnSettings.SpawnerData>
NaturalSpawner.mobsAt
(ServerLevel p_204169_, StructureFeatureManager p_204170_, ChunkGenerator p_204171_, MobCategory p_204172_, BlockPos p_204173_, Holder<Biome> p_204174_) 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_55981_, BlockPos p_55982_, BlockState p_55983_, Random p_55984_) default void
ChangeOverTimeBlock.applyChangeOverTime
(BlockState p_153047_, ServerLevel p_153048_, BlockPos p_153049_, Random p_153050_) 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_) 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_) private static void
PointedDripstoneBlock.grow
(ServerLevel p_154036_, BlockPos p_154037_, Direction p_154038_) boolean
MushroomBlock.growMushroom
(ServerLevel p_54860_, BlockPos p_54861_, BlockState p_54862_, Random p_54863_) static void
PointedDripstoneBlock.growStalactiteOrStalagmiteIfPossible
(BlockState p_154226_, ServerLevel p_154227_, BlockPos p_154228_, Random p_154229_) private static void
PointedDripstoneBlock.growStalagmiteBelow
(ServerLevel p_154033_, BlockPos p_154034_) static BlockState
ComposterBlock.insertItem
(BlockState p_51930_, ServerLevel p_51931_, ItemStack p_51932_, BlockPos p_51933_) static void
PointedDripstoneBlock.maybeFillCauldron
(BlockState p_154102_, ServerLevel p_154103_, BlockPos p_154104_, float p_154105_) default void
ChangeOverTimeBlock.onRandomTick
(BlockState p_153042_, ServerLevel p_153043_, BlockPos p_153044_, Random p_153045_) void
AzaleaBlock.performBonemeal
(ServerLevel p_152069_, Random p_152070_, BlockPos p_152071_, BlockState p_152072_) void
BambooBlock.performBonemeal
(ServerLevel p_48876_, Random p_48877_, BlockPos p_48878_, BlockState p_48879_) void
BambooSaplingBlock.performBonemeal
(ServerLevel p_48959_, Random p_48960_, BlockPos p_48961_, BlockState p_48962_) void
BigDripleafBlock.performBonemeal
(ServerLevel p_152216_, Random p_152217_, BlockPos p_152218_, BlockState p_152219_) void
BigDripleafStemBlock.performBonemeal
(ServerLevel p_152331_, Random p_152332_, BlockPos p_152333_, BlockState p_152334_) void
BonemealableBlock.performBonemeal
(ServerLevel p_50893_, Random p_50894_, BlockPos p_50895_, BlockState p_50896_) void
CaveVinesBlock.performBonemeal
(ServerLevel p_152961_, Random p_152962_, BlockPos p_152963_, BlockState p_152964_) void
CaveVinesPlantBlock.performBonemeal
(ServerLevel p_153002_, Random p_153003_, BlockPos p_153004_, BlockState p_153005_) void
CocoaBlock.performBonemeal
(ServerLevel p_51745_, Random p_51746_, BlockPos p_51747_, BlockState p_51748_) void
CropBlock.performBonemeal
(ServerLevel p_52249_, Random p_52250_, BlockPos p_52251_, BlockState p_52252_) void
FungusBlock.performBonemeal
(ServerLevel p_53603_, Random p_53604_, BlockPos p_53605_, BlockState p_53606_) void
GlowLichenBlock.performBonemeal
(ServerLevel p_153284_, Random p_153285_, BlockPos p_153286_, BlockState p_153287_) void
GrassBlock.performBonemeal
(ServerLevel p_53687_, Random p_53688_, BlockPos p_53689_, BlockState p_53690_) void
GrowingPlantBodyBlock.performBonemeal
(ServerLevel p_53891_, Random p_53892_, BlockPos p_53893_, BlockState p_53894_) void
GrowingPlantHeadBlock.performBonemeal
(ServerLevel p_53934_, Random p_53935_, BlockPos p_53936_, BlockState p_53937_) void
MossBlock.performBonemeal
(ServerLevel p_153792_, Random p_153793_, BlockPos p_153794_, BlockState p_153795_) void
MushroomBlock.performBonemeal
(ServerLevel p_54865_, Random p_54866_, BlockPos p_54867_, BlockState p_54868_) void
NetherrackBlock.performBonemeal
(ServerLevel p_54997_, Random p_54998_, BlockPos p_54999_, BlockState p_55000_) void
NyliumBlock.performBonemeal
(ServerLevel p_55059_, Random p_55060_, BlockPos p_55061_, BlockState p_55062_) void
RootedDirtBlock.performBonemeal
(ServerLevel p_154361_, Random p_154362_, BlockPos p_154363_, BlockState p_154364_) void
SaplingBlock.performBonemeal
(ServerLevel p_55986_, Random p_55987_, BlockPos p_55988_, BlockState p_55989_) void
SeagrassBlock.performBonemeal
(ServerLevel p_154498_, Random p_154499_, BlockPos p_154500_, BlockState p_154501_) void
SeaPickleBlock.performBonemeal
(ServerLevel p_56084_, Random p_56085_, BlockPos p_56086_, BlockState p_56087_) void
SmallDripleafBlock.performBonemeal
(ServerLevel p_154587_, Random p_154588_, BlockPos p_154589_, BlockState p_154590_) void
StemBlock.performBonemeal
(ServerLevel p_57021_, Random p_57022_, BlockPos p_57023_, BlockState p_57024_) void
SweetBerryBushBlock.performBonemeal
(ServerLevel p_57251_, Random p_57252_, BlockPos p_57253_, BlockState p_57254_) void
TallFlowerBlock.performBonemeal
(ServerLevel p_57298_, Random p_57299_, BlockPos p_57300_, BlockState p_57301_) void
TallGrassBlock.performBonemeal
(ServerLevel p_57320_, Random p_57321_, BlockPos p_57322_, BlockState p_57323_) void
Block.popExperience
(ServerLevel p_49806_, BlockPos p_49807_, int p_49808_) void
BambooBlock.randomTick
(BlockState p_48936_, ServerLevel p_48937_, BlockPos p_48938_, Random p_48939_) void
BambooSaplingBlock.randomTick
(BlockState p_48998_, ServerLevel p_48999_, BlockPos p_49000_, Random p_49001_) void
BeetrootBlock.randomTick
(BlockState p_49667_, ServerLevel p_49668_, BlockPos p_49669_, Random p_49670_) void
BuddingAmethystBlock.randomTick
(BlockState p_152728_, ServerLevel p_152729_, BlockPos p_152730_, Random p_152731_) void
CactusBlock.randomTick
(BlockState p_51166_, ServerLevel p_51167_, BlockPos p_51168_, Random p_51169_) void
ChorusFlowerBlock.randomTick
(BlockState p_51702_, ServerLevel p_51703_, BlockPos p_51704_, Random p_51705_) void
CocoaBlock.randomTick
(BlockState p_51782_, ServerLevel p_51783_, BlockPos p_51784_, Random p_51785_) void
CropBlock.randomTick
(BlockState p_52292_, ServerLevel p_52293_, BlockPos p_52294_, Random p_52295_) void
FarmBlock.randomTick
(BlockState p_53285_, ServerLevel p_53286_, BlockPos p_53287_, Random p_53288_) void
FrostedIceBlock.randomTick
(BlockState p_53588_, ServerLevel p_53589_, BlockPos p_53590_, Random p_53591_) void
GrowingPlantHeadBlock.randomTick
(BlockState p_53963_, ServerLevel p_53964_, BlockPos p_53965_, Random p_53966_) void
IceBlock.randomTick
(BlockState p_54164_, ServerLevel p_54165_, BlockPos p_54166_, Random p_54167_) void
LeavesBlock.randomTick
(BlockState p_54451_, ServerLevel p_54452_, BlockPos p_54453_, Random p_54454_) void
LiquidBlock.randomTick
(BlockState p_54740_, ServerLevel p_54741_, BlockPos p_54742_, Random p_54743_) void
MagmaBlock.randomTick
(BlockState p_54818_, ServerLevel p_54819_, BlockPos p_54820_, Random p_54821_) void
MushroomBlock.randomTick
(BlockState p_54884_, ServerLevel p_54885_, BlockPos p_54886_, Random p_54887_) void
NetherPortalBlock.randomTick
(BlockState p_54937_, ServerLevel p_54938_, BlockPos p_54939_, Random p_54940_) void
NetherWartBlock.randomTick
(BlockState p_54981_, ServerLevel p_54982_, BlockPos p_54983_, Random p_54984_) void
NyliumBlock.randomTick
(BlockState p_55074_, ServerLevel p_55075_, BlockPos p_55076_, Random p_55077_) void
PointedDripstoneBlock.randomTick
(BlockState p_154199_, ServerLevel p_154200_, BlockPos p_154201_, Random p_154202_) void
RedStoneOreBlock.randomTick
(BlockState p_55488_, ServerLevel p_55489_, BlockPos p_55490_, Random p_55491_) void
SaplingBlock.randomTick
(BlockState p_56003_, ServerLevel p_56004_, BlockPos p_56005_, Random p_56006_) void
SnowLayerBlock.randomTick
(BlockState p_56615_, ServerLevel p_56616_, BlockPos p_56617_, Random p_56618_) void
SpreadingSnowyDirtBlock.randomTick
(BlockState p_56819_, ServerLevel p_56820_, BlockPos p_56821_, Random p_56822_) void
StairBlock.randomTick
(BlockState p_56951_, ServerLevel p_56952_, BlockPos p_56953_, Random p_56954_) void
StemBlock.randomTick
(BlockState p_57042_, ServerLevel p_57043_, BlockPos p_57044_, Random p_57045_) void
SugarCaneBlock.randomTick
(BlockState p_57188_, ServerLevel p_57189_, BlockPos p_57190_, Random p_57191_) void
SweetBerryBushBlock.randomTick
(BlockState p_57286_, ServerLevel p_57287_, BlockPos p_57288_, Random p_57289_) void
TurtleEggBlock.randomTick
(BlockState p_57804_, ServerLevel p_57805_, BlockPos p_57806_, Random p_57807_) void
VineBlock.randomTick
(BlockState p_57892_, ServerLevel p_57893_, BlockPos p_57894_, Random p_57895_) void
WeatheringCopperFullBlock.randomTick
(BlockState p_154929_, ServerLevel p_154930_, BlockPos p_154931_, Random p_154932_) void
WeatheringCopperSlabBlock.randomTick
(BlockState p_154942_, ServerLevel p_154943_, BlockPos p_154944_, Random p_154945_) void
WeatheringCopperStairBlock.randomTick
(BlockState p_154956_, ServerLevel p_154957_, BlockPos p_154958_, Random p_154959_) void
InfestedBlock.spawnAfterBreak
(BlockState p_54188_, ServerLevel p_54189_, BlockPos p_54190_, ItemStack p_54191_) void
OreBlock.spawnAfterBreak
(BlockState p_55142_, ServerLevel p_55143_, BlockPos p_55144_, ItemStack p_55145_) void
RedStoneOreBlock.spawnAfterBreak
(BlockState p_55462_, ServerLevel p_55463_, BlockPos p_55464_, ItemStack p_55465_) void
SpawnerBlock.spawnAfterBreak
(BlockState p_56789_, ServerLevel p_56790_, BlockPos p_56791_, ItemStack p_56792_) private static void
PointedDripstoneBlock.spawnFallingStalactite
(BlockState p_154098_, ServerLevel p_154099_, BlockPos p_154100_) private void
InfestedBlock.spawnInfestation
(ServerLevel p_54181_, BlockPos p_54182_) boolean
MultifaceBlock.spreadFromRandomFaceTowardRandomDirection
(BlockState p_153936_, ServerLevel p_153937_, BlockPos p_153938_, Random p_153939_) void
AbstractCauldronBlock.tick
(BlockState p_151950_, ServerLevel p_151951_, BlockPos p_151952_, Random p_151953_) void
BambooBlock.tick
(BlockState p_48896_, ServerLevel p_48897_, BlockPos p_48898_, Random p_48899_) void
BarrelBlock.tick
(BlockState p_49060_, ServerLevel p_49061_, BlockPos p_49062_, Random p_49063_) void
BasePressurePlateBlock.tick
(BlockState p_49304_, ServerLevel p_49305_, BlockPos p_49306_, Random p_49307_) void
BigDripleafBlock.tick
(BlockState p_152256_, ServerLevel p_152257_, BlockPos p_152258_, Random p_152259_) void
BigDripleafStemBlock.tick
(BlockState p_152355_, ServerLevel p_152356_, BlockPos p_152357_, Random p_152358_) void
BubbleColumnBlock.tick
(BlockState p_50971_, ServerLevel p_50972_, BlockPos p_50973_, Random p_50974_) void
ButtonBlock.tick
(BlockState p_51073_, ServerLevel p_51074_, BlockPos p_51075_, Random p_51076_) void
CactusBlock.tick
(BlockState p_51138_, ServerLevel p_51139_, BlockPos p_51140_, Random p_51141_) void
ChestBlock.tick
(BlockState p_153059_, ServerLevel p_153060_, BlockPos p_153061_, Random p_153062_) void
ChorusFlowerBlock.tick
(BlockState p_51678_, ServerLevel p_51679_, BlockPos p_51680_, Random p_51681_) void
ChorusPlantBlock.tick
(BlockState p_51714_, ServerLevel p_51715_, BlockPos p_51716_, Random p_51717_) void
CommandBlock.tick
(BlockState p_51816_, ServerLevel p_51817_, BlockPos p_51818_, Random p_51819_) void
ComparatorBlock.tick
(BlockState p_51869_, ServerLevel p_51870_, BlockPos p_51871_, Random p_51872_) void
ComposterBlock.tick
(BlockState p_51935_, ServerLevel p_51936_, BlockPos p_51937_, Random p_51938_) void
CoralBlock.tick
(BlockState p_52138_, ServerLevel p_52139_, BlockPos p_52140_, Random p_52141_) void
CoralFanBlock.tick
(BlockState p_52154_, ServerLevel p_52155_, BlockPos p_52156_, Random p_52157_) void
CoralPlantBlock.tick
(BlockState p_52178_, ServerLevel p_52179_, BlockPos p_52180_, Random p_52181_) void
CoralWallFanBlock.tick
(BlockState p_52205_, ServerLevel p_52206_, BlockPos p_52207_, Random p_52208_) void
DetectorRailBlock.tick
(BlockState p_52444_, ServerLevel p_52445_, BlockPos p_52446_, Random p_52447_) void
DiodeBlock.tick
(BlockState p_52515_, ServerLevel p_52516_, BlockPos p_52517_, Random p_52518_) void
DirtPathBlock.tick
(BlockState p_153133_, ServerLevel p_153134_, BlockPos p_153135_, Random p_153136_) void
DispenserBlock.tick
(BlockState p_52684_, ServerLevel p_52685_, BlockPos p_52686_, Random p_52687_) void
EnderChestBlock.tick
(BlockState p_153203_, ServerLevel p_153204_, BlockPos p_153205_, Random p_153206_) void
FallingBlock.tick
(BlockState p_53216_, ServerLevel p_53217_, BlockPos p_53218_, Random p_53219_) void
FarmBlock.tick
(BlockState p_53262_, ServerLevel p_53263_, BlockPos p_53264_, Random p_53265_) void
FireBlock.tick
(BlockState p_53449_, ServerLevel p_53450_, BlockPos p_53451_, Random p_53452_) void
FrostedIceBlock.tick
(BlockState p_53574_, ServerLevel p_53575_, BlockPos p_53576_, Random p_53577_) void
GrowingPlantBlock.tick
(BlockState p_53871_, ServerLevel p_53872_, BlockPos p_53873_, Random p_53874_) void
LeavesBlock.tick
(BlockState p_54426_, ServerLevel p_54427_, BlockPos p_54428_, Random p_54429_) void
LecternBlock.tick
(BlockState p_54505_, ServerLevel p_54506_, BlockPos p_54507_, Random p_54508_) void
LightningRodBlock.tick
(BlockState p_153718_, ServerLevel p_153719_, BlockPos p_153720_, Random p_153721_) void
MagmaBlock.tick
(BlockState p_54806_, ServerLevel p_54807_, BlockPos p_54808_, Random p_54809_) void
ObserverBlock.tick
(BlockState p_55096_, ServerLevel p_55097_, BlockPos p_55098_, Random p_55099_) void
PointedDripstoneBlock.tick
(BlockState p_154107_, ServerLevel p_154108_, BlockPos p_154109_, Random p_154110_) void
RedstoneLampBlock.tick
(BlockState p_55661_, ServerLevel p_55662_, BlockPos p_55663_, Random p_55664_) void
RedstoneTorchBlock.tick
(BlockState p_55689_, ServerLevel p_55690_, BlockPos p_55691_, Random p_55692_) void
ScaffoldingBlock.tick
(BlockState p_56032_, ServerLevel p_56033_, BlockPos p_56034_, Random p_56035_) void
SculkSensorBlock.tick
(BlockState p_154422_, ServerLevel p_154423_, BlockPos p_154424_, Random p_154425_) void
SoulSandBlock.tick
(BlockState p_56674_, ServerLevel p_56675_, BlockPos p_56676_, Random p_56677_) void
StairBlock.tick
(BlockState p_56886_, ServerLevel p_56887_, BlockPos p_56888_, Random p_56889_) void
SugarCaneBlock.tick
(BlockState p_57170_, ServerLevel p_57171_, BlockPos p_57172_, Random p_57173_) void
TargetBlock.tick
(BlockState p_57397_, ServerLevel p_57398_, BlockPos p_57399_, Random p_57400_) void
TripWireBlock.tick
(BlockState p_57620_, ServerLevel p_57621_, BlockPos p_57622_, Random p_57623_) void
TripWireHookBlock.tick
(BlockState p_57705_, ServerLevel p_57706_, BlockPos p_57707_, Random p_57708_) private void
StructureBlock.trigger
(ServerLevel p_57115_, StructureBlockEntity p_57116_) -
Uses of ServerLevel in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionprivate 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_) 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_) private static void
TheEndGatewayBlockEntity.spawnGatewayPortal
(ServerLevel p_155822_, BlockPos p_155823_, EndGatewayConfiguration p_155824_) -
Uses of ServerLevel in net.minecraft.world.level.block.grower
Modifier and TypeMethodDescriptionboolean
AbstractMegaTreeGrower.growTree
(ServerLevel p_59985_, ChunkGenerator p_59986_, BlockPos p_59987_, BlockState p_59988_, Random p_59989_) boolean
AbstractTreeGrower.growTree
(ServerLevel p_60006_, ChunkGenerator p_60007_, BlockPos p_60008_, BlockState p_60009_, Random p_60010_) boolean
AbstractMegaTreeGrower.placeMega
(ServerLevel p_59991_, ChunkGenerator p_59992_, BlockPos p_59993_, BlockState p_59994_, Random p_59995_, int p_59996_, int p_59997_) -
Uses of ServerLevel in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.randomTick
(ServerLevel p_60736_, BlockPos p_60737_, Random p_60738_) void
BlockBehaviour.randomTick
(BlockState p_60551_, ServerLevel p_60552_, BlockPos p_60553_, Random p_60554_) Deprecated.void
BlockBehaviour.BlockStateBase.spawnAfterBreak
(ServerLevel p_60613_, BlockPos p_60614_, ItemStack p_60615_) void
BlockBehaviour.spawnAfterBreak
(BlockState p_60458_, ServerLevel p_60459_, BlockPos p_60460_, ItemStack p_60461_) Deprecated.void
BlockBehaviour.BlockStateBase.tick
(ServerLevel p_60617_, BlockPos p_60618_, Random p_60619_) void
BlockBehaviour.tick
(BlockState p_60462_, ServerLevel p_60463_, BlockPos p_60464_, Random p_60465_) Deprecated. -
Uses of ServerLevel in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.GenerationTask.doWork
(ChunkStatus p_187871_, Executor p_187872_, ServerLevel p_187873_, ChunkGenerator p_187874_, StructureManager p_187875_, ThreadedLevelLightEngine p_187876_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_187877_, List<ChunkAccess> p_187878_, ChunkAccess p_187879_, boolean p_187880_) CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.LoadingTask.doWork
(ChunkStatus p_62531_, ServerLevel p_62532_, StructureManager p_62533_, ThreadedLevelLightEngine p_62534_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_62535_, ChunkAccess p_62536_) default CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus p_187882_, Executor p_187883_, ServerLevel p_187884_, ChunkGenerator p_187885_, StructureManager p_187886_, ThreadedLevelLightEngine p_187887_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_187888_, List<ChunkAccess> p_187889_, ChunkAccess p_187890_, boolean p_187891_) void
ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus p_156323_, ServerLevel p_156324_, ChunkGenerator p_156325_, List<ChunkAccess> p_156326_, ChunkAccess p_156327_) com.mojang.datafixers.util.Pair<BlockPos,
Holder<ConfiguredStructureFeature<?, ?>>> ChunkGenerator.findNearestMapFeature
(ServerLevel p_207971_, HolderSet<ConfiguredStructureFeature<?, ?>> p_207972_, BlockPos p_207973_, int p_207974_, boolean p_207975_) CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.generate
(Executor p_187789_, ServerLevel p_187790_, ChunkGenerator p_187791_, StructureManager p_187792_, ThreadedLevelLightEngine p_187793_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_187794_, List<ChunkAccess> p_187795_, boolean p_187796_) CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkStatus.load
(ServerLevel p_62365_, StructureManager p_62366_, ThreadedLevelLightEngine p_62367_, Function<ChunkAccess, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder.ChunkLoadingFailure>>> p_62368_, ChunkAccess p_62369_) void
LevelChunk.registerTickContainerInLevel
(ServerLevel p_187959_) 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.levelgen
Modifier and TypeMethodDescriptionprivate boolean
PatrolSpawner.spawnPatrolMember
(ServerLevel p_64565_, BlockPos p_64566_, Random p_64567_, boolean p_64568_) 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.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
(Random p_78917_, float p_78918_, ServerLevel p_78919_, Function<ResourceLocation, LootTable> p_78920_, Function<ResourceLocation, LootItemCondition> p_78921_, Map<LootContextParam<?>, Object> p_78922_, Map<ResourceLocation, LootContext.DynamicDrop> p_78923_) private
LootContext
(Random 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 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 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.fireChunkWatch
(boolean wasLoaded, boolean load, ServerPlayer entity, ChunkPos chunkpos, ServerLevel level) static void
ForgeEventFactory.fireChunkWatch
(boolean watch, ServerPlayer entity, ChunkPos chunkpos, ServerLevel level) static long
ForgeEventFactory.onSleepFinished
(ServerLevel level, long newTime, long minTime) -
Uses of ServerLevel in net.minecraftforge.event.world
ModifierConstructorDescriptionChunkWatchEvent
(ServerPlayer player, ChunkPos pos, ServerLevel world) SleepFinishedTimeEvent
(ServerLevel worldIn, long newTimeIn, long minTimeIn) UnWatch
(ServerPlayer player, ChunkPos pos, ServerLevel world) Watch
(ServerPlayer player, ChunkPos pos, ServerLevel world) -
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)