Uses of Interface
net.minecraft.world.level.LevelReader
Package
Description
-
Uses of LevelReader in net.minecraft.client.multiplayer
-
Uses of LevelReader in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprivate static void
EntityRenderDispatcher.renderBlockShadow
(PoseStack.Pose p_114432_, VertexConsumer p_114433_, LevelReader p_114434_, BlockPos p_114435_, double p_114436_, double p_114437_, double p_114438_, float p_114439_, float p_114440_) private static void
EntityRenderDispatcher.renderShadow
(PoseStack p_114458_, MultiBufferSource p_114459_, Entity p_114460_, float p_114461_, float p_114462_, LevelReader p_114463_, float p_114464_) -
Uses of LevelReader in net.minecraft.server.level
-
Uses of LevelReader in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate boolean
ServerGamePacketListenerImpl.isPlayerCollidingWithAnythingNew
(LevelReader p_9796_, AABB p_9797_) -
Uses of LevelReader in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate TriPredicate<LevelReader,
BlockPos, EntityType<?>> SpawnPlacements.Type.predicate
Modifier and TypeMethodDescriptionboolean
SpawnPlacements.Type.canSpawnAt
(LevelReader world, BlockPos pos, EntityType<?> type) boolean
Mob.checkSpawnObstruction
(LevelReader p_21433_) float
PathfinderMob.getWalkTargetValue
(BlockPos p_21688_, LevelReader p_21689_) protected static double
EntityType.getYOffset
(LevelReader p_20626_, BlockPos p_20627_, boolean p_20628_, AABB p_20629_) Modifier and TypeMethodDescriptionstatic SpawnPlacements.Type
SpawnPlacements.Type.create
(String name, TriPredicate<LevelReader, BlockPos, EntityType<? extends Mob>> predicate) ModifierConstructorDescriptionprivate
Type
(TriPredicate<LevelReader, BlockPos, EntityType<?>> predicate) -
Uses of LevelReader in net.minecraft.world.entity.ai.goal
Modifier and TypeMethodDescriptionprivate boolean
BreathAirGoal.givesAir
(LevelReader p_25107_, BlockPos p_25108_) protected boolean
CatLieOnBedGoal.isValidTarget
(LevelReader p_25142_, BlockPos p_25143_) protected boolean
CatSitOnBlockGoal.isValidTarget
(LevelReader p_25153_, BlockPos p_25154_) protected abstract boolean
MoveToBlockGoal.isValidTarget
(LevelReader p_25619_, BlockPos p_25620_) protected boolean
RemoveBlockGoal.isValidTarget
(LevelReader p_25850_, BlockPos p_25851_) -
Uses of LevelReader in net.minecraft.world.entity.ai.village.poi
Modifier and TypeMethodDescriptionvoid
PoiManager.ensureLoadedAndValid
(LevelReader p_27057_, BlockPos p_27058_, int p_27059_) -
Uses of LevelReader in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionboolean
IronGolem.checkSpawnObstruction
(LevelReader p_28853_) boolean
Ocelot.checkSpawnObstruction
(LevelReader p_29005_) boolean
WaterAnimal.checkSpawnObstruction
(LevelReader p_30348_) float
Animal.getWalkTargetValue
(BlockPos p_27573_, LevelReader p_27574_) float
Bee.getWalkTargetValue
(BlockPos p_27788_, LevelReader p_27789_) float
MushroomCow.getWalkTargetValue
(BlockPos p_28933_, LevelReader p_28934_) float
Turtle.getWalkTargetValue
(BlockPos p_30159_, LevelReader p_30160_) protected boolean
Fox.FoxEatBerriesGoal.isValidTarget
(LevelReader p_28680_, BlockPos p_28681_) protected boolean
Rabbit.RaidGardenGoal.isValidTarget
(LevelReader p_29785_, BlockPos p_29786_) protected boolean
Turtle.TurtleGoToWaterGoal.isValidTarget
(LevelReader p_30270_, BlockPos p_30271_) protected boolean
Turtle.TurtleLayEggGoal.isValidTarget
(LevelReader p_30280_, BlockPos p_30281_) -
Uses of LevelReader in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionboolean
Axolotl.checkSpawnObstruction
(LevelReader p_149130_) float
Axolotl.getWalkTargetValue
(BlockPos p_149140_, LevelReader p_149141_) -
Uses of LevelReader in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionboolean
Drowned.checkSpawnObstruction
(LevelReader p_32370_) boolean
Guardian.checkSpawnObstruction
(LevelReader p_32829_) boolean
MagmaCube.checkSpawnObstruction
(LevelReader p_32975_) boolean
Ravager.checkSpawnObstruction
(LevelReader p_33342_) boolean
Strider.checkSpawnObstruction
(LevelReader p_33880_) boolean
ZombifiedPiglin.checkSpawnObstruction
(LevelReader p_34442_) float
Giant.getWalkTargetValue
(BlockPos p_32791_, LevelReader p_32792_) float
Guardian.getWalkTargetValue
(BlockPos p_32831_, LevelReader p_32832_) float
Monster.getWalkTargetValue
(BlockPos p_33013_, LevelReader p_33014_) float
Pillager.getWalkTargetValue
(BlockPos p_33288_, LevelReader p_33289_) float
Silverfish.getWalkTargetValue
(BlockPos p_33530_, LevelReader p_33531_) float
Strider.getWalkTargetValue
(BlockPos p_33895_, LevelReader p_33896_) protected boolean
Drowned.DrownedGoToBeachGoal.isValidTarget
(LevelReader p_32413_, BlockPos p_32414_) protected boolean
Strider.StriderGoToLavaGoal.isValidTarget
(LevelReader p_33963_, BlockPos p_33964_) -
Uses of LevelReader in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionfloat
Hoglin.getWalkTargetValue
(BlockPos p_34516_, LevelReader p_34517_) -
Uses of LevelReader in net.minecraft.world.entity.monster.warden
Modifier and TypeMethodDescriptionboolean
Warden.checkSpawnObstruction
(LevelReader p_219398_) float
Warden.getWalkTargetValue
(BlockPos p_219410_, LevelReader p_219411_) -
Uses of LevelReader in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionprivate BlockPos
WanderingTraderSpawner.findSpawnPositionNear
(LevelReader p_35929_, BlockPos p_35930_, int p_35931_) -
Uses of LevelReader in net.minecraft.world.level
Modifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
Modifier and TypeMethodDescriptionstatic boolean
NaturalSpawner.canSpawnAtBody
(SpawnPlacements.Type p_47052_, LevelReader p_47053_, BlockPos p_47054_, EntityType<?> p_47055_) private static BlockPos
NaturalSpawner.getTopNonCollidingPos
(LevelReader p_47066_, EntityType<?> p_47067_, int p_47068_, int p_47069_) static boolean
NaturalSpawner.isSpawnPositionOk
(SpawnPlacements.Type p_47052_, LevelReader p_47053_, BlockPos p_47054_, EntityType<?> p_47055_) -
Uses of LevelReader in net.minecraft.world.level.biome
Modifier and TypeMethodDescriptionBiomeSource.findClosestBiome3d
(BlockPos p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) FixedBiomeSource.findClosestBiome3d
(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) boolean
Biome.shouldFreeze
(LevelReader p_47478_, BlockPos p_47479_) boolean
Biome.shouldFreeze
(LevelReader p_47481_, BlockPos p_47482_, boolean p_47483_) boolean
Biome.shouldSnow
(LevelReader p_47520_, BlockPos p_47521_) -
Uses of LevelReader in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprivate static boolean
ChorusFlowerBlock.allNeighborsEmpty
(LevelReader p_51698_, BlockPos p_51699_, Direction p_51700_) private static DripstoneThickness
PointedDripstoneBlock.calculateDripstoneThickness
(LevelReader p_154093_, BlockPos p_154094_, Direction p_154095_, boolean p_154096_) private static Direction
PointedDripstoneBlock.calculateTipDirection
(LevelReader p_154191_, BlockPos p_154192_, Direction p_154193_) static boolean
FaceAttachedHorizontalDirectionalBlock.canAttach
(LevelReader p_53197_, BlockPos p_53198_, Direction p_53199_) private static boolean
SpreadingSnowyDirtBlock.canBeGrass
(BlockState p_56824_, LevelReader p_56825_, BlockPos p_56826_) private static boolean
NyliumBlock.canBeNylium
(BlockState p_55079_, LevelReader p_55080_, BlockPos p_55081_) private static boolean
SpreadingSnowyDirtBlock.canPropagate
(BlockState p_56828_, LevelReader p_56829_, BlockPos p_56830_) boolean
CarvedPumpkinBlock.canSpawnGolem
(LevelReader p_51382_, BlockPos p_51383_) static boolean
Block.canSupportCenter
(LevelReader p_49864_, BlockPos p_49865_, Direction p_49866_) boolean
AmethystClusterBlock.canSurvive
(BlockState p_152026_, LevelReader p_152027_, BlockPos p_152028_) boolean
BambooBlock.canSurvive
(BlockState p_48917_, LevelReader p_48918_, BlockPos p_48919_) boolean
BambooSaplingBlock.canSurvive
(BlockState p_48986_, LevelReader p_48987_, BlockPos p_48988_) boolean
BannerBlock.canSurvive
(BlockState p_49019_, LevelReader p_49020_, BlockPos p_49021_) boolean
BaseCoralPlantTypeBlock.canSurvive
(BlockState p_49169_, LevelReader p_49170_, BlockPos p_49171_) boolean
BaseCoralWallFanBlock.canSurvive
(BlockState p_49200_, LevelReader p_49201_, BlockPos p_49202_) boolean
BasePressurePlateBlock.canSurvive
(BlockState p_49325_, LevelReader p_49326_, BlockPos p_49327_) boolean
BaseRailBlock.canSurvive
(BlockState p_49395_, LevelReader p_49396_, BlockPos p_49397_) boolean
BellBlock.canSurvive
(BlockState p_49736_, LevelReader p_49737_, BlockPos p_49738_) boolean
BigDripleafBlock.canSurvive
(BlockState p_152289_, LevelReader p_152290_, BlockPos p_152291_) boolean
BigDripleafStemBlock.canSurvive
(BlockState p_152365_, LevelReader p_152366_, BlockPos p_152367_) boolean
BubbleColumnBlock.canSurvive
(BlockState p_50986_, LevelReader p_50987_, BlockPos p_50988_) boolean
BushBlock.canSurvive
(BlockState p_51028_, LevelReader p_51029_, BlockPos p_51030_) boolean
CactusBlock.canSurvive
(BlockState p_51153_, LevelReader p_51154_, BlockPos p_51155_) boolean
CakeBlock.canSurvive
(BlockState p_51209_, LevelReader p_51210_, BlockPos p_51211_) boolean
CandleBlock.canSurvive
(BlockState p_152829_, LevelReader p_152830_, BlockPos p_152831_) boolean
CandleCakeBlock.canSurvive
(BlockState p_152891_, LevelReader p_152892_, BlockPos p_152893_) boolean
CarpetBlock.canSurvive
(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) boolean
ChorusFlowerBlock.canSurvive
(BlockState p_51683_, LevelReader p_51684_, BlockPos p_51685_) boolean
ChorusPlantBlock.canSurvive
(BlockState p_51724_, LevelReader p_51725_, BlockPos p_51726_) boolean
CocoaBlock.canSurvive
(BlockState p_51767_, LevelReader p_51768_, BlockPos p_51769_) boolean
CropBlock.canSurvive
(BlockState p_52282_, LevelReader p_52283_, BlockPos p_52284_) boolean
DiodeBlock.canSurvive
(BlockState p_52538_, LevelReader p_52539_, BlockPos p_52540_) boolean
DirtPathBlock.canSurvive
(BlockState p_153148_, LevelReader p_153149_, BlockPos p_153150_) boolean
DoorBlock.canSurvive
(BlockState p_52783_, LevelReader p_52784_, BlockPos p_52785_) boolean
DoublePlantBlock.canSurvive
(BlockState p_52887_, LevelReader p_52888_, BlockPos p_52889_) boolean
FaceAttachedHorizontalDirectionalBlock.canSurvive
(BlockState p_53186_, LevelReader p_53187_, BlockPos p_53188_) boolean
FarmBlock.canSurvive
(BlockState p_53272_, LevelReader p_53273_, BlockPos p_53274_) boolean
FireBlock.canSurvive
(BlockState p_53454_, LevelReader p_53455_, BlockPos p_53456_) boolean
FrogspawnBlock.canSurvive
(BlockState p_221209_, LevelReader p_221210_, BlockPos p_221211_) boolean
GrindstoneBlock.canSurvive
(BlockState p_53828_, LevelReader p_53829_, BlockPos p_53830_) boolean
GrowingPlantBlock.canSurvive
(BlockState p_53876_, LevelReader p_53877_, BlockPos p_53878_) boolean
HangingRootsBlock.canSurvive
(BlockState p_153347_, LevelReader p_153348_, BlockPos p_153349_) boolean
LadderBlock.canSurvive
(BlockState p_54353_, LevelReader p_54354_, BlockPos p_54355_) boolean
LanternBlock.canSurvive
(BlockState p_153479_, LevelReader p_153480_, BlockPos p_153481_) boolean
MangrovePropaguleBlock.canSurvive
(BlockState p_221473_, LevelReader p_221474_, BlockPos p_221475_) boolean
MultifaceBlock.canSurvive
(BlockState p_153888_, LevelReader p_153889_, BlockPos p_153890_) boolean
MushroomBlock.canSurvive
(BlockState p_54880_, LevelReader p_54881_, BlockPos p_54882_) boolean
PointedDripstoneBlock.canSurvive
(BlockState p_154137_, LevelReader p_154138_, BlockPos p_154139_) boolean
RedstoneWallTorchBlock.canSurvive
(BlockState p_55762_, LevelReader p_55763_, BlockPos p_55764_) boolean
RedStoneWireBlock.canSurvive
(BlockState p_55585_, LevelReader p_55586_, BlockPos p_55587_) boolean
ScaffoldingBlock.canSurvive
(BlockState p_56040_, LevelReader p_56041_, BlockPos p_56042_) boolean
SeaPickleBlock.canSurvive
(BlockState p_56109_, LevelReader p_56110_, BlockPos p_56111_) boolean
SmallDripleafBlock.canSurvive
(BlockState p_154615_, LevelReader p_154616_, BlockPos p_154617_) boolean
SnowLayerBlock.canSurvive
(BlockState p_56602_, LevelReader p_56603_, BlockPos p_56604_) boolean
SoulFireBlock.canSurvive
(BlockState p_56655_, LevelReader p_56656_, BlockPos p_56657_) boolean
SporeBlossomBlock.canSurvive
(BlockState p_154709_, LevelReader p_154710_, BlockPos p_154711_) boolean
StandingSignBlock.canSurvive
(BlockState p_56995_, LevelReader p_56996_, BlockPos p_56997_) boolean
SugarCaneBlock.canSurvive
(BlockState p_57175_, LevelReader p_57176_, BlockPos p_57177_) boolean
TallSeagrassBlock.canSurvive
(BlockState p_154768_, LevelReader p_154769_, BlockPos p_154770_) boolean
TorchBlock.canSurvive
(BlockState p_57499_, LevelReader p_57500_, BlockPos p_57501_) boolean
TripWireHookBlock.canSurvive
(BlockState p_57721_, LevelReader p_57722_, BlockPos p_57723_) boolean
VineBlock.canSurvive
(BlockState p_57861_, LevelReader p_57862_, BlockPos p_57863_) boolean
WallBannerBlock.canSurvive
(BlockState p_57925_, LevelReader p_57926_, BlockPos p_57927_) boolean
WallSignBlock.canSurvive
(BlockState p_58073_, LevelReader p_58074_, BlockPos p_58075_) boolean
WallTorchBlock.canSurvive
(BlockState p_58133_, LevelReader p_58134_, BlockPos p_58135_) static BlockState
DoublePlantBlock.copyWaterloggedFrom
(LevelReader p_182454_, BlockPos p_182455_, BlockState p_182456_) protected int
DiodeBlock.getAlternateSignal
(LevelReader p_52548_, BlockPos p_52549_, BlockState p_52550_) protected int
DiodeBlock.getAlternateSignalAt
(LevelReader p_52552_, BlockPos p_52553_, Direction p_52554_) int
DropExperienceBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) int
RedStoneOreBlock.getExpDrop
(BlockState state, LevelReader world, RandomSource randomSource, BlockPos pos, int fortune, int silktouch) int
SculkCatalystBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) int
SculkSensorBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) int
SculkShriekerBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) int
SpawnerBlock.getExpDrop
(BlockState state, LevelReader world, RandomSource randomSource, BlockPos pos, int fortune, int silktouch) private int
FireBlock.getIgniteOdds
(LevelReader p_221157_, BlockPos p_221158_) boolean
ComparatorBlock.getWeakChanges
(BlockState state, LevelReader world, BlockPos pos) boolean
TrapDoorBlock.isLadder
(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) boolean
DiodeBlock.isLocked
(LevelReader p_52511_, BlockPos p_52512_, BlockState p_52513_) boolean
RepeaterBlock.isLocked
(LevelReader p_55805_, BlockPos p_55806_, BlockState p_55807_) private static boolean
FarmBlock.isNearWater
(LevelReader p_53259_, BlockPos p_53260_) private static boolean
PointedDripstoneBlock.isStalactiteStartPos
(BlockState p_154204_, LevelReader p_154205_, BlockPos p_154206_) private static boolean
PointedDripstoneBlock.isValidPointedDripstonePlacement
(LevelReader p_154222_, BlockPos p_154223_, Direction p_154224_) void
ComparatorBlock.onNeighborChange
(BlockState state, LevelReader world, BlockPos pos, BlockPos neighbor) private BlockState
WallBlock.sideUpdate
(LevelReader p_57989_, BlockPos p_57990_, BlockState p_57991_, BlockPos p_57992_, BlockState p_57993_, Direction p_57994_) private BlockState
WallBlock.topUpdate
(LevelReader p_57975_, BlockState p_57976_, BlockPos p_57977_, BlockState p_57978_) private BlockState
WallBlock.updateShape
(LevelReader p_57980_, BlockState p_57981_, BlockPos p_57982_, BlockState p_57983_, boolean p_57984_, boolean p_57985_, boolean p_57986_, boolean p_57987_) -
Uses of LevelReader in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionboolean
PistonHeadBlock.canSurvive
(BlockState p_60288_, LevelReader p_60289_, BlockPos p_60290_) -
Uses of LevelReader in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.canSurvive
(LevelReader p_60711_, BlockPos p_60712_) boolean
BlockBehaviour.canSurvive
(BlockState p_60525_, LevelReader p_60526_, BlockPos p_60527_) Deprecated. -
Uses of LevelReader in net.minecraft.world.level.block.state.pattern
Modifier and TypeFieldDescriptionprivate final LevelReader
BlockInWorld.level
private final LevelReader
BlockPattern.BlockCacheLoader.level
Modifier and TypeMethodDescriptionstatic com.google.common.cache.LoadingCache<BlockPos,
BlockInWorld> BlockPattern.createLevelCache
(LevelReader p_61188_, boolean p_61189_) BlockPattern.find
(LevelReader p_61185_, BlockPos p_61186_) BlockPattern.matches
(LevelReader p_155965_, BlockPos p_155966_, Direction p_155967_, Direction p_155968_) ModifierConstructorDescriptionBlockCacheLoader
(LevelReader p_61207_, boolean p_61208_) BlockInWorld
(LevelReader p_61165_, BlockPos p_61166_, boolean p_61167_) -
Uses of LevelReader in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223189_, LevelReader p_223190_, StructureManager p_223191_, int p_223192_, int p_223193_, int p_223194_, boolean p_223195_, long p_223196_, RandomSpreadStructurePlacement p_223197_) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) -
Uses of LevelReader in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionprivate static void
DynamicGameEventListener.ifChunkExists
(LevelReader p_223623_, SectionPos p_223624_, Consumer<GameEventDispatcher> p_223625_) -
Uses of LevelReader in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionprivate boolean
DripstoneClusterFeature.isLava
(LevelReader p_159586_, BlockPos p_159587_) -
Uses of LevelReader in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionprotected boolean
StructurePiece.canBeReplaced
(LevelReader p_163553_, int p_163554_, int p_163555_, int p_163556_, BoundingBox p_163557_) protected boolean
StructurePiece.isInterior
(LevelReader p_73415_, int p_73416_, int p_73417_, int p_73418_, BoundingBox p_73419_) -
Uses of LevelReader in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeMethodDescriptionprotected boolean
MineshaftPieces.MineShaftPiece.canBeReplaced
(LevelReader p_227885_, int p_227886_, int p_227887_, int p_227888_, BoundingBox p_227889_) private boolean
MineshaftPieces.MineShaftCorridor.canHangChainBelow
(LevelReader p_227809_, BlockPos p_227810_, BlockState p_227811_) private boolean
MineshaftPieces.MineShaftCorridor.canPlaceColumnOnTopOf
(LevelReader p_227739_, BlockPos p_227740_, BlockState p_227741_) -
Uses of LevelReader in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionStructureProcessor.process
(LevelReader p_74140_, BlockPos p_74141_, BlockPos p_74142_, StructureTemplate.StructureBlockInfo p_74143_, StructureTemplate.StructureBlockInfo p_74144_, StructurePlaceSettings p_74145_, StructureTemplate template) BlackstoneReplaceProcessor.processBlock
(LevelReader p_74000_, BlockPos p_74001_, BlockPos p_74002_, StructureTemplate.StructureBlockInfo p_74003_, StructureTemplate.StructureBlockInfo p_74004_, StructurePlaceSettings p_74005_) BlockAgeProcessor.processBlock
(LevelReader p_74016_, BlockPos p_74017_, BlockPos p_74018_, StructureTemplate.StructureBlockInfo p_74019_, StructureTemplate.StructureBlockInfo p_74020_, StructurePlaceSettings p_74021_) BlockIgnoreProcessor.processBlock
(LevelReader p_74055_, BlockPos p_74056_, BlockPos p_74057_, StructureTemplate.StructureBlockInfo p_74058_, StructureTemplate.StructureBlockInfo p_74059_, StructurePlaceSettings p_74060_) BlockRotProcessor.processBlock
(LevelReader p_74081_, BlockPos p_74082_, BlockPos p_74083_, StructureTemplate.StructureBlockInfo p_74084_, StructureTemplate.StructureBlockInfo p_74085_, StructurePlaceSettings p_74086_) GravityProcessor.processBlock
(LevelReader p_74109_, BlockPos p_74110_, BlockPos p_74111_, StructureTemplate.StructureBlockInfo p_74112_, StructureTemplate.StructureBlockInfo p_74113_, StructurePlaceSettings p_74114_) JigsawReplacementProcessor.processBlock
(LevelReader p_74127_, BlockPos p_74128_, BlockPos p_74129_, StructureTemplate.StructureBlockInfo p_74130_, StructureTemplate.StructureBlockInfo p_74131_, StructurePlaceSettings p_74132_) LavaSubmergedBlockProcessor.processBlock
(LevelReader p_74140_, BlockPos p_74141_, BlockPos p_74142_, StructureTemplate.StructureBlockInfo p_74143_, StructureTemplate.StructureBlockInfo p_74144_, StructurePlaceSettings p_74145_) NopProcessor.processBlock
(LevelReader p_74180_, BlockPos p_74181_, BlockPos p_74182_, StructureTemplate.StructureBlockInfo p_74183_, StructureTemplate.StructureBlockInfo p_74184_, StructurePlaceSettings p_74185_) ProtectedBlockProcessor.processBlock
(LevelReader p_163755_, BlockPos p_163756_, BlockPos p_163757_, StructureTemplate.StructureBlockInfo p_163758_, StructureTemplate.StructureBlockInfo p_163759_, StructurePlaceSettings p_163760_) RuleProcessor.processBlock
(LevelReader p_74299_, BlockPos p_74300_, BlockPos p_74301_, StructureTemplate.StructureBlockInfo p_74302_, StructureTemplate.StructureBlockInfo p_74303_, StructurePlaceSettings p_74304_) StructureProcessor.processBlock
(LevelReader p_74416_, BlockPos p_74417_, BlockPos p_74418_, StructureTemplate.StructureBlockInfo p_74419_, StructureTemplate.StructureBlockInfo p_74420_, StructurePlaceSettings p_74421_) Deprecated.StructureProcessor.processEntity
(LevelReader world, BlockPos seedPos, StructureTemplate.StructureEntityInfo rawEntityInfo, StructureTemplate.StructureEntityInfo entityInfo, StructurePlaceSettings placementSettings, StructureTemplate template) FORGE: Add entity processing. -
Uses of LevelReader in net.minecraft.world.level.material
Modifier and TypeMethodDescriptionboolean
FlowingFluid.canConvertToSource
(FluidState state, LevelReader reader, BlockPos pos) protected abstract int
FlowingFluid.getDropOff
(LevelReader p_76087_) int
LavaFluid.getDropOff
(LevelReader p_76252_) int
WaterFluid.getDropOff
(LevelReader p_76469_) protected FluidState
FlowingFluid.getNewLiquid
(LevelReader p_76036_, BlockPos p_76037_, BlockState p_76038_) protected int
FlowingFluid.getSlopeDistance
(LevelReader p_76027_, BlockPos p_76028_, int p_76029_, Direction p_76030_, BlockState p_76031_, BlockPos p_76032_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> p_76033_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap p_76034_) protected abstract int
FlowingFluid.getSlopeFindDistance
(LevelReader p_76074_) int
LavaFluid.getSlopeFindDistance
(LevelReader p_76244_) int
WaterFluid.getSlopeFindDistance
(LevelReader p_76464_) protected Map<Direction,
FluidState> FlowingFluid.getSpread
(LevelReader p_76080_, BlockPos p_76081_, BlockState p_76082_) int
EmptyFluid.getTickDelay
(LevelReader p_75922_) abstract int
Fluid.getTickDelay
(LevelReader p_76120_) int
LavaFluid.getTickDelay
(LevelReader p_76226_) int
WaterFluid.getTickDelay
(LevelReader p_76454_) private boolean
LavaFluid.hasFlammableNeighbours
(LevelReader p_76228_, BlockPos p_76229_) private boolean
LavaFluid.isFlammable
(LevelReader p_76246_, BlockPos p_76247_) Deprecated.private boolean
LavaFluid.isFlammable
(LevelReader level, BlockPos pos, Direction face) private int
FlowingFluid.sourceNeighborCount
(LevelReader p_76020_, BlockPos p_76021_) -
Uses of LevelReader in net.minecraftforge.client.extensions.common
Modifier and TypeMethodDescriptiondefault Vector3d
IClientBlockExtensions.getFogColor
(BlockState state, LevelReader level, BlockPos pos, Entity entity, Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTED -
Uses of LevelReader in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final Map<LevelReader,
Map<ChunkPos, ChunkTicketManager<Vec3>>> FarmlandWaterManager.customWaterHandler
Modifier and TypeMethodDescriptionprivate static ChunkTicketManager<Vec3>
FarmlandWaterManager.getTicketManager
(ChunkPos pos, LevelReader level) static boolean
FarmlandWaterManager.hasBlockWaterTicket
(LevelReader level, BlockPos pos) Tests if a block is in a region that is watered by blocks. -
Uses of LevelReader in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeFluid.canConvertToSource
(FluidState state, LevelReader reader, BlockPos pos) Returns whether the fluid can create a source.default boolean
IForgeFluidState.canConvertToSource
(LevelReader reader, BlockPos pos) Returns whether the fluid can create a source.default boolean
IForgeItem.doesSneakBypassUse
(ItemStack stack, LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default boolean
IForgeItemStack.doesSneakBypassUse
(LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default @org.jetbrains.annotations.Nullable float[]
IForgeBlock.getBeaconColorMultiplier
(BlockState state, LevelReader level, BlockPos pos, BlockPos beaconPos) default @org.jetbrains.annotations.Nullable float[]
IForgeBlockState.getBeaconColorMultiplier
(LevelReader level, BlockPos pos, BlockPos beacon) default Direction
IForgeBlock.getBedDirection
(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default Direction
IForgeBlockState.getBedDirection
(LevelReader level, BlockPos pos) Returns the direction of the block.default float
IForgeBlock.getEnchantPowerBonus
(BlockState state, LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default float
IForgeBlockState.getEnchantPowerBonus
(LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default int
IForgeBlock.getExpDrop
(BlockState state, LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) Gathers how much experience this block drops when broken.default int
IForgeBlockState.getExpDrop
(LevelReader level, RandomSource randomSource, BlockPos pos, int fortuneLevel, int silkTouchLevel) Gathers how much experience this block drops when broken.default float
IForgeBlock.getFriction
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default float
IForgeBlockState.getFriction
(LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.IForgeBlock.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation, @Nullable LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.IForgeBlockState.getRespawnPosition
(EntityType<?> type, LevelReader level, BlockPos pos, float orientation, @Nullable LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.default SoundType
IForgeBlock.getSoundType
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault SoundType
IForgeBlockState.getSoundType
(LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault boolean
IForgeBlock.getWeakChanges
(BlockState state, LevelReader level, BlockPos pos) If this block should be notified of weak changes.default boolean
IForgeBlockState.getWeakChanges
(LevelReader level, BlockPos pos) If this block should be notified of weak changes.default boolean
IForgeBlock.isConduitFrame
(BlockState state, LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IForgeBlockState.isConduitFrame
(LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IForgeBlock.isFireSource
(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default boolean
IForgeBlockState.isFireSource
(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IForgeBlock.isLadder
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IForgeBlockState.isLadder
(LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IForgeBlock.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IForgeBlockState.isValidSpawn
(LevelReader level, BlockPos pos, SpawnPlacements.Type type, EntityType<?> entityType) Determines if a specified mob type can spawn on this block, returning false will prevent any mob from spawning on the block.default boolean
IForgeBlock.makesOpenTrapdoorAboveClimbable
(BlockState state, LevelReader level, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default void
IForgeBlock.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState, BlockState newState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IForgeBlockState.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IForgeBlock.onNeighborChange
(BlockState state, LevelReader level, BlockPos pos, BlockPos neighbor) Called when a tile entity on a side of this block changes is created or is destroyed.default void
IForgeBlockState.onNeighborChange
(LevelReader level, BlockPos pos, BlockPos neighbor) Called when a tile entity on a side of this block changes is created or is destroyed.default boolean
IForgeBlock.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default boolean
IForgeBlockState.onTreeGrow
(LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default boolean
IForgeBlock.shouldCheckWeakPower
(BlockState state, LevelReader level, BlockPos pos, Direction side) Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules.default boolean
IForgeBlockState.shouldCheckWeakPower
(LevelReader level, BlockPos pos, Direction side) Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules. -
Uses of LevelReader in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionboolean
CustomPlantTypeTest.CustomPlantBlock.canSurvive
(BlockState state, LevelReader world, BlockPos pos) boolean
ValidRailShapeTest.RailSlopeBlock.canSurvive
(BlockState state, LevelReader level, BlockPos pos) CustomRespawnTest.CustomRespawnBlock.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation, @Nullable LivingEntity entity) boolean
ScaffoldingTest.ScaffoldingMethodTestBlock.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) -
Uses of LevelReader in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canCreateFluidSource
(LevelReader level, BlockPos pos, BlockState state, boolean def) -
Uses of LevelReader in net.minecraftforge.event.level
Modifier and TypeFieldDescriptionprivate final LevelReader
BlockEvent.CreateFluidSourceEvent.level
ModifierConstructorDescriptionCreateFluidSourceEvent
(LevelReader level, BlockPos pos, BlockState state) -
Uses of LevelReader in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionboolean
FluidType.canConvertToSource
(FluidState state, LevelReader reader, BlockPos pos) Returns whether the fluid can create a source.boolean
ForgeFlowingFluid.canConvertToSource
(FluidState state, LevelReader reader, BlockPos pos) protected int
ForgeFlowingFluid.getDropOff
(LevelReader worldIn) protected int
ForgeFlowingFluid.getSlopeFindDistance
(LevelReader worldIn) int
ForgeFlowingFluid.getTickDelay
(LevelReader level)
LavaFluid.isFlammable(LevelReader,BlockPos,Direction)
instead