Uses of Interface
net.minecraft.world.level.LevelReader
Packages that use LevelReader
Package
Description
-
Uses of LevelReader in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate static boolean
BlockPredicate.matchesBlockEntity
(LevelReader pLevel, BlockEntity pBlockEntity, NbtPredicate pNbtPredicate) -
Uses of LevelReader in net.minecraft.client.multiplayer
Classes in net.minecraft.client.multiplayer that implement LevelReader -
Uses of LevelReader in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate static void
EntityRenderDispatcher.renderBlockShadow
(PoseStack.Pose pPose, VertexConsumer pConsumer, ChunkAccess pChunk, LevelReader pLevel, BlockPos pPos, double pX, double pY, double pZ, float pSize, float pWeight) private static void
EntityRenderDispatcher.renderShadow
(PoseStack pPoseStack, MultiBufferSource pBufferSource, EntityRenderState pRenderState, float pStrength, LevelReader pLevel, float pSize) -
Uses of LevelReader in net.minecraft.server.level
Classes in net.minecraft.server.level that implement LevelReader -
Uses of LevelReader in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate boolean
ServerGamePacketListenerImpl.isPlayerCollidingWithAnythingNew
(LevelReader pLevel, AABB pBox, double pX, double pY, double pZ) -
Uses of LevelReader in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type LevelReaderModifier and TypeMethodDescriptiondefault BlockPos
SpawnPlacementType.adjustSpawnPosition
(LevelReader pLevel, BlockPos pPos) boolean
Mob.checkSpawnObstruction
(LevelReader pLevel) float
PathfinderMob.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) protected static double
EntityType.getYOffset
(LevelReader pLevel, BlockPos pPos, boolean pShouldOffsetYMore, AABB pBox) static boolean
SpawnPlacements.isSpawnPositionOk
(EntityType<?> pEntityType, LevelReader pLevel, BlockPos pPos) boolean
SpawnPlacementType.isSpawnPositionOk
(LevelReader pLevel, BlockPos pPos, EntityType<?> pEntityType) -
Uses of LevelReader in net.minecraft.world.entity.ai.goal
Methods in net.minecraft.world.entity.ai.goal with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate boolean
BreathAirGoal.givesAir
(LevelReader pLevel, BlockPos pPos) protected boolean
CatLieOnBedGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
CatSitOnBlockGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected abstract boolean
MoveToBlockGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
RemoveBlockGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destination -
Uses of LevelReader in net.minecraft.world.entity.ai.village.poi
Methods in net.minecraft.world.entity.ai.village.poi with parameters of type LevelReaderModifier and TypeMethodDescriptionvoid
PoiManager.ensureLoadedAndValid
(LevelReader pLevelReader, BlockPos pPos, int pCoordinateOffset) -
Uses of LevelReader in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type LevelReaderModifier and TypeMethodDescriptionboolean
AgeableWaterCreature.checkSpawnObstruction
(LevelReader p_364382_) boolean
IronGolem.checkSpawnObstruction
(LevelReader pLevel) boolean
Ocelot.checkSpawnObstruction
(LevelReader pLevel) boolean
WaterAnimal.checkSpawnObstruction
(LevelReader pLevel) float
Animal.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Bee.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
MushroomCow.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Turtle.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) protected boolean
Fox.FoxEatBerriesGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
Rabbit.RaidGardenGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
Turtle.TurtleGoToWaterGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
Turtle.TurtleLayEggGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destination -
Uses of LevelReader in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl with parameters of type LevelReaderModifier 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
Methods in net.minecraft.world.entity.monster with parameters of type LevelReaderModifier and TypeMethodDescriptionboolean
Drowned.checkSpawnObstruction
(LevelReader pLevel) boolean
Guardian.checkSpawnObstruction
(LevelReader pLevel) boolean
Ravager.checkSpawnObstruction
(LevelReader pLevel) boolean
Strider.checkSpawnObstruction
(LevelReader pLevel) boolean
ZombifiedPiglin.checkSpawnObstruction
(LevelReader pLevel) float
Giant.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Guardian.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Monster.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Pillager.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Silverfish.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) float
Strider.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) protected boolean
Drowned.DrownedGoToBeachGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destinationprotected boolean
Strider.StriderGoToLavaGoal.isValidTarget
(LevelReader pLevel, BlockPos pPos) Returntrue
to set given position as destination -
Uses of LevelReader in net.minecraft.world.entity.monster.creaking
Methods in net.minecraft.world.entity.monster.creaking with parameters of type LevelReaderModifier and TypeMethodDescriptionfloat
Creaking.getWalkTargetValue
(BlockPos p_379756_, LevelReader p_380102_) -
Uses of LevelReader in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type LevelReaderModifier and TypeMethodDescriptionfloat
Hoglin.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) -
Uses of LevelReader in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type LevelReaderModifier 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
Methods in net.minecraft.world.entity.npc with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate BlockPos
WanderingTraderSpawner.findSpawnPositionNear
(LevelReader pLevel, BlockPos pPos, int pMaxDistance) -
Uses of LevelReader in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type LevelReaderModifier and TypeMethodDescriptionprotected boolean
HangingSignItem.canPlace
(LevelReader p_252032_, BlockState p_252230_, BlockPos p_252075_) protected boolean
StandingAndWallBlockItem.canPlace
(LevelReader pLevel, BlockState pState, BlockPos pPos) -
Uses of LevelReader in net.minecraft.world.level
Subinterfaces of LevelReader in net.minecraft.world.levelModifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
Classes in net.minecraft.world.level that implement LevelReaderMethods in net.minecraft.world.level with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate static BlockPos
NaturalSpawner.getTopNonCollidingPos
(LevelReader pLevel, EntityType<?> pEntityType, int pX, int pZ) -
Uses of LevelReader in net.minecraft.world.level.biome
Methods in net.minecraft.world.level.biome with parameters of type LevelReaderModifier and TypeMethodDescriptionBiomeSource.findClosestBiome3d
(BlockPos pPos, int pRadius, int pHorizontalStep, int pVerticalStep, Predicate<Holder<Biome>> pBiomePredicate, Climate.Sampler pSampler, LevelReader pLevel) 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 pLevel, BlockPos pPos) boolean
Biome.shouldFreeze
(LevelReader pLevel, BlockPos pWater, boolean pMustBeAtEdge) boolean
Biome.shouldSnow
(LevelReader pLevel, BlockPos pPos) -
Uses of LevelReader in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate static boolean
ChorusFlowerBlock.allNeighborsEmpty
(LevelReader pLevel, BlockPos pPos, Direction pExcludingSide) private static DripstoneThickness
PointedDripstoneBlock.calculateDripstoneThickness
(LevelReader pLevel, BlockPos pPos, Direction pDir, boolean pIsTipMerge) private static Direction
PointedDripstoneBlock.calculateTipDirection
(LevelReader pLevel, BlockPos pPos, Direction pDir) static boolean
FaceAttachedHorizontalDirectionalBlock.canAttach
(LevelReader pReader, BlockPos pPos, Direction pDirection) boolean
WallHangingSignBlock.canAttachTo
(LevelReader pLevel, BlockState pState, BlockPos pPos, Direction pDirection) private static boolean
SpreadingSnowyDirtBlock.canBeGrass
(BlockState pState, LevelReader pLevelReader, BlockPos pPos) private static boolean
NyliumBlock.canBeNylium
(BlockState pState, LevelReader pReader, BlockPos pPos) private boolean
PitcherCropBlock.canGrow
(LevelReader pReader, BlockPos pPos, BlockState pState, int pAge) private static boolean
PitcherCropBlock.canGrowInto
(LevelReader pLevel, BlockPos pPos) boolean
WallHangingSignBlock.canPlace
(BlockState pState, LevelReader pLevel, BlockPos pPos) private static boolean
SpreadingSnowyDirtBlock.canPropagate
(BlockState pState, LevelReader pLevel, BlockPos pPos) boolean
CarvedPumpkinBlock.canSpawnGolem
(LevelReader pLevel, BlockPos pPos) static boolean
Block.canSupportCenter
(LevelReader pLevel, BlockPos pPos, Direction pDirection) protected boolean
AmethystClusterBlock.canSurvive
(BlockState p_152026_, LevelReader p_152027_, BlockPos p_152028_) protected boolean
BambooSaplingBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BambooStalkBlock.canSurvive
(BlockState p_261860_, LevelReader p_262154_, BlockPos p_261493_) protected boolean
BannerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseCoralPlantTypeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseCoralWallFanBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BasePressurePlateBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseRailBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BaseTorchBlock.canSurvive
(BlockState p_304413_, LevelReader p_304885_, BlockPos p_304808_) protected boolean
BellBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BigDripleafBlock.canSurvive
(BlockState p_152289_, LevelReader p_152290_, BlockPos p_152291_) protected boolean
BigDripleafStemBlock.canSurvive
(BlockState p_152365_, LevelReader p_152366_, BlockPos p_152367_) protected boolean
BubbleColumnBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CactusBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CakeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CandleBlock.canSurvive
(BlockState p_152829_, LevelReader p_152830_, BlockPos p_152831_) protected boolean
CandleCakeBlock.canSurvive
(BlockState p_152891_, LevelReader p_152892_, BlockPos p_152893_) protected boolean
CarpetBlock.canSurvive
(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) protected boolean
CeilingHangingSignBlock.canSurvive
(BlockState p_248994_, LevelReader p_249061_, BlockPos p_249490_) protected boolean
ChorusFlowerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
ChorusPlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CocoaBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CropBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DiodeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DirtPathBlock.canSurvive
(BlockState p_153148_, LevelReader p_153149_, BlockPos p_153150_) protected boolean
DoorBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
DoublePlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FaceAttachedHorizontalDirectionalBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FarmBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
FrogspawnBlock.canSurvive
(BlockState p_221209_, LevelReader p_221210_, BlockPos p_221211_) protected boolean
GrindstoneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
GrowingPlantBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
HangingMossBlock.canSurvive
(BlockState p_380096_, LevelReader p_379969_, BlockPos p_380283_) protected boolean
HangingRootsBlock.canSurvive
(BlockState p_153347_, LevelReader p_153348_, BlockPos p_153349_) protected boolean
LadderBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
LanternBlock.canSurvive
(BlockState p_153479_, LevelReader p_153480_, BlockPos p_153481_) protected boolean
LeafLitterBlock.canSurvive
(BlockState p_401850_, LevelReader p_401768_, BlockPos p_401902_) protected boolean
MangrovePropaguleBlock.canSurvive
(BlockState p_221473_, LevelReader p_221474_, BlockPos p_221475_) protected boolean
MossyCarpetBlock.canSurvive
(BlockState p_379574_, LevelReader p_379768_, BlockPos p_380354_) protected boolean
MultifaceBlock.canSurvive
(BlockState p_153888_, LevelReader p_153889_, BlockPos p_153890_) protected boolean
MushroomBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) boolean
PitcherCropBlock.canSurvive
(BlockState p_277671_, LevelReader p_277477_, BlockPos p_278085_) protected boolean
PointedDripstoneBlock.canSurvive
(BlockState p_154137_, LevelReader p_154138_, BlockPos p_154139_) protected boolean
RedstoneWallTorchBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
RedStoneWireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
ScaffoldingBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SeaPickleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SmallDripleafBlock.canSurvive
(BlockState p_154615_, LevelReader p_154616_, BlockPos p_154617_) protected boolean
SnowLayerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SoulFireBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SporeBlossomBlock.canSurvive
(BlockState p_154709_, LevelReader p_154710_, BlockPos p_154711_) protected boolean
StandingSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
SugarCaneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
TallSeagrassBlock.canSurvive
(BlockState p_154768_, LevelReader p_154769_, BlockPos p_154770_) protected boolean
TripWireHookBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
VegetationBlock.canSurvive
(BlockState p_401395_, LevelReader p_401031_, BlockPos p_401248_) protected boolean
VineBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallBannerBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
WallTorchBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) static boolean
WallTorchBlock.canSurvive
(LevelReader pLevel, BlockPos pPos, Direction pFacing) protected boolean
DiodeBlock.canSurviveOn
(LevelReader pLevel, BlockPos pPos, BlockState pState) static BlockState
DoublePlantBlock.copyWaterloggedFrom
(LevelReader pLevel, BlockPos pPos, BlockState pState) protected ItemStack
AbstractBannerBlock.getCloneItemStack
(LevelReader p_304796_, BlockPos p_48665_, BlockState p_48666_, boolean p_386769_) protected ItemStack
AttachedStemBlock.getCloneItemStack
(LevelReader p_304950_, BlockPos p_48839_, BlockState p_48840_, boolean p_388189_) protected ItemStack
BambooSaplingBlock.getCloneItemStack
(LevelReader p_304956_, BlockPos p_48965_, BlockState p_48966_, boolean p_387375_) protected ItemStack
BeehiveBlock.getCloneItemStack
(LevelReader p_386459_, BlockPos p_387055_, BlockState p_387788_, boolean p_387391_) protected ItemStack
BigDripleafStemBlock.getCloneItemStack
(LevelReader p_304938_, BlockPos p_152337_, BlockState p_152338_, boolean p_387224_) protected ItemStack
CandleCakeBlock.getCloneItemStack
(LevelReader p_304662_, BlockPos p_152863_, BlockState p_152864_, boolean p_387122_) protected ItemStack
CaveVinesBlock.getCloneItemStack
(LevelReader p_304590_, BlockPos p_152967_, BlockState p_152968_, boolean p_386659_) protected ItemStack
CaveVinesPlantBlock.getCloneItemStack
(LevelReader p_304444_, BlockPos p_153008_, BlockState p_153009_, boolean p_387975_) protected ItemStack
CropBlock.getCloneItemStack
(LevelReader p_304482_, BlockPos p_52255_, BlockState p_52256_, boolean p_387989_) protected ItemStack
DecoratedPotBlock.getCloneItemStack
(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_, boolean p_387769_) protected ItemStack
EndGatewayBlock.getCloneItemStack
(LevelReader p_304768_, BlockPos p_53004_, BlockState p_53005_, boolean p_387386_) protected ItemStack
EndPortalBlock.getCloneItemStack
(LevelReader p_304508_, BlockPos p_53022_, BlockState p_53023_, boolean p_388548_) protected ItemStack
FlowerPotBlock.getCloneItemStack
(LevelReader p_304505_, BlockPos p_53532_, BlockState p_53533_, boolean p_388306_) protected ItemStack
FrostedIceBlock.getCloneItemStack
(LevelReader p_304729_, BlockPos p_53571_, BlockState p_53572_, boolean p_386722_) protected ItemStack
GrowingPlantBodyBlock.getCloneItemStack
(LevelReader p_304650_, BlockPos p_53897_, BlockState p_53898_, boolean p_388787_) protected ItemStack
LightBlock.getCloneItemStack
(LevelReader p_304798_, BlockPos p_153665_, BlockState p_153666_, boolean p_387561_) protected ItemStack
NetherPortalBlock.getCloneItemStack
(LevelReader p_304402_, BlockPos p_54912_, BlockState p_54913_, boolean p_386478_) protected ItemStack
NetherWartBlock.getCloneItemStack
(LevelReader p_304797_, BlockPos p_54974_, BlockState p_54975_, boolean p_387454_) protected ItemStack
StemBlock.getCloneItemStack
(LevelReader p_304982_, BlockPos p_57027_, BlockState p_57028_, boolean p_387824_) protected ItemStack
SweetBerryBushBlock.getCloneItemStack
(LevelReader p_304655_, BlockPos p_57257_, BlockState p_57258_, boolean p_388022_) protected ItemStack
TallSeagrassBlock.getCloneItemStack
(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_, boolean p_387662_) protected ItemStack
TestBlock.getCloneItemStack
(LevelReader p_397697_, BlockPos p_397696_, BlockState p_397513_, boolean p_398035_) private Optional
<? extends Holder<ConfiguredFeature<?, ?>>> FungusBlock.getFeature
(LevelReader pLevel) private int
FireBlock.getIgniteOdds
(LevelReader pLevel, BlockPos pPos) private PitcherCropBlock.PosAndState
PitcherCropBlock.getLowerHalf
(LevelReader pLevel, BlockPos pPos, BlockState pState) BonemealableBlock.getSpreadableNeighbourPos
(List<Direction> pDirections, LevelReader pLevel, BlockPos pPos, BlockState pState) private BlockState
FireBlock.getStateWithAge
(LevelReader pLevel, BlockPos pPos, int pAge) boolean
ComparatorBlock.getWeakChanges
(BlockState state, LevelReader world, BlockPos pos) static boolean
CreakingHeartBlock.hasRequiredLogs
(BlockState pState, LevelReader pLevel, BlockPos pPos) static boolean
BonemealableBlock.hasSpreadableNeighbourPos
(LevelReader pLevel, BlockPos pPos, BlockState pState) static boolean
CropBlock.hasSufficientLight
(LevelReader pLevel, BlockPos pPos) boolean
TrapDoorBlock.isLadder
(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) boolean
DiodeBlock.isLocked
(LevelReader pLevel, BlockPos pPos, BlockState pState) Check if neighboring blocks are locking this diode.boolean
RepeaterBlock.isLocked
(LevelReader pLevel, BlockPos pPos, BlockState pState) private static boolean
FarmBlock.isNearWater
(LevelReader pLevel, BlockPos pPos) private static boolean
PointedDripstoneBlock.isStalactiteStartPos
(BlockState pState, LevelReader pLevel, BlockPos pPos) boolean
AzaleaBlock.isValidBonemealTarget
(LevelReader p_256329_, BlockPos p_256107_, BlockState p_255771_) boolean
BambooSaplingBlock.isValidBonemealTarget
(LevelReader p_256136_, BlockPos p_256527_, BlockState p_255620_) boolean
BambooStalkBlock.isValidBonemealTarget
(LevelReader p_262065_, BlockPos p_262033_, BlockState p_261700_) boolean
BigDripleafBlock.isValidBonemealTarget
(LevelReader p_255698_, BlockPos p_256302_, BlockState p_255648_) boolean
BigDripleafStemBlock.isValidBonemealTarget
(LevelReader p_255683_, BlockPos p_256358_, BlockState p_256408_) boolean
BonemealableBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BonemealableFeaturePlacerBlock.isValidBonemealTarget
(LevelReader p_379414_, BlockPos p_379932_, BlockState p_379449_) boolean
BushBlock.isValidBonemealTarget
(LevelReader p_401250_, BlockPos p_401361_, BlockState p_401191_) boolean
CaveVinesBlock.isValidBonemealTarget
(LevelReader p_256026_, BlockPos p_152971_, BlockState p_152972_) boolean
CaveVinesPlantBlock.isValidBonemealTarget
(LevelReader p_255942_, BlockPos p_153012_, BlockState p_153013_) boolean
CocoaBlock.isValidBonemealTarget
(LevelReader p_256189_, BlockPos p_51753_, BlockState p_51754_) boolean
CropBlock.isValidBonemealTarget
(LevelReader p_255715_, BlockPos p_52259_, BlockState p_52260_) boolean
FireflyBushBlock.isValidBonemealTarget
(LevelReader p_401352_, BlockPos p_401332_, BlockState p_401436_) boolean
FlowerBedBlock.isValidBonemealTarget
(LevelReader p_393585_, BlockPos p_393679_, BlockState p_394653_) boolean
FungusBlock.isValidBonemealTarget
(LevelReader p_256655_, BlockPos p_256553_, BlockState p_256213_) boolean
GlowLichenBlock.isValidBonemealTarget
(LevelReader p_256569_, BlockPos p_153290_, BlockState p_153291_) boolean
GrassBlock.isValidBonemealTarget
(LevelReader p_256229_, BlockPos p_256432_, BlockState p_255677_) boolean
GrowingPlantBodyBlock.isValidBonemealTarget
(LevelReader p_256221_, BlockPos p_255647_, BlockState p_256117_) boolean
GrowingPlantHeadBlock.isValidBonemealTarget
(LevelReader p_255931_, BlockPos p_256046_, BlockState p_256550_) boolean
HangingMossBlock.isValidBonemealTarget
(LevelReader p_379509_, BlockPos p_379596_, BlockState p_380331_) boolean
MangroveLeavesBlock.isValidBonemealTarget
(LevelReader p_256534_, BlockPos p_256299_, BlockState p_255926_) boolean
MangrovePropaguleBlock.isValidBonemealTarget
(LevelReader p_256541_, BlockPos p_221459_, BlockState p_221460_) boolean
MossyCarpetBlock.isValidBonemealTarget
(LevelReader p_379909_, BlockPos p_379807_, BlockState p_379358_) boolean
MushroomBlock.isValidBonemealTarget
(LevelReader p_255904_, BlockPos p_54871_, BlockState p_54872_) boolean
NetherrackBlock.isValidBonemealTarget
(LevelReader p_256620_, BlockPos p_55003_, BlockState p_55004_) boolean
NyliumBlock.isValidBonemealTarget
(LevelReader p_256194_, BlockPos p_256152_, BlockState p_256389_) boolean
PitcherCropBlock.isValidBonemealTarget
(LevelReader p_277380_, BlockPos p_277500_, BlockState p_277715_) boolean
RootedDirtBlock.isValidBonemealTarget
(LevelReader p_256100_, BlockPos p_255943_, BlockState p_255655_) boolean
SaplingBlock.isValidBonemealTarget
(LevelReader p_256124_, BlockPos p_55992_, BlockState p_55993_) boolean
SeagrassBlock.isValidBonemealTarget
(LevelReader p_295512_, BlockPos p_154506_, BlockState p_154507_) boolean
SeaPickleBlock.isValidBonemealTarget
(LevelReader p_255984_, BlockPos p_56092_, BlockState p_56093_) boolean
ShortDryGrassBlock.isValidBonemealTarget
(LevelReader p_401814_, BlockPos p_401760_, BlockState p_401924_) boolean
SmallDripleafBlock.isValidBonemealTarget
(LevelReader p_255772_, BlockPos p_154595_, BlockState p_154596_) boolean
StemBlock.isValidBonemealTarget
(LevelReader p_255699_, BlockPos p_57031_, BlockState p_57032_) boolean
SweetBerryBushBlock.isValidBonemealTarget
(LevelReader p_256056_, BlockPos p_57261_, BlockState p_57262_) boolean
TallDryGrassBlock.isValidBonemealTarget
(LevelReader p_401899_, BlockPos p_401858_, BlockState p_401909_) boolean
TallFlowerBlock.isValidBonemealTarget
(LevelReader p_256234_, BlockPos p_57304_, BlockState p_57305_) boolean
TallGrassBlock.isValidBonemealTarget
(LevelReader p_255692_, BlockPos p_57326_, BlockState p_57327_) private static boolean
PointedDripstoneBlock.isValidPointedDripstonePlacement
(LevelReader pLevel, BlockPos pPos, Direction pDir) void
ComparatorBlock.onNeighborChange
(BlockState state, LevelReader levelReader, BlockPos pos, BlockPos neighbor) private BlockState
NoteBlock.setInstrument
(LevelReader pLevel, BlockPos pPos, BlockState pState) private BlockState
WallBlock.sideUpdate
(LevelReader pLevel, BlockPos pFirstPos, BlockState pFirstState, BlockPos pSecondPos, BlockState pSecondState, Direction pDir) private void
ObserverBlock.startSignal
(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos) private static boolean
PitcherCropBlock.sufficientLight
(LevelReader pLevel, BlockPos pPos) private BlockState
WallBlock.topUpdate
(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pSecondState) protected BlockState
AmethystClusterBlock.updateShape
(BlockState p_152036_, LevelReader p_374202_, ScheduledTickAccess p_374490_, BlockPos p_152040_, Direction p_152037_, BlockPos p_152041_, BlockState p_152038_, RandomSource p_374353_) protected BlockState
AttachedStemBlock.updateShape
(BlockState p_48848_, LevelReader p_374143_, ScheduledTickAccess p_374241_, BlockPos p_48852_, Direction p_48849_, BlockPos p_48853_, BlockState p_48850_, RandomSource p_374410_) protected BlockState
BambooSaplingBlock.updateShape
(BlockState p_48990_, LevelReader p_374098_, ScheduledTickAccess p_374342_, BlockPos p_48994_, Direction p_48991_, BlockPos p_48995_, BlockState p_48992_, RandomSource p_374069_) protected BlockState
BambooStalkBlock.updateShape
(BlockState p_261476_, LevelReader p_374219_, ScheduledTickAccess p_374048_, BlockPos p_261876_, Direction p_261512_, BlockPos p_262140_, BlockState p_262167_, RandomSource p_374194_) protected BlockState
BannerBlock.updateShape
(BlockState p_49029_, LevelReader p_374424_, ScheduledTickAccess p_374052_, BlockPos p_49033_, Direction p_49030_, BlockPos p_49034_, BlockState p_49031_, RandomSource p_374142_) protected BlockState
BarrierBlock.updateShape
(BlockState p_296123_, LevelReader p_374369_, ScheduledTickAccess p_374403_, BlockPos p_294499_, Direction p_294509_, BlockPos p_295044_, BlockState p_296367_, RandomSource p_374441_) protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState p_49173_, LevelReader p_374072_, ScheduledTickAccess p_374103_, BlockPos p_49177_, Direction p_49174_, BlockPos p_49178_, BlockState p_49175_, RandomSource p_374124_) protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState p_49210_, LevelReader p_374317_, ScheduledTickAccess p_374285_, BlockPos p_49214_, Direction p_49211_, BlockPos p_49215_, BlockState p_49212_, RandomSource p_374146_) protected BlockState
BasePressurePlateBlock.updateShape
(BlockState p_49329_, LevelReader p_374394_, ScheduledTickAccess p_374263_, BlockPos p_49333_, Direction p_49330_, BlockPos p_49334_, BlockState p_49331_, RandomSource p_374547_) protected BlockState
BaseRailBlock.updateShape
(BlockState p_152151_, LevelReader p_374498_, ScheduledTickAccess p_374379_, BlockPos p_152155_, Direction p_152152_, BlockPos p_152156_, BlockState p_152153_, RandomSource p_374573_) protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, LevelReader p_374159_, ScheduledTickAccess p_374152_, BlockPos p_304633_, Direction p_304475_, BlockPos p_304603_, BlockState p_304669_, RandomSource p_374111_) protected BlockState
BedBlock.updateShape
(BlockState p_49525_, LevelReader p_374508_, ScheduledTickAccess p_374420_, BlockPos p_49529_, Direction p_49526_, BlockPos p_49530_, BlockState p_49527_, RandomSource p_374423_) protected BlockState
BeehiveBlock.updateShape
(BlockState p_49639_, LevelReader p_374043_, ScheduledTickAccess p_374351_, BlockPos p_49643_, Direction p_49640_, BlockPos p_49644_, BlockState p_49641_, RandomSource p_374258_) protected BlockState
BellBlock.updateShape
(BlockState p_49744_, LevelReader p_374108_, ScheduledTickAccess p_374552_, BlockPos p_49748_, Direction p_49745_, BlockPos p_49749_, BlockState p_49746_, RandomSource p_374282_) protected BlockState
BigDripleafBlock.updateShape
(BlockState p_152293_, LevelReader p_374459_, ScheduledTickAccess p_374181_, BlockPos p_152297_, Direction p_152294_, BlockPos p_152298_, BlockState p_152295_, RandomSource p_374504_) protected BlockState
BigDripleafStemBlock.updateShape
(BlockState p_152369_, LevelReader p_374512_, ScheduledTickAccess p_374089_, BlockPos p_152373_, Direction p_152370_, BlockPos p_152374_, BlockState p_152371_, RandomSource p_374360_) BrushableBlock.updateShape
(BlockState p_277801_, LevelReader p_374239_, ScheduledTickAccess p_374044_, BlockPos p_278111_, Direction p_277455_, BlockPos p_277904_, BlockState p_277832_, RandomSource p_374558_) protected BlockState
BubbleColumnBlock.updateShape
(BlockState p_50990_, LevelReader p_374232_, ScheduledTickAccess p_374471_, BlockPos p_50994_, Direction p_50991_, BlockPos p_50995_, BlockState p_50992_, RandomSource p_374033_) protected BlockState
CactusBlock.updateShape
(BlockState p_51157_, LevelReader p_374196_, ScheduledTickAccess p_374319_, BlockPos p_51161_, Direction p_51158_, BlockPos p_51162_, BlockState p_51159_, RandomSource p_374070_) protected BlockState
CakeBlock.updateShape
(BlockState p_51213_, LevelReader p_374144_, ScheduledTickAccess p_374554_, BlockPos p_51217_, Direction p_51214_, BlockPos p_51218_, BlockState p_51215_, RandomSource p_374177_) protected BlockState
CampfireBlock.updateShape
(BlockState p_51298_, LevelReader p_374562_, ScheduledTickAccess p_374439_, BlockPos p_51302_, Direction p_51299_, BlockPos p_51303_, BlockState p_51300_, RandomSource p_374147_) protected BlockState
CandleBlock.updateShape
(BlockState p_152833_, LevelReader p_374497_, ScheduledTickAccess p_374340_, BlockPos p_152837_, Direction p_152834_, BlockPos p_152838_, BlockState p_152835_, RandomSource p_374318_) protected BlockState
CandleCakeBlock.updateShape
(BlockState p_152898_, LevelReader p_374136_, ScheduledTickAccess p_374358_, BlockPos p_152902_, Direction p_152899_, BlockPos p_152903_, BlockState p_152900_, RandomSource p_374518_) protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, LevelReader p_374550_, ScheduledTickAccess p_374188_, BlockPos p_152930_, Direction p_152927_, BlockPos p_152931_, BlockState p_152928_, RandomSource p_374375_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState p_251270_, LevelReader p_374479_, ScheduledTickAccess p_374489_, BlockPos p_249685_, Direction p_250331_, BlockPos p_251506_, BlockState p_249591_, RandomSource p_374041_) protected BlockState
ChainBlock.updateShape
(BlockState p_51461_, LevelReader p_374312_, ScheduledTickAccess p_374505_, BlockPos p_51465_, Direction p_51462_, BlockPos p_51466_, BlockState p_51463_, RandomSource p_374235_) protected BlockState
ChestBlock.updateShape
(BlockState p_51555_, LevelReader p_374487_, ScheduledTickAccess p_374060_, BlockPos p_51559_, Direction p_51556_, BlockPos p_51560_, BlockState p_51557_, RandomSource p_374212_) protected BlockState
ChorusFlowerBlock.updateShape
(BlockState p_51687_, LevelReader p_374269_, ScheduledTickAccess p_374493_, BlockPos p_51691_, Direction p_51688_, BlockPos p_51692_, BlockState p_51689_, RandomSource p_374130_) protected BlockState
ChorusPlantBlock.updateShape
(BlockState p_51728_, LevelReader p_374320_, ScheduledTickAccess p_374500_, BlockPos p_51732_, Direction p_51729_, BlockPos p_51733_, BlockState p_51730_, RandomSource p_374170_) protected BlockState
CocoaBlock.updateShape
(BlockState p_51771_, LevelReader p_374569_, ScheduledTickAccess p_374118_, BlockPos p_51775_, Direction p_51772_, BlockPos p_51776_, BlockState p_51773_, RandomSource p_374448_) ComparatorBlock.updateShape
(BlockState p_301069_, LevelReader p_374094_, ScheduledTickAccess p_374252_, BlockPos p_301025_, Direction p_301249_, BlockPos p_301045_, BlockState p_301318_, RandomSource p_374228_) protected BlockState
ConcretePowderBlock.updateShape
(BlockState p_52074_, LevelReader p_374245_, ScheduledTickAccess p_374286_, BlockPos p_52078_, Direction p_52075_, BlockPos p_52079_, BlockState p_52076_, RandomSource p_374119_) protected BlockState
ConduitBlock.updateShape
(BlockState p_52111_, LevelReader p_374404_, ScheduledTickAccess p_374238_, BlockPos p_52115_, Direction p_52112_, BlockPos p_52116_, BlockState p_52113_, RandomSource p_374453_) protected BlockState
CoralBlock.updateShape
(BlockState p_52143_, LevelReader p_374246_, ScheduledTickAccess p_374434_, BlockPos p_52147_, Direction p_52144_, BlockPos p_52148_, BlockState p_52145_, RandomSource p_374050_) protected BlockState
CoralFanBlock.updateShape
(BlockState p_52159_, LevelReader p_374555_, ScheduledTickAccess p_374197_, BlockPos p_52163_, Direction p_52160_, BlockPos p_52164_, BlockState p_52161_, RandomSource p_374083_) protected BlockState
CoralPlantBlock.updateShape
(BlockState p_52183_, LevelReader p_374499_, ScheduledTickAccess p_374397_, BlockPos p_52187_, Direction p_52184_, BlockPos p_52188_, BlockState p_52185_, RandomSource p_374079_) protected BlockState
CoralWallFanBlock.updateShape
(BlockState p_52210_, LevelReader p_374445_, ScheduledTickAccess p_374341_, BlockPos p_52214_, Direction p_52211_, BlockPos p_52215_, BlockState p_52212_, RandomSource p_374523_) protected BlockState
CreakingHeartBlock.updateShape
(BlockState p_379552_, LevelReader p_379446_, ScheduledTickAccess p_379318_, BlockPos p_379343_, Direction p_380340_, BlockPos p_380150_, BlockState p_379791_, RandomSource p_379888_) protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, LevelReader p_374037_, ScheduledTickAccess p_374267_, BlockPos p_276270_, Direction p_276322_, BlockPos p_276312_, BlockState p_276280_, RandomSource p_374464_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, LevelReader p_374225_, ScheduledTickAccess p_374127_, BlockPos p_153156_, Direction p_153153_, BlockPos p_153157_, BlockState p_153154_, RandomSource p_374236_) protected BlockState
DoorBlock.updateShape
(BlockState p_52796_, LevelReader p_374501_, ScheduledTickAccess p_374380_, BlockPos p_52800_, Direction p_52797_, BlockPos p_52801_, BlockState p_52798_, RandomSource p_374395_) protected BlockState
DoublePlantBlock.updateShape
(BlockState p_52894_, LevelReader p_374107_, ScheduledTickAccess p_374359_, BlockPos p_52898_, Direction p_52895_, BlockPos p_52899_, BlockState p_52896_, RandomSource p_374454_) protected BlockState
EnderChestBlock.updateShape
(BlockState p_53160_, LevelReader p_374322_, ScheduledTickAccess p_374149_, BlockPos p_53164_, Direction p_53161_, BlockPos p_53165_, BlockState p_53162_, RandomSource p_374199_) protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState p_53190_, LevelReader p_374233_, ScheduledTickAccess p_374169_, BlockPos p_53194_, Direction p_53191_, BlockPos p_53195_, BlockState p_53192_, RandomSource p_374040_) protected BlockState
FallingBlock.updateShape
(BlockState p_53226_, LevelReader p_374327_, ScheduledTickAccess p_374521_, BlockPos p_53230_, Direction p_53227_, BlockPos p_53231_, BlockState p_53228_, RandomSource p_374287_) protected BlockState
FarmBlock.updateShape
(BlockState p_53276_, LevelReader p_374411_, ScheduledTickAccess p_374221_, BlockPos p_53280_, Direction p_53277_, BlockPos p_53281_, BlockState p_53278_, RandomSource p_374244_) protected BlockState
FenceBlock.updateShape
(BlockState p_53323_, LevelReader p_374492_, ScheduledTickAccess p_374576_, BlockPos p_53327_, Direction p_53324_, BlockPos p_53328_, BlockState p_53325_, RandomSource p_374530_) protected BlockState
FenceGateBlock.updateShape
(BlockState p_53382_, LevelReader p_374250_, ScheduledTickAccess p_374455_, BlockPos p_53386_, Direction p_53383_, BlockPos p_53387_, BlockState p_53384_, RandomSource p_374522_) protected BlockState
FireBlock.updateShape
(BlockState p_53458_, LevelReader p_374288_, ScheduledTickAccess p_374582_, BlockPos p_53462_, Direction p_53459_, BlockPos p_53463_, BlockState p_53460_, RandomSource p_374484_) protected BlockState
FlowerPotBlock.updateShape
(BlockState p_53547_, LevelReader p_374311_, ScheduledTickAccess p_374506_, BlockPos p_53551_, Direction p_53548_, BlockPos p_53552_, BlockState p_53549_, RandomSource p_374435_) protected BlockState
FrogspawnBlock.updateShape
(BlockState p_221213_, LevelReader p_374087_, ScheduledTickAccess p_374429_, BlockPos p_221217_, Direction p_221214_, BlockPos p_221218_, BlockState p_221215_, RandomSource p_374092_) protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState p_53913_, LevelReader p_374366_, ScheduledTickAccess p_374173_, BlockPos p_53917_, Direction p_53914_, BlockPos p_53918_, BlockState p_53915_, RandomSource p_374442_) protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState p_53951_, LevelReader p_374080_, ScheduledTickAccess p_374450_, BlockPos p_53955_, Direction p_53952_, BlockPos p_53956_, BlockState p_53953_, RandomSource p_374560_) protected BlockState
HangingMossBlock.updateShape
(BlockState p_380182_, LevelReader p_380219_, ScheduledTickAccess p_380011_, BlockPos p_380024_, Direction p_380101_, BlockPos p_380258_, BlockState p_379654_, RandomSource p_379547_) protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, LevelReader p_374138_, ScheduledTickAccess p_374229_, BlockPos p_153355_, Direction p_153352_, BlockPos p_153356_, BlockState p_153353_, RandomSource p_374467_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, LevelReader p_374371_, ScheduledTickAccess p_374063_, BlockPos p_338346_, Direction p_338189_, BlockPos p_338401_, BlockState p_338723_, RandomSource p_374262_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState p_54146_, LevelReader p_374323_, ScheduledTickAccess p_374514_, BlockPos p_54150_, Direction p_54147_, BlockPos p_54151_, BlockState p_54148_, RandomSource p_374091_) protected BlockState
IronBarsBlock.updateShape
(BlockState p_54211_, LevelReader p_374527_, ScheduledTickAccess p_374556_, BlockPos p_54215_, Direction p_54212_, BlockPos p_54216_, BlockState p_54213_, RandomSource p_374254_) protected BlockState
LadderBlock.updateShape
(BlockState p_54363_, LevelReader p_374096_, ScheduledTickAccess p_374237_, BlockPos p_54367_, Direction p_54364_, BlockPos p_54368_, BlockState p_54365_, RandomSource p_374476_) protected BlockState
LanternBlock.updateShape
(BlockState p_153483_, LevelReader p_374491_, ScheduledTickAccess p_374260_, BlockPos p_153487_, Direction p_153484_, BlockPos p_153488_, BlockState p_153485_, RandomSource p_374175_) protected BlockState
LeavesBlock.updateShape
(BlockState p_54440_, LevelReader p_374064_, ScheduledTickAccess p_374538_, BlockPos p_54444_, Direction p_54441_, BlockPos p_54445_, BlockState p_54442_, RandomSource p_374122_) protected BlockState
LightBlock.updateShape
(BlockState p_153680_, LevelReader p_374432_, ScheduledTickAccess p_374195_, BlockPos p_153684_, Direction p_153681_, BlockPos p_153685_, BlockState p_153682_, RandomSource p_374328_) protected BlockState
LightningRodBlock.updateShape
(BlockState p_153739_, LevelReader p_374261_, ScheduledTickAccess p_374456_, BlockPos p_153743_, Direction p_153740_, BlockPos p_153744_, BlockState p_153741_, RandomSource p_374086_) protected BlockState
LiquidBlock.updateShape
(BlockState p_54723_, LevelReader p_374418_, ScheduledTickAccess p_374542_, BlockPos p_54727_, Direction p_54724_, BlockPos p_54728_, BlockState p_54725_, RandomSource p_374563_) protected BlockState
MagmaBlock.updateShape
(BlockState p_54811_, LevelReader p_374494_, ScheduledTickAccess p_374388_, BlockPos p_54815_, Direction p_54812_, BlockPos p_54816_, BlockState p_54813_, RandomSource p_374472_) protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState p_221477_, LevelReader p_374145_, ScheduledTickAccess p_374362_, BlockPos p_221481_, Direction p_221478_, BlockPos p_221482_, BlockState p_221479_, RandomSource p_374203_) protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, LevelReader p_374345_, ScheduledTickAccess p_374139_, BlockPos p_221518_, Direction p_221515_, BlockPos p_221519_, BlockState p_221516_, RandomSource p_374100_) protected BlockState
MossyCarpetBlock.updateShape
(BlockState p_379698_, LevelReader p_379600_, ScheduledTickAccess p_380394_, BlockPos p_380051_, Direction p_380408_, BlockPos p_380380_, BlockState p_379613_, RandomSource p_379309_) protected BlockState
MultifaceBlock.updateShape
(BlockState p_153904_, LevelReader p_374463_, ScheduledTickAccess p_374073_, BlockPos p_153908_, Direction p_153905_, BlockPos p_153909_, BlockState p_153906_, RandomSource p_374390_) protected BlockState
NetherPortalBlock.updateShape
(BlockState p_54928_, LevelReader p_374413_, ScheduledTickAccess p_374339_, BlockPos p_54932_, Direction p_54929_, BlockPos p_54933_, BlockState p_54930_, RandomSource p_374242_) protected BlockState
NoteBlock.updateShape
(BlockState p_55048_, LevelReader p_374298_, ScheduledTickAccess p_374153_, BlockPos p_55052_, Direction p_55049_, BlockPos p_55053_, BlockState p_55050_, RandomSource p_374540_) protected BlockState
ObserverBlock.updateShape
(BlockState p_55118_, LevelReader p_374557_, ScheduledTickAccess p_374458_, BlockPos p_55122_, Direction p_55119_, BlockPos p_55123_, BlockState p_55120_, RandomSource p_374161_) PitcherCropBlock.updateShape
(BlockState p_277518_, LevelReader p_374059_, ScheduledTickAccess p_374076_, BlockPos p_277982_, Direction p_277700_, BlockPos p_278106_, BlockState p_277660_, RandomSource p_374409_) protected BlockState
PointedDripstoneBlock.updateShape
(BlockState p_154147_, LevelReader p_374104_, ScheduledTickAccess p_374078_, BlockPos p_154151_, Direction p_154148_, BlockPos p_154152_, BlockState p_154149_, RandomSource p_374393_) protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState p_55772_, LevelReader p_374227_, ScheduledTickAccess p_374302_, BlockPos p_55776_, Direction p_55773_, BlockPos p_55777_, BlockState p_55774_, RandomSource p_374372_) protected BlockState
RedStoneWireBlock.updateShape
(BlockState p_55598_, LevelReader p_374191_, ScheduledTickAccess p_374077_, BlockPos p_55602_, Direction p_55599_, BlockPos p_55603_, BlockState p_55600_, RandomSource p_374364_) protected BlockState
RepeaterBlock.updateShape
(BlockState p_55821_, LevelReader p_374255_, ScheduledTickAccess p_374035_, BlockPos p_55825_, Direction p_55822_, BlockPos p_55826_, BlockState p_55823_, RandomSource p_374140_) protected BlockState
ScaffoldingBlock.updateShape
(BlockState p_56044_, LevelReader p_374031_, ScheduledTickAccess p_374303_, BlockPos p_56048_, Direction p_56045_, BlockPos p_56049_, BlockState p_56046_, RandomSource p_374574_) protected BlockState
SculkSensorBlock.updateShape
(BlockState p_154457_, LevelReader p_374292_, ScheduledTickAccess p_374575_, BlockPos p_154461_, Direction p_154458_, BlockPos p_154462_, BlockState p_154459_, RandomSource p_374248_) protected BlockState
SculkShriekerBlock.updateShape
(BlockState p_222204_, LevelReader p_374289_, ScheduledTickAccess p_374095_, BlockPos p_222208_, Direction p_222205_, BlockPos p_222209_, BlockState p_222206_, RandomSource p_374058_) protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, LevelReader p_374421_, ScheduledTickAccess p_374071_, BlockPos p_154534_, Direction p_154531_, BlockPos p_154535_, BlockState p_154532_, RandomSource p_374406_) protected BlockState
SeaPickleBlock.updateShape
(BlockState p_56113_, LevelReader p_374408_, ScheduledTickAccess p_374099_, BlockPos p_56117_, Direction p_56114_, BlockPos p_56118_, BlockState p_56115_, RandomSource p_374294_) protected BlockState
SignBlock.updateShape
(BlockState p_56285_, LevelReader p_374509_, ScheduledTickAccess p_374520_, BlockPos p_56289_, Direction p_56286_, BlockPos p_56290_, BlockState p_56287_, RandomSource p_374213_) protected BlockState
SlabBlock.updateShape
(BlockState p_56381_, LevelReader p_374541_, ScheduledTickAccess p_374470_, BlockPos p_56385_, Direction p_56382_, BlockPos p_56386_, BlockState p_56383_, RandomSource p_374101_) protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, LevelReader p_374488_, ScheduledTickAccess p_374525_, BlockPos p_154629_, Direction p_154626_, BlockPos p_154630_, BlockState p_154627_, RandomSource p_374277_) protected BlockState
SnowLayerBlock.updateShape
(BlockState p_56606_, LevelReader p_374469_, ScheduledTickAccess p_374526_, BlockPos p_56610_, Direction p_56607_, BlockPos p_56611_, BlockState p_56608_, RandomSource p_374113_) protected BlockState
SnowyDirtBlock.updateShape
(BlockState p_56644_, LevelReader p_374564_, ScheduledTickAccess p_374201_, BlockPos p_56648_, Direction p_56645_, BlockPos p_56649_, BlockState p_56646_, RandomSource p_374447_) protected BlockState
SoulFireBlock.updateShape
(BlockState p_56659_, LevelReader p_374511_, ScheduledTickAccess p_374567_, BlockPos p_56663_, Direction p_56660_, BlockPos p_56664_, BlockState p_56661_, RandomSource p_374480_) protected BlockState
SoulSandBlock.updateShape
(BlockState p_56689_, LevelReader p_374561_, ScheduledTickAccess p_374416_, BlockPos p_56693_, Direction p_56690_, BlockPos p_56694_, BlockState p_56691_, RandomSource p_374114_) protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, LevelReader p_374047_, ScheduledTickAccess p_374543_, BlockPos p_154717_, Direction p_154714_, BlockPos p_154718_, BlockState p_154715_, RandomSource p_374461_) protected BlockState
StairBlock.updateShape
(BlockState p_56925_, LevelReader p_374183_, ScheduledTickAccess p_374352_, BlockPos p_56929_, Direction p_56926_, BlockPos p_56930_, BlockState p_56927_, RandomSource p_374581_) protected BlockState
StandingSignBlock.updateShape
(BlockState p_57005_, LevelReader p_374220_, ScheduledTickAccess p_374377_, BlockPos p_57009_, Direction p_57006_, BlockPos p_57010_, BlockState p_57007_, RandomSource p_374251_) protected BlockState
SugarCaneBlock.updateShape
(BlockState p_57179_, LevelReader p_374168_, ScheduledTickAccess p_374217_, BlockPos p_57183_, Direction p_57180_, BlockPos p_57184_, BlockState p_57181_, RandomSource p_374240_) protected BlockState
TrapDoorBlock.updateShape
(BlockState p_57554_, LevelReader p_374386_, ScheduledTickAccess p_374038_, BlockPos p_57558_, Direction p_57555_, BlockPos p_57559_, BlockState p_57556_, RandomSource p_374093_) protected BlockState
TripWireBlock.updateShape
(BlockState p_57645_, LevelReader p_374437_, ScheduledTickAccess p_374214_, BlockPos p_57649_, Direction p_57646_, BlockPos p_57650_, BlockState p_57647_, RandomSource p_374065_) protected BlockState
TripWireHookBlock.updateShape
(BlockState p_57731_, LevelReader p_374415_, ScheduledTickAccess p_374046_, BlockPos p_57735_, Direction p_57732_, BlockPos p_57736_, BlockState p_57733_, RandomSource p_374155_) protected BlockState
VegetationBlock.updateShape
(BlockState p_401118_, LevelReader p_401198_, ScheduledTickAccess p_401107_, BlockPos p_401142_, Direction p_401236_, BlockPos p_401082_, BlockState p_401336_, RandomSource p_401169_) protected BlockState
VineBlock.updateShape
(BlockState p_57875_, LevelReader p_374150_, ScheduledTickAccess p_374192_, BlockPos p_57879_, Direction p_57876_, BlockPos p_57880_, BlockState p_57877_, RandomSource p_374278_) protected BlockState
WallBannerBlock.updateShape
(BlockState p_57935_, LevelReader p_374553_, ScheduledTickAccess p_374106_, BlockPos p_57939_, Direction p_57936_, BlockPos p_57940_, BlockState p_57937_, RandomSource p_374162_) protected BlockState
WallBlock.updateShape
(BlockState p_58014_, LevelReader p_374577_, ScheduledTickAccess p_374176_, BlockPos p_58018_, Direction p_58015_, BlockPos p_58019_, BlockState p_58016_, RandomSource p_374535_) private BlockState
WallBlock.updateShape
(LevelReader pLevel, BlockState pState, BlockPos pPos, BlockState pNeighbour, boolean pNorthConnection, boolean pEastConnection, boolean pSouthConnection, boolean pWestConnection) protected BlockState
WallHangingSignBlock.updateShape
(BlockState p_249879_, LevelReader p_374368_, ScheduledTickAccess p_374179_, BlockPos p_252327_, Direction p_249939_, BlockPos p_251853_, BlockState p_250767_, RandomSource p_374570_) protected BlockState
WallSignBlock.updateShape
(BlockState p_58083_, LevelReader p_374417_, ScheduledTickAccess p_374151_, BlockPos p_58087_, Direction p_58084_, BlockPos p_58088_, BlockState p_58085_, RandomSource p_374032_) protected BlockState
WallTorchBlock.updateShape
(BlockState p_58143_, LevelReader p_374329_, ScheduledTickAccess p_374207_, BlockPos p_58147_, Direction p_58144_, BlockPos p_58148_, BlockState p_58145_, RandomSource p_374234_) protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, LevelReader p_374178_, ScheduledTickAccess p_374293_, BlockPos p_313842_, Direction p_313739_, BlockPos p_313843_, BlockState p_313829_, RandomSource p_374433_) -
Uses of LevelReader in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston with parameters of type LevelReaderModifier and TypeMethodDescriptionprotected boolean
PistonHeadBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected ItemStack
MovingPistonBlock.getCloneItemStack
(LevelReader p_304937_, BlockPos p_60058_, BlockState p_60059_, boolean p_386505_) protected ItemStack
PistonHeadBlock.getCloneItemStack
(LevelReader p_304638_, BlockPos p_60262_, BlockState p_60263_, boolean p_386559_) protected BlockState
PistonHeadBlock.updateShape
(BlockState p_60301_, LevelReader p_374256_, ScheduledTickAccess p_374426_, BlockPos p_60305_, Direction p_60302_, BlockPos p_60306_, BlockState p_60303_, RandomSource p_374478_) -
Uses of LevelReader in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type LevelReaderModifier and TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.canSurvive
(LevelReader pLevel, BlockPos pPos) protected boolean
BlockBehaviour.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) BlockBehaviour.BlockStateBase.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, boolean pIncludeData) protected ItemStack
BlockBehaviour.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) Deprecated.BlockBehaviour.BlockStateBase.updateShape
(LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BlockBehaviour.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) -
Uses of LevelReader in net.minecraft.world.level.block.state.pattern
Fields in net.minecraft.world.level.block.state.pattern declared as LevelReaderModifier and TypeFieldDescriptionprivate final LevelReader
BlockInWorld.level
private final LevelReader
BlockPattern.BlockCacheLoader.level
Methods in net.minecraft.world.level.block.state.pattern that return LevelReaderMethods in net.minecraft.world.level.block.state.pattern with parameters of type LevelReaderModifier and TypeMethodDescriptionstatic LoadingCache
<BlockPos, BlockInWorld> BlockPattern.createLevelCache
(LevelReader pLevel, boolean pForceLoad) BlockPattern.find
(LevelReader pLevel, BlockPos pPos) Calculates whether the given world position matches the pattern.BlockPattern.matches
(LevelReader pLevel, BlockPos pPos, Direction pFinger, Direction pThumb) Constructors in net.minecraft.world.level.block.state.pattern with parameters of type LevelReaderModifierConstructorDescriptionBlockCacheLoader
(LevelReader pLevel, boolean pLoadChunks) BlockInWorld
(LevelReader pLevel, BlockPos pPos, boolean pLoadChunks) -
Uses of LevelReader in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type LevelReaderModifier and TypeMethodDescriptionChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, int pX, int pY, int pZ, boolean pSkipKnownStructures, long pSeed, RandomSpreadStructurePlacement pSpreadPlacement) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, boolean pSkipKnownStructures, StructurePlacement pPlacement, ChunkPos pChunkPos) -
Uses of LevelReader in net.minecraft.world.level.gameevent
Methods in net.minecraft.world.level.gameevent with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate static void
DynamicGameEventListener.ifChunkExists
(LevelReader pLevel, SectionPos pSectionPos, Consumer<GameEventListenerRegistry> pDispatcherConsumer) -
Uses of LevelReader in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature with parameters of type LevelReaderModifier and TypeMethodDescriptionprivate boolean
DripstoneClusterFeature.isLava
(LevelReader pLevel, BlockPos pPos) -
Uses of LevelReader in net.minecraft.world.level.levelgen.structure
Methods in net.minecraft.world.level.levelgen.structure with parameters of type LevelReaderModifier and TypeMethodDescriptionprotected boolean
StructurePiece.canBeReplaced
(LevelReader pLevel, int pX, int pY, int pZ, BoundingBox pBox) protected boolean
StructurePiece.isInterior
(LevelReader pLevel, int pX, int pY, int pZ, BoundingBox pBox) -
Uses of LevelReader in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type LevelReaderModifier 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 pLevel, BlockPos pPos, BlockState pState) private boolean
MineshaftPieces.MineShaftCorridor.canPlaceColumnOnTopOf
(LevelReader pLevel, BlockPos pPos, BlockState pState) -
Uses of LevelReader in net.minecraft.world.level.levelgen.structure.templatesystem
Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type LevelReaderModifier 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_) 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 pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) 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
Methods in net.minecraft.world.level.material with parameters of type LevelReaderModifier and TypeMethodDescriptionprotected abstract int
FlowingFluid.getDropOff
(LevelReader pLevel) int
LavaFluid.getDropOff
(LevelReader pLevel) int
WaterFluid.getDropOff
(LevelReader pLevel) protected int
FlowingFluid.getSlopeDistance
(LevelReader pLevel, BlockPos pPos, int pDepth, Direction pDirection, BlockState pState, FlowingFluid.SpreadContext pSpreadContext) protected abstract int
FlowingFluid.getSlopeFindDistance
(LevelReader pLevel) int
LavaFluid.getSlopeFindDistance
(LevelReader pLevel) int
WaterFluid.getSlopeFindDistance
(LevelReader pLevel) int
EmptyFluid.getTickDelay
(LevelReader p_75922_) abstract int
Fluid.getTickDelay
(LevelReader pLevel) int
LavaFluid.getTickDelay
(LevelReader p_76226_) int
WaterFluid.getTickDelay
(LevelReader p_76454_) private boolean
LavaFluid.hasFlammableNeighbours
(LevelReader pLevel, BlockPos pPos) private boolean
LavaFluid.isFlammable
(LevelReader pLevel, BlockPos pPos) Deprecated.Forge: useLavaFluid.isFlammable(LevelReader,BlockPos, Direction)
insteadprivate boolean
LavaFluid.isFlammable
(LevelReader pLevel, BlockPos pPos, Direction face) private int
FlowingFluid.sourceNeighborCount
(LevelReader pLevel, BlockPos pPos) Returns the number of immediately adjacent source blocks of the same fluid that lie on the horizontal plane. -
Uses of LevelReader in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type LevelReaderModifier and TypeMethodDescriptiondefault org.joml.Vector3d
IClientBlockExtensions.getFogColor
(BlockState state, LevelReader level, BlockPos pos, Entity entity, org.joml.Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTED -
Uses of LevelReader in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type LevelReaderModifier and TypeFieldDescriptionprivate static final Map
<LevelReader, Map<ChunkPos, ChunkTicketManager<Vec3>>> FarmlandWaterManager.customWaterHandler
Methods in net.neoforged.neoforge.common with parameters of type LevelReaderModifier and TypeMethodDescriptionboolean
SpecialPlantable.canPlacePlantAtPosition
(ItemStack itemStack, LevelReader level, BlockPos pos, @Nullable Direction direction) Checks location if this item can spawn a plant with the given direction attachment point.private 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.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return LevelReaderMethods in net.neoforged.neoforge.common.extensions with parameters of type LevelReaderModifier and TypeMethodDescriptiondefault boolean
IItemExtension.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
IItemStackExtension.doesSneakBypassUse
(LevelReader level, BlockPos pos, Player player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default @Nullable Integer
IBlockExtension.getBeaconColorMultiplier
(BlockState state, LevelReader level, BlockPos pos, BlockPos beaconPos) default @Nullable Integer
IBlockStateExtension.getBeaconColorMultiplier
(LevelReader level, BlockPos pos, BlockPos beacon) default Direction
IBlockExtension.getBedDirection
(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default Direction
IBlockStateExtension.getBedDirection
(LevelReader level, BlockPos pos) Returns the direction of the block.default ItemStack
IBlockExtension.getCloneItemStack
(LevelReader level, BlockPos pos, BlockState state, boolean includeData, Player player) Called when A user uses the creative pick block button on this blockdefault ItemStack
IBlockStateExtension.getCloneItemStack
(BlockPos pos, LevelReader level, boolean includeData, Player player) Called when A user uses the creative pick block button on this blockdefault float
IBlockExtension.getEnchantPowerBonus
(BlockState state, LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default float
IBlockStateExtension.getEnchantPowerBonus
(LevelReader level, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default float
IBlockExtension.getFriction
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default float
IBlockStateExtension.getFriction
(LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default Optional
<ServerPlayer.RespawnPosAngle> IBlockExtension.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation) Returns the position that the entity is moved to upon respawning at this block.default Optional
<ServerPlayer.RespawnPosAngle> IBlockStateExtension.getRespawnPosition
(EntityType<?> type, LevelReader level, BlockPos pos, float orientation) Returns the position that the entity is moved to upon respawning at this block.default SoundType
IBlockExtension.getSoundType
(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault SoundType
IBlockStateExtension.getSoundType
(LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault boolean
IBlockExtension.getWeakChanges
(BlockState state, LevelReader level, BlockPos pos) If this block should be notified of weak changes.default boolean
IBlockStateExtension.getWeakChanges
(LevelReader level, BlockPos pos) If this block should be notified of weak changes.default boolean
IBlockExtension.isConduitFrame
(BlockState state, LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IBlockStateExtension.isConduitFrame
(LevelReader level, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IBlockExtension.isFireSource
(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default boolean
IBlockStateExtension.isFireSource
(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IBlockExtension.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
IBlockStateExtension.isLadder
(LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IBlockExtension.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IBlockExtension.makesOpenTrapdoorAboveClimbable
(BlockState state, LevelReader level, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default void
IBlockExtension.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState, BlockState newState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IBlockStateExtension.onBlockStateChange
(LevelReader level, BlockPos pos, BlockState oldState) Called after theBlockState
at the givenBlockPos
was changed and neighbors were updated.default void
IBlockExtension.onNeighborChange
(BlockState state, LevelReader level, BlockPos pos, BlockPos neighbor) Called when a block entity on a side of this block changes, is created, or is destroyed.default void
IBlockStateExtension.onNeighborChange
(LevelReader level, BlockPos pos, BlockPos neighbor) Called when a block entity on a side of this block changes, is created, or is destroyed.default boolean
IBlockExtension.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
IBlockStateExtension.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. -
Uses of LevelReader in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type LevelReaderModifier and TypeMethodDescriptionboolean
FluidType.canConvertToSource
(FluidState state, LevelReader reader, BlockPos pos) Returns whether the fluid can create a source.protected int
BaseFlowingFluid.getDropOff
(LevelReader worldIn) protected int
BaseFlowingFluid.getSlopeFindDistance
(LevelReader worldIn) int
BaseFlowingFluid.getTickDelay
(LevelReader level)
StructureProcessor.process(LevelReader, BlockPos, BlockPos, StructureTemplate.StructureBlockInfo, StructureTemplate.StructureBlockInfo, StructurePlaceSettings, StructureTemplate)
instead.