Uses of Interface
net.minecraft.world.level.ServerLevelAccessor
Package
Description
-
Uses of ServerLevelAccessor in net.minecraft.server.level
-
Uses of ServerLevelAccessor in net.minecraft.world.entity
Modifier and TypeMethodDescriptionstatic boolean
GlowSquid.checkGlowSquideSpawnRules
(EntityType<? extends LivingEntity> p_217018_, ServerLevelAccessor p_217019_, MobSpawnType p_217020_, BlockPos p_217021_, RandomSource p_217022_) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules
(EntityType<T> p_217075_, ServerLevelAccessor p_217076_, MobSpawnType p_217077_, BlockPos p_217078_, RandomSource p_217079_) AgeableMob.finalizeSpawn
(ServerLevelAccessor p_146746_, DifficultyInstance p_146747_, MobSpawnType p_146748_, SpawnGroupData p_146749_, CompoundTag p_146750_) Mob.finalizeSpawn
(ServerLevelAccessor p_21434_, DifficultyInstance p_21435_, MobSpawnType p_21436_, SpawnGroupData p_21437_, CompoundTag p_21438_) boolean
SpawnPlacements.SpawnPredicate.test
(EntityType<T> p_217081_, ServerLevelAccessor p_217082_, MobSpawnType p_217083_, BlockPos p_217084_, RandomSource p_217085_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionAbstractSchoolingFish.finalizeSpawn
(ServerLevelAccessor p_27528_, DifficultyInstance p_27529_, MobSpawnType p_27530_, SpawnGroupData p_27531_, CompoundTag p_27532_) Cat.finalizeSpawn
(ServerLevelAccessor p_28134_, DifficultyInstance p_28135_, MobSpawnType p_28136_, SpawnGroupData p_28137_, CompoundTag p_28138_) Dolphin.finalizeSpawn
(ServerLevelAccessor p_28332_, DifficultyInstance p_28333_, MobSpawnType p_28334_, SpawnGroupData p_28335_, CompoundTag p_28336_) Fox.finalizeSpawn
(ServerLevelAccessor p_28487_, DifficultyInstance p_28488_, MobSpawnType p_28489_, SpawnGroupData p_28490_, CompoundTag p_28491_) Ocelot.finalizeSpawn
(ServerLevelAccessor p_29007_, DifficultyInstance p_29008_, MobSpawnType p_29009_, SpawnGroupData p_29010_, CompoundTag p_29011_) Panda.finalizeSpawn
(ServerLevelAccessor p_29109_, DifficultyInstance p_29110_, MobSpawnType p_29111_, SpawnGroupData p_29112_, CompoundTag p_29113_) Parrot.finalizeSpawn
(ServerLevelAccessor p_29389_, DifficultyInstance p_29390_, MobSpawnType p_29391_, SpawnGroupData p_29392_, CompoundTag p_29393_) PolarBear.finalizeSpawn
(ServerLevelAccessor p_29533_, DifficultyInstance p_29534_, MobSpawnType p_29535_, SpawnGroupData p_29536_, CompoundTag p_29537_) Rabbit.finalizeSpawn
(ServerLevelAccessor p_29678_, DifficultyInstance p_29679_, MobSpawnType p_29680_, SpawnGroupData p_29681_, CompoundTag p_29682_) Sheep.finalizeSpawn
(ServerLevelAccessor p_29835_, DifficultyInstance p_29836_, MobSpawnType p_29837_, SpawnGroupData p_29838_, CompoundTag p_29839_) TropicalFish.finalizeSpawn
(ServerLevelAccessor p_30023_, DifficultyInstance p_30024_, MobSpawnType p_30025_, SpawnGroupData p_30026_, CompoundTag p_30027_) Turtle.finalizeSpawn
(ServerLevelAccessor p_30153_, DifficultyInstance p_30154_, MobSpawnType p_30155_, SpawnGroupData p_30156_, CompoundTag p_30157_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionstatic boolean
Axolotl.checkAxolotlSpawnRules
(EntityType<? extends LivingEntity> p_218438_, ServerLevelAccessor p_218439_, MobSpawnType p_218440_, BlockPos p_218441_, RandomSource p_218442_) Axolotl.finalizeSpawn
(ServerLevelAccessor p_149132_, DifficultyInstance p_149133_, MobSpawnType p_149134_, SpawnGroupData p_149135_, CompoundTag p_149136_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.animal.camel
Modifier and TypeMethodDescriptionCamel.finalizeSpawn
(ServerLevelAccessor p_249190_, DifficultyInstance p_251264_, MobSpawnType p_250254_, SpawnGroupData p_249259_, CompoundTag p_251838_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionFrog.finalizeSpawn
(ServerLevelAccessor p_218488_, DifficultyInstance p_218489_, MobSpawnType p_218490_, SpawnGroupData p_218491_, CompoundTag p_218492_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.animal.goat
Modifier and TypeMethodDescriptionGoat.finalizeSpawn
(ServerLevelAccessor p_149365_, DifficultyInstance p_149366_, MobSpawnType p_149367_, SpawnGroupData p_149368_, CompoundTag p_149369_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescriptionAbstractHorse.finalizeSpawn
(ServerLevelAccessor p_30555_, DifficultyInstance p_30556_, MobSpawnType p_30557_, SpawnGroupData p_30558_, CompoundTag p_30559_) Horse.finalizeSpawn
(ServerLevelAccessor p_30703_, DifficultyInstance p_30704_, MobSpawnType p_30705_, SpawnGroupData p_30706_, CompoundTag p_30707_) Llama.finalizeSpawn
(ServerLevelAccessor p_30774_, DifficultyInstance p_30775_, MobSpawnType p_30776_, SpawnGroupData p_30777_, CompoundTag p_30778_) TraderLlama.finalizeSpawn
(ServerLevelAccessor p_30942_, DifficultyInstance p_30943_, MobSpawnType p_30944_, SpawnGroupData p_30945_, CompoundTag p_30946_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionstatic boolean
Drowned.checkDrownedSpawnRules
(EntityType<Drowned> p_218956_, ServerLevelAccessor p_218957_, MobSpawnType p_218958_, BlockPos p_218959_, RandomSource p_218960_) static boolean
Husk.checkHuskSpawnRules
(EntityType<Husk> p_218997_, ServerLevelAccessor p_218998_, MobSpawnType p_218999_, BlockPos p_219000_, RandomSource p_219001_) static boolean
Monster.checkMonsterSpawnRules
(EntityType<? extends Monster> p_219014_, ServerLevelAccessor p_219015_, MobSpawnType p_219016_, BlockPos p_219017_, RandomSource p_219018_) static boolean
Stray.checkStraySpawnRules
(EntityType<Stray> p_219121_, ServerLevelAccessor p_219122_, MobSpawnType p_219123_, BlockPos p_219124_, RandomSource p_219125_) AbstractSkeleton.finalizeSpawn
(ServerLevelAccessor p_32146_, DifficultyInstance p_32147_, MobSpawnType p_32148_, SpawnGroupData p_32149_, CompoundTag p_32150_) CaveSpider.finalizeSpawn
(ServerLevelAccessor p_32259_, DifficultyInstance p_32260_, MobSpawnType p_32261_, SpawnGroupData p_32262_, CompoundTag p_32263_) Drowned.finalizeSpawn
(ServerLevelAccessor p_32372_, DifficultyInstance p_32373_, MobSpawnType p_32374_, SpawnGroupData p_32375_, CompoundTag p_32376_) Illusioner.finalizeSpawn
(ServerLevelAccessor p_32921_, DifficultyInstance p_32922_, MobSpawnType p_32923_, SpawnGroupData p_32924_, CompoundTag p_32925_) PatrollingMonster.finalizeSpawn
(ServerLevelAccessor p_33049_, DifficultyInstance p_33050_, MobSpawnType p_33051_, SpawnGroupData p_33052_, CompoundTag p_33053_) Phantom.finalizeSpawn
(ServerLevelAccessor p_33126_, DifficultyInstance p_33127_, MobSpawnType p_33128_, SpawnGroupData p_33129_, CompoundTag p_33130_) Pillager.finalizeSpawn
(ServerLevelAccessor p_33282_, DifficultyInstance p_33283_, MobSpawnType p_33284_, SpawnGroupData p_33285_, CompoundTag p_33286_) Shulker.finalizeSpawn
(ServerLevelAccessor p_149780_, DifficultyInstance p_149781_, MobSpawnType p_149782_, SpawnGroupData p_149783_, CompoundTag p_149784_) Slime.finalizeSpawn
(ServerLevelAccessor p_33601_, DifficultyInstance p_33602_, MobSpawnType p_33603_, SpawnGroupData p_33604_, CompoundTag p_33605_) Spider.finalizeSpawn
(ServerLevelAccessor p_33790_, DifficultyInstance p_33791_, MobSpawnType p_33792_, SpawnGroupData p_33793_, CompoundTag p_33794_) Strider.finalizeSpawn
(ServerLevelAccessor p_33887_, DifficultyInstance p_33888_, MobSpawnType p_33889_, SpawnGroupData p_33890_, CompoundTag p_33891_) Vex.finalizeSpawn
(ServerLevelAccessor p_34002_, DifficultyInstance p_34003_, MobSpawnType p_34004_, SpawnGroupData p_34005_, CompoundTag p_34006_) Vindicator.finalizeSpawn
(ServerLevelAccessor p_34088_, DifficultyInstance p_34089_, MobSpawnType p_34090_, SpawnGroupData p_34091_, CompoundTag p_34092_) WitherSkeleton.finalizeSpawn
(ServerLevelAccessor p_34178_, DifficultyInstance p_34179_, MobSpawnType p_34180_, SpawnGroupData p_34181_, CompoundTag p_34182_) Zombie.finalizeSpawn
(ServerLevelAccessor p_34297_, DifficultyInstance p_34298_, MobSpawnType p_34299_, SpawnGroupData p_34300_, CompoundTag p_34301_) ZombieVillager.finalizeSpawn
(ServerLevelAccessor p_34378_, DifficultyInstance p_34379_, MobSpawnType p_34380_, SpawnGroupData p_34381_, CompoundTag p_34382_) static boolean
Monster.isDarkEnoughToSpawn
(ServerLevelAccessor p_219010_, BlockPos p_219011_, RandomSource p_219012_) private SpawnGroupData
Strider.spawnJockey
(ServerLevelAccessor p_33882_, DifficultyInstance p_33883_, Mob p_33884_, SpawnGroupData p_33885_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionHoglin.finalizeSpawn
(ServerLevelAccessor p_34508_, DifficultyInstance p_34509_, MobSpawnType p_34510_, SpawnGroupData p_34511_, CompoundTag p_34512_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionPiglin.finalizeSpawn
(ServerLevelAccessor p_34717_, DifficultyInstance p_34718_, MobSpawnType p_34719_, SpawnGroupData p_34720_, CompoundTag p_34721_) PiglinBrute.finalizeSpawn
(ServerLevelAccessor p_35058_, DifficultyInstance p_35059_, MobSpawnType p_35060_, SpawnGroupData p_35061_, CompoundTag p_35062_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.monster.warden
Modifier and TypeMethodDescriptionWarden.finalizeSpawn
(ServerLevelAccessor p_219400_, DifficultyInstance p_219401_, MobSpawnType p_219402_, SpawnGroupData p_219403_, CompoundTag p_219404_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionAbstractVillager.finalizeSpawn
(ServerLevelAccessor p_35282_, DifficultyInstance p_35283_, MobSpawnType p_35284_, SpawnGroupData p_35285_, CompoundTag p_35286_) Villager.finalizeSpawn
(ServerLevelAccessor p_35439_, DifficultyInstance p_35440_, MobSpawnType p_35441_, SpawnGroupData p_35442_, CompoundTag p_35443_) -
Uses of ServerLevelAccessor in net.minecraft.world.entity.raid
Modifier and TypeMethodDescriptionRaider.finalizeSpawn
(ServerLevelAccessor p_37856_, DifficultyInstance p_37857_, MobSpawnType p_37858_, SpawnGroupData p_37859_, CompoundTag p_37860_) -
Uses of ServerLevelAccessor in net.minecraft.world.level
Modifier and TypeMethodDescriptionstatic void
NaturalSpawner.spawnMobsForChunkGeneration
(ServerLevelAccessor p_220451_, Holder<Biome> p_220452_, ChunkPos p_220453_, RandomSource p_220454_) -
Uses of ServerLevelAccessor in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionprivate void
SpikeFeature.placeSpike
(ServerLevelAccessor p_225247_, RandomSource p_225248_, SpikeConfiguration p_225249_, SpikeFeature.EndSpike p_225250_) -
Uses of ServerLevelAccessor in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionprotected boolean
StructurePiece.createChest
(ServerLevelAccessor p_226763_, BoundingBox p_226764_, RandomSource p_226765_, BlockPos p_226766_, ResourceLocation p_226767_, BlockState p_226768_) protected abstract void
TemplateStructurePiece.handleDataMarker
(String p_226906_, BlockPos p_226907_, ServerLevelAccessor p_226908_, RandomSource p_226909_, BoundingBox p_226910_) -
Uses of ServerLevelAccessor in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeMethodDescriptionprotected void
EndCityPieces.EndCityPiece.handleDataMarker
(String p_227505_, BlockPos p_227506_, ServerLevelAccessor p_227507_, RandomSource p_227508_, BoundingBox p_227509_) protected void
IglooPieces.IglooPiece.handleDataMarker
(String p_227582_, BlockPos p_227583_, ServerLevelAccessor p_227584_, RandomSource p_227585_, BoundingBox p_227586_) protected void
NetherFossilPieces.NetherFossilPiece.handleDataMarker
(String p_228561_, BlockPos p_228562_, ServerLevelAccessor p_228563_, RandomSource p_228564_, BoundingBox p_228565_) protected void
OceanRuinPieces.OceanRuinPiece.handleDataMarker
(String p_229046_, BlockPos p_229047_, ServerLevelAccessor p_229048_, RandomSource p_229049_, BoundingBox p_229050_) protected void
RuinedPortalPiece.handleDataMarker
(String p_229170_, BlockPos p_229171_, ServerLevelAccessor p_229172_, RandomSource p_229173_, BoundingBox p_229174_) protected void
ShipwreckPieces.ShipwreckPiece.handleDataMarker
(String p_229376_, BlockPos p_229377_, ServerLevelAccessor p_229378_, RandomSource p_229379_, BoundingBox p_229380_) protected void
WoodlandMansionPieces.WoodlandMansionPiece.handleDataMarker
(String p_230213_, BlockPos p_230214_, ServerLevelAccessor p_230215_, RandomSource p_230216_, BoundingBox p_230217_) private void
SwampHutPiece.spawnCat
(ServerLevelAccessor p_229958_, BoundingBox p_229959_) -
Uses of ServerLevelAccessor in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionprivate void
StructureTemplate.addEntitiesToWorld
(ServerLevelAccessor p_74524_, BlockPos p_74525_, StructurePlaceSettings placementIn) StructureTemplate.createEntityIgnoreException
(ServerLevelAccessor p_74544_, CompoundTag p_74545_) boolean
StructureTemplate.placeInWorld
(ServerLevelAccessor p_230329_, BlockPos p_230330_, BlockPos p_230331_, StructurePlaceSettings p_230332_, RandomSource p_230333_, int p_230334_) -
Uses of ServerLevelAccessor in net.minecraftforge.debug.entity
Modifier and TypeMethodDescriptionprivate static boolean
SpawnPlacementTest.validMonsterSpawn
(ServerLevelAccessor level, BlockPos pos, EntityType<?> type)