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.isEntityCollidingWithAnythingNew
(LevelReader pLevel, Entity pEntity, 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 pLevel) 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
HappyGhast.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 pLevel) float
Axolotl.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) -
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 pPos, LevelReader pLevel) -
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 pLevel) float
Warden.getWalkTargetValue
(BlockPos pPos, LevelReader pLevel) -
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 pLevel, BlockState pState, BlockPos pPos) 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 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 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 pState, LevelReader pLevel, BlockPos pPos) protected boolean
BambooSaplingBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
BambooStalkBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) protected boolean
BigDripleafStemBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) protected boolean
CandleCakeBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
CarpetBlock.canSurvive
(BlockState p_152922_, LevelReader p_152923_, BlockPos p_152924_) protected boolean
CeilingHangingSignBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) protected boolean
LeafLitterBlock.canSurvive
(BlockState p_401850_, LevelReader p_401768_, BlockPos p_401902_) protected boolean
MangrovePropaguleBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MossyCarpetBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MultifaceBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
MushroomBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) boolean
PitcherCropBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) protected boolean
PointedDripstoneBlock.canSurvive
(BlockState pState, LevelReader pLevel, BlockPos pPos) 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 pState, LevelReader pLevel, BlockPos pPos) 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 pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
AttachedStemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BambooSaplingBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BeehiveBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
BigDripleafStemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
CandleCakeBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) 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 pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
DecoratedPotBlock.getCloneItemStack
(LevelReader p_304622_, BlockPos p_294412_, BlockState p_294723_, boolean p_387769_) protected ItemStack
EndGatewayBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
EndPortalBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
FlowerPotBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
FrostedIceBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
GrowingPlantBodyBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
LightBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
NetherPortalBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
NetherWartBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
StemBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
SweetBerryBushBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
TallSeagrassBlock.getCloneItemStack
(LevelReader p_304988_, BlockPos p_154750_, BlockState p_154751_, boolean p_387662_) protected ItemStack
TestBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) 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) Check if neighboring blocks are locking this diode.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 pLevel, BlockPos pPos, BlockState pState) boolean
BambooStalkBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BigDripleafBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BigDripleafStemBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BonemealableBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
BonemealableFeaturePlacerBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) 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 pLevel, BlockPos pPos, BlockState pState) boolean
CropBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) 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 pLevel, BlockPos pPos, BlockState pState) boolean
GlowLichenBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
GrassBlock.isValidBonemealTarget
(LevelReader p_256229_, BlockPos p_256432_, BlockState p_255677_) boolean
GrowingPlantBodyBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
GrowingPlantHeadBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
HangingMossBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MangroveLeavesBlock.isValidBonemealTarget
(LevelReader p_256534_, BlockPos p_256299_, BlockState p_255926_) boolean
MangrovePropaguleBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MossyCarpetBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
MushroomBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
NetherrackBlock.isValidBonemealTarget
(LevelReader p_256620_, BlockPos p_55003_, BlockState p_55004_) boolean
NyliumBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
PitcherCropBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
RootedDirtBlock.isValidBonemealTarget
(LevelReader p_256100_, BlockPos p_255943_, BlockState p_255655_) boolean
SaplingBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) boolean
SeagrassBlock.isValidBonemealTarget
(LevelReader p_295512_, BlockPos p_154506_, BlockState p_154507_) boolean
SeaPickleBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) 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 pLevel, BlockPos pPos, BlockState pState) boolean
SweetBerryBushBlock.isValidBonemealTarget
(LevelReader pLevel, BlockPos pPos, BlockState pState) 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 pLevel, BlockPos pPos, BlockState pState) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
AttachedStemBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BambooSaplingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BambooStalkBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BannerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BarrierBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BasePressurePlateBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BaseRailBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BeehiveBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BellBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BigDripleafBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BigDripleafStemBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) BrushableBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
BubbleColumnBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CactusBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CakeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CampfireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CandleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CandleCakeBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChainBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChestBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChorusFlowerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ChorusPlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CocoaBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) ComparatorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ConcretePowderBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ConduitBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralPlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CoralWallFanBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
CreakingHeartBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DoublePlantBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
DriedGhastBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
EnderChestBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FallingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FarmBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FenceBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FenceGateBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FlowerPotBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
FrogspawnBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
HangingMossBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
IronBarsBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LadderBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LanternBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LeavesBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LightBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LightningRodBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
LiquidBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MagmaBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
MultifaceBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
NetherPortalBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
NoteBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ObserverBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) PitcherCropBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
PointedDripstoneBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RedStoneWireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
RepeaterBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
ScaffoldingBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SculkSensorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SculkShriekerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SlabBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SnowyDirtBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SoulFireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SoulSandBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
StandingSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
SugarCaneBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TrapDoorBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TripWireBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
TripWireHookBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
VegetationBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
VineBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallBannerBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallSignBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) protected BlockState
WallTorchBlock.updateShape
(BlockState pState, LevelReader pLevel, ScheduledTickAccess pScheduledTickAccess, BlockPos pPos, Direction pDirection, BlockPos pNeighborPos, BlockState pNeighborState, RandomSource pRandom) 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 pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected ItemStack
PistonHeadBlock.getCloneItemStack
(LevelReader pLevel, BlockPos pPos, BlockState pState, boolean pIncludeData) protected BlockState
PistonHeadBlock.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
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 com.google.common.cache.LoadingCache
<BlockPos, BlockInWorld> BlockPattern.createLevelCache
(LevelReader p_61188_, boolean p_61189_) 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>> 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
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 pLevel, int pX, int pY, int pZ, BoundingBox pBox) 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 pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockAgeProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockIgnoreProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) BlockRotProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) GravityProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) 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 pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) RuleProcessor.processBlock
(LevelReader pLevel, BlockPos pOffset, BlockPos pPos, StructureTemplate.StructureBlockInfo pBlockInfo, StructureTemplate.StructureBlockInfo pRelativeBlockInfo, StructurePlaceSettings pSettings) 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 pLevel) abstract int
Fluid.getTickDelay
(LevelReader pLevel) int
LavaFluid.getTickDelay
(LevelReader pLevel) int
WaterFluid.getTickDelay
(LevelReader pLevel) 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.