Uses of Interface
net.minecraft.world.IWorldReader
Package
Description
-
Uses of IWorldReader in net.minecraft.block
Modifier and TypeMethodDescriptionprivate static boolean
ChorusFlowerBlock.allNeighborsEmpty
(IWorldReader p_185604_0_, BlockPos p_185604_1_, Direction p_185604_2_) static boolean
HorizontalFaceBlock.canAttach
(IWorldReader p_220185_0_, BlockPos p_220185_1_, Direction p_220185_2_) private static boolean
SpreadableSnowyDirtBlock.canBeGrass
(BlockState p_220257_0_, IWorldReader p_220257_1_, BlockPos p_220257_2_) private static boolean
NyliumBlock.canBeNylium
(BlockState p_235516_0_, IWorldReader p_235516_1_, BlockPos p_235516_2_) private static boolean
SpreadableSnowyDirtBlock.canPropagate
(BlockState p_220256_0_, IWorldReader p_220256_1_, BlockPos p_220256_2_) boolean
CarvedPumpkinBlock.canSpawnGolem
(IWorldReader p_196354_1_, BlockPos p_196354_2_) static boolean
Block.canSupportCenter
(IWorldReader p_220055_0_, BlockPos p_220055_1_, Direction p_220055_2_) boolean
AbstractBlock.AbstractBlockState.canSurvive
(IWorldReader p_196955_1_, BlockPos p_196955_2_) boolean
AbstractBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) Deprecated.boolean
AbstractCoralPlantBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
AbstractPlantBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
AbstractPressurePlateBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
AbstractRailBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
BambooBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
BambooSaplingBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
BannerBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
BellBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
BubbleColumnBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
BushBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
CactusBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
CakeBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
CarpetBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
ChorusFlowerBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
ChorusPlantBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
CocoaBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
CropsBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
DeadCoralWallFanBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
DoorBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
DoublePlantBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
FarmlandBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
FireBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
GrassPathBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
GrindstoneBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
HorizontalFaceBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
LadderBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
LanternBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
MushroomBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
PistonHeadBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
RedstoneDiodeBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
RedstoneWallTorchBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
RedstoneWireBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
ScaffoldingBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
SeaPickleBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
SnowBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
SoulFireBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
StandingSignBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
SugarCaneBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
TallSeaGrassBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
TorchBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
TripWireHookBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
VineBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
WallBannerBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
WallSignBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) boolean
WallTorchBlock.canSurvive
(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) protected int
RedstoneDiodeBlock.getAlternateSignal
(IWorldReader p_176407_1_, BlockPos p_176407_2_, BlockState p_176407_3_) protected int
RedstoneDiodeBlock.getAlternateSignalAt
(IWorldReader p_176401_1_, BlockPos p_176401_2_, Direction p_176401_3_) int
OreBlock.getExpDrop
(BlockState state, IWorldReader reader, BlockPos pos, int fortune, int silktouch) int
RedstoneOreBlock.getExpDrop
(BlockState state, IWorldReader world, BlockPos pos, int fortune, int silktouch) int
SpawnerBlock.getExpDrop
(BlockState state, IWorldReader world, BlockPos pos, int fortune, int silktouch) private int
FireBlock.getFireOdds
(IWorldReader p_176538_1_, BlockPos p_176538_2_) boolean
ComparatorBlock.getWeakChanges
(BlockState state, IWorldReader world, BlockPos pos) boolean
TrapDoorBlock.isLadder
(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) boolean
RedstoneDiodeBlock.isLocked
(IWorldReader p_176405_1_, BlockPos p_176405_2_, BlockState p_176405_3_) boolean
RepeaterBlock.isLocked
(IWorldReader p_176405_1_, BlockPos p_176405_2_, BlockState p_176405_3_) private static boolean
FarmlandBlock.isNearWater
(IWorldReader p_176530_0_, BlockPos p_176530_1_) void
ComparatorBlock.onNeighborChange
(BlockState state, IWorldReader world, BlockPos pos, BlockPos neighbor) private BlockState
WallBlock.sideUpdate
(IWorldReader p_235627_1_, BlockPos p_235627_2_, BlockState p_235627_3_, BlockPos p_235627_4_, BlockState p_235627_5_, Direction p_235627_6_) private BlockState
WallBlock.topUpdate
(IWorldReader p_235625_1_, BlockState p_235625_2_, BlockPos p_235625_3_, BlockState p_235625_4_) private BlockState
WallBlock.updateShape
(IWorldReader p_235626_1_, BlockState p_235626_2_, BlockPos p_235626_3_, BlockState p_235626_4_, boolean p_235626_5_, boolean p_235626_6_, boolean p_235626_7_, boolean p_235626_8_) -
Uses of IWorldReader in net.minecraft.block.pattern
Modifier and TypeMethodDescriptionstatic com.google.common.cache.LoadingCache<BlockPos,
CachedBlockInfo> BlockPattern.createLevelCache
(IWorldReader p_181627_0_, boolean p_181627_1_) BlockPattern.find
(IWorldReader p_177681_1_, BlockPos p_177681_2_) -
Uses of IWorldReader in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprivate static void
EntityRendererManager.renderBlockShadow
(MatrixStack.Entry p_229092_0_, IVertexBuilder p_229092_1_, IWorldReader p_229092_2_, BlockPos p_229092_3_, double p_229092_4_, double p_229092_6_, double p_229092_8_, float p_229092_10_, float p_229092_11_) private static void
EntityRendererManager.renderShadow
(MatrixStack p_229096_0_, IRenderTypeBuffer p_229096_1_, Entity p_229096_2_, float p_229096_3_, float p_229096_4_, IWorldReader p_229096_5_, float p_229096_6_) -
Uses of IWorldReader in net.minecraft.client.world
-
Uses of IWorldReader in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate TriPredicate<IWorldReader,
BlockPos, EntityType<?>> EntitySpawnPlacementRegistry.PlacementType.predicate
Modifier and TypeMethodDescriptionboolean
EntitySpawnPlacementRegistry.PlacementType.canSpawnAt
(IWorldReader world, BlockPos pos, EntityType<?> type) boolean
MobEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) static Vector3d
Entity.collideBoundingBox
(Vector3d p_213313_0_, AxisAlignedBB p_213313_1_, IWorldReader p_213313_2_, ISelectionContext p_213313_3_, ReuseableStream<VoxelShape> p_213313_4_) float
CreatureEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) protected static double
EntityType.getYOffset
(IWorldReader p_208051_0_, BlockPos p_208051_1_, boolean p_208051_2_, AxisAlignedBB p_208051_3_) Modifier and TypeMethodDescriptionEntitySpawnPlacementRegistry.PlacementType.create
(String name, TriPredicate<IWorldReader, BlockPos, EntityType<? extends MobEntity>> predicate) ModifierConstructorDescriptionprivate
PlacementType
(TriPredicate<IWorldReader, BlockPos, EntityType<?>> predicate) -
Uses of IWorldReader in net.minecraft.entity.ai.goal
Modifier and TypeMethodDescriptionprivate boolean
BreatheAirGoal.givesAir
(IWorldReader p_205140_1_, BlockPos p_205140_2_) protected boolean
BreakBlockGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected boolean
CatLieOnBedGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected boolean
CatSitOnBlockGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected abstract boolean
MoveToBlockGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) -
Uses of IWorldReader in net.minecraft.entity.monster
Modifier and TypeMethodDescriptionboolean
DrownedEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) boolean
GuardianEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) boolean
MagmaCubeEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) boolean
RavagerEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) boolean
ZombifiedPiglinEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) float
GiantEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
GuardianEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
HoglinEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
MonsterEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
PillagerEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
SilverfishEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) protected boolean
DrownedEntity.GoToBeachGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) -
Uses of IWorldReader in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionboolean
IronGolemEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) boolean
OcelotEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) boolean
StriderEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) boolean
WaterMobEntity.checkSpawnObstruction
(IWorldReader p_205019_1_) float
AnimalEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
BeeEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
MooshroomEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
StriderEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) float
TurtleEntity.getWalkTargetValue
(BlockPos p_205022_1_, IWorldReader p_205022_2_) protected boolean
FoxEntity.EatBerriesGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected boolean
RabbitEntity.RaidFarmGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected boolean
StriderEntity.MoveToLavaGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected boolean
TurtleEntity.GoToWaterGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected boolean
TurtleEntity.LayEggGoal.isValidTarget
(IWorldReader p_179488_1_, BlockPos p_179488_2_) -
Uses of IWorldReader in net.minecraft.fluid
Modifier and TypeMethodDescriptionprotected abstract int
FlowingFluid.getDropOff
(IWorldReader p_204528_1_) int
LavaFluid.getDropOff
(IWorldReader p_204528_1_) int
WaterFluid.getDropOff
(IWorldReader p_204528_1_) protected FluidState
FlowingFluid.getNewLiquid
(IWorldReader p_205576_1_, BlockPos p_205576_2_, BlockState p_205576_3_) protected int
FlowingFluid.getSlopeDistance
(IWorldReader p_205571_1_, BlockPos p_205571_2_, int p_205571_3_, Direction p_205571_4_, BlockState p_205571_5_, BlockPos p_205571_6_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> p_205571_7_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap p_205571_8_) protected abstract int
FlowingFluid.getSlopeFindDistance
(IWorldReader p_185698_1_) int
LavaFluid.getSlopeFindDistance
(IWorldReader p_185698_1_) int
WaterFluid.getSlopeFindDistance
(IWorldReader p_185698_1_) protected Map<Direction,
FluidState> FlowingFluid.getSpread
(IWorldReader p_205572_1_, BlockPos p_205572_2_, BlockState p_205572_3_) int
EmptyFluid.getTickDelay
(IWorldReader p_205569_1_) abstract int
Fluid.getTickDelay
(IWorldReader p_205569_1_) int
LavaFluid.getTickDelay
(IWorldReader p_205569_1_) int
WaterFluid.getTickDelay
(IWorldReader p_205569_1_) private boolean
LavaFluid.hasFlammableNeighbours
(IWorldReader p_176369_1_, BlockPos p_176369_2_) private boolean
LavaFluid.isFlammable
(IWorldReader p_176368_1_, BlockPos p_176368_2_) Deprecated.private boolean
LavaFluid.isFlammable
(IWorldReader world, BlockPos pos, Direction face) private int
FlowingFluid.sourceNeighborCount
(IWorldReader p_207936_1_, BlockPos p_207936_2_) -
Uses of IWorldReader in net.minecraft.network.play
Modifier and TypeMethodDescriptionprivate boolean
ServerPlayNetHandler.isPlayerCollidingWithAnythingNew
(IWorldReader p_241163_1_, AxisAlignedBB p_241163_2_) -
Uses of IWorldReader in net.minecraft.util
ModifierConstructorDescriptionCachedBlockInfo
(IWorldReader p_i48968_1_, BlockPos p_i48968_2_, boolean p_i48968_3_) -
Uses of IWorldReader in net.minecraft.util.math.shapes
Modifier and TypeMethodDescriptionstatic double
VoxelShapes.collide
(Direction.Axis p_216383_0_, AxisAlignedBB p_216383_1_, IWorldReader p_216383_2_, double p_216383_3_, ISelectionContext p_216383_5_, Stream<VoxelShape> p_216383_6_) private static double
VoxelShapes.collide
(AxisAlignedBB p_216386_0_, IWorldReader p_216386_1_, double p_216386_2_, ISelectionContext p_216386_4_, AxisRotation p_216386_5_, Stream<VoxelShape> p_216386_6_) -
Uses of IWorldReader in net.minecraft.village
Modifier and TypeMethodDescriptionvoid
PointOfInterestManager.ensureLoadedAndValid
(IWorldReader p_226347_1_, BlockPos p_226347_2_, int p_226347_3_) -
Uses of IWorldReader in net.minecraft.world
Modifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
-
Uses of IWorldReader in net.minecraft.world.biome
Modifier and TypeMethodDescriptionboolean
Biome.shouldFreeze
(IWorldReader p_201848_1_, BlockPos p_201848_2_) boolean
Biome.shouldFreeze
(IWorldReader p_201854_1_, BlockPos p_201854_2_, boolean p_201854_3_) boolean
Biome.shouldSnow
(IWorldReader p_201850_1_, BlockPos p_201850_2_) -
Uses of IWorldReader in net.minecraft.world.gen
-
Uses of IWorldReader in net.minecraft.world.gen.feature.structure
Modifier and TypeMethodDescriptionStructure.getNearestGeneratedFeature
(IWorldReader p_236388_1_, StructureManager p_236388_2_, BlockPos p_236388_3_, int p_236388_4_, boolean p_236388_5_, long p_236388_6_, StructureSeparationSettings p_236388_8_) protected boolean
StructurePiece.isInterior
(IWorldReader p_189916_1_, int p_189916_2_, int p_189916_3_, int p_189916_4_, MutableBoundingBox p_189916_5_) -
Uses of IWorldReader in net.minecraft.world.gen.feature.template
Modifier and TypeMethodDescriptionStructureProcessor.process
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_, Template template) BlackStoneReplacementProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) BlockIgnoreStructureProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) BlockMosinessProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) GravityStructureProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) IntegrityProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) JigsawReplacementStructureProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) LavaSubmergingProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) NopProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) RuleStructureProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) StructureProcessor.processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) Deprecated.StructureProcessor.processEntity
(IWorldReader world, BlockPos seedPos, Template.EntityInfo rawEntityInfo, Template.EntityInfo entityInfo, PlacementSettings placementSettings, Template template) FORGE: Add entity processing. -
Uses of IWorldReader in net.minecraft.world.server
-
Uses of IWorldReader in net.minecraft.world.spawner
Modifier and TypeMethodDescriptionstatic boolean
WorldEntitySpawner.canSpawnAtBody
(EntitySpawnPlacementRegistry.PlacementType p_209382_0_, IWorldReader p_209382_1_, BlockPos p_209382_2_, EntityType<?> p_209382_3_) private BlockPos
WanderingTraderSpawner.findSpawnPositionNear
(IWorldReader p_234561_1_, BlockPos p_234561_2_, int p_234561_3_) private static BlockPos
WorldEntitySpawner.getTopNonCollidingPos
(IWorldReader p_208498_0_, EntityType<?> p_208498_1_, int p_208498_2_, int p_208498_3_) static boolean
WorldEntitySpawner.isSpawnPositionOk
(EntitySpawnPlacementRegistry.PlacementType p_209382_0_, IWorldReader p_209382_1_, BlockPos p_209382_2_, EntityType<?> p_209382_3_) -
Uses of IWorldReader in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final Map<IWorldReader,
Map<ChunkPos, ChunkTicketManager<Vector3d>>> FarmlandWaterManager.customWaterHandler
Modifier and TypeMethodDescriptionprivate static ChunkTicketManager<Vector3d>
FarmlandWaterManager.getTicketManager
(ChunkPos pos, IWorldReader world) static boolean
FarmlandWaterManager.hasBlockWaterTicket
(IWorldReader world, BlockPos pos) Tests if a block is in a region that is watered by blocks.static boolean
ForgeHooks.isToolEffective
(IWorldReader world, BlockPos pos, ItemStack stack) -
Uses of IWorldReader in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.canBeReplacedByLeaves
(BlockState state, IWorldReader world, BlockPos pos) Used during tree growth to determine if newly generated leaves can replace this block.default boolean
IForgeBlockState.canBeReplacedByLeaves
(IWorldReader world, BlockPos pos) Used during tree growth to determine if newly generated leaves can replace this block.default boolean
IForgeBlock.canBeReplacedByLogs
(BlockState state, IWorldReader world, BlockPos pos) Used during tree growth to determine if newly generated logs can replace this block.default boolean
IForgeBlockState.canBeReplacedByLogs
(IWorldReader world, BlockPos pos) Used during tree growth to determine if newly generated logs can replace this block.default boolean
IForgeBlockState.canCreatureSpawn
(IWorldReader world, BlockPos pos, EntitySpawnPlacementRegistry.PlacementType type, EntityType<?> entityType) Determines if a specified mob type can spawn on this block, returning false will prevent any mob from spawning on the block.default boolean
IForgeItem.doesSneakBypassUse
(ItemStack stack, IWorldReader world, BlockPos pos, PlayerEntity player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default boolean
IForgeItemStack.doesSneakBypassUse
(IWorldReader world, BlockPos pos, PlayerEntity player) Should this item, when held, allow sneak-clicks to pass through to the underlying block?default float[]
IForgeBlock.getBeaconColorMultiplier
(BlockState state, IWorldReader world, BlockPos pos, BlockPos beaconPos) default float[]
IForgeBlockState.getBeaconColorMultiplier
(IWorldReader world, BlockPos pos, BlockPos beacon) default Direction
IForgeBlock.getBedDirection
(BlockState state, IWorldReader world, BlockPos pos) Returns the direction of the block.default Direction
IForgeBlockState.getBedDirection
(IWorldReader world, BlockPos pos) Returns the direction of the block.IForgeBlock.getBedSpawnPosition
(EntityType<?> entityType, BlockState state, IWorldReader world, BlockPos pos, float orientation, LivingEntity sleeper) IForgeBlockState.getBedSpawnPosition
(EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity sleeper) default float
IForgeBlock.getEnchantPowerBonus
(BlockState state, IWorldReader world, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default float
IForgeBlockState.getEnchantPowerBonus
(IWorldReader world, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default int
IForgeBlock.getExpDrop
(BlockState state, IWorldReader world, BlockPos pos, int fortune, int silktouch) Gathers how much experience this block drops when broken.default int
IForgeBlockState.getExpDrop
(IWorldReader world, BlockPos pos, int fortune, int silktouch) Gathers how much experience this block drops when broken.default Vector3d
IForgeBlock.getFogColor
(BlockState state, IWorldReader world, BlockPos pos, Entity entity, Vector3d originalColor, float partialTicks) Use this to change the fog color used when the entity is "inside" a material.default Vector3d
IForgeBlockState.getFogColor
(IWorldReader world, BlockPos pos, Entity entity, Vector3d originalColor, float partialTicks) Use this to change the fog color used when the entity is "inside" a material.IForgeBlock.getRespawnPosition
(BlockState state, EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.IForgeBlockState.getRespawnPosition
(EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.default float
IForgeBlock.getSlipperiness
(BlockState state, IWorldReader world, BlockPos pos, Entity entity) Gets the slipperiness at the given location at the given state.default float
IForgeBlockState.getSlipperiness
(IWorldReader world, BlockPos pos, Entity entity) Gets the slipperiness at the given location at the given state.default SoundType
IForgeBlock.getSoundType
(BlockState state, IWorldReader world, BlockPos pos, Entity entity) Sensitive version of getSoundTypedefault SoundType
IForgeBlockState.getSoundType
(IWorldReader world, BlockPos pos, Entity entity) Sensitive version of getSoundTypedefault boolean
IForgeBlock.getWeakChanges
(BlockState state, IWorldReader world, BlockPos pos) If this block should be notified of weak changes.default boolean
IForgeBlockState.getWeakChanges
(IWorldReader world, BlockPos pos) If this block should be notified of weak changes.default Boolean
IForgeFluid.isAABBInsideLiquid
(FluidState state, IWorldReader world, BlockPos pos, AxisAlignedBB boundingBox) Called when entities are moving to check if they are inside a liquiddefault Boolean
IForgeFluid.isAABBInsideMaterial
(FluidState state, IWorldReader world, BlockPos pos, AxisAlignedBB boundingBox, Material materialIn) Called when boats or fishing hooks are inside the block to check if they are inside the material requested.default boolean
IForgeBlock.isConduitFrame
(BlockState state, IWorldReader world, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IForgeBlockState.isConduitFrame
(IWorldReader world, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default boolean
IForgeFluid.isEntityInside
(FluidState state, IWorldReader world, BlockPos pos, Entity entity, double yToTest, Tag<Fluid> tag, boolean testingHead) Called when the entity is inside this block, may be used to determined if the entity can breathing, display material overlays, or if the entity can swim inside a block.default boolean
IForgeFluidState.isEntityInside
(IWorldReader world, BlockPos pos, Entity entity, double yToTest, Tag<Fluid> tag, boolean testingHead) Called when the entity is inside this block, may be used to determined if the entity can breathing, display material overlays, or if the entity can swim inside a block.default boolean
IForgeBlock.isFireSource
(BlockState state, IWorldReader world, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IForgeBlockState.isFireSource
(IWorldReader world, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IForgeBlock.isLadder
(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IForgeBlockState.isLadder
(IWorldReader world, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IForgeBlock.isScaffolding
(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IForgeBlock.makesOpenTrapdoorAboveClimbable
(BlockState state, IWorldReader world, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default void
IForgeBlock.onNeighborChange
(BlockState state, IWorldReader world, BlockPos pos, BlockPos neighbor) Called when a tile entity on a side of this block changes is created or is destroyed.default void
IForgeBlockState.onNeighborChange
(IWorldReader world, BlockPos pos, BlockPos neighbor) Called when a tile entity on a side of this block changes is created or is destroyed.default boolean
IForgeBlock.shouldCheckWeakPower
(BlockState state, IWorldReader world, BlockPos pos, Direction side) Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules.default boolean
IForgeBlockState.shouldCheckWeakPower
(IWorldReader world, BlockPos pos, Direction side) Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules. -
Uses of IWorldReader in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionboolean
CustomPlantTypeTest.CustomPlantBlock.canSurvive
(BlockState state, IWorldReader world, BlockPos pos) CustomRespawnTest.CustomRespawnBlock.getRespawnPosition
(BlockState state, EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity) boolean
ScaffoldingTest.ScaffoldingMethodTestBlock.isScaffolding
(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) -
Uses of IWorldReader in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canCreateFluidSource
(IWorldReader world, BlockPos pos, BlockState state, boolean def) -
Uses of IWorldReader in net.minecraftforge.event.world
Modifier and TypeFieldDescriptionprivate final IWorldReader
BlockEvent.CreateFluidSourceEvent.world
ModifierConstructorDescriptionCreateFluidSourceEvent
(IWorldReader world, BlockPos pos, BlockState state) -
Uses of IWorldReader in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionprotected int
ForgeFlowingFluid.getDropOff
(IWorldReader worldIn) protected int
ForgeFlowingFluid.getSlopeFindDistance
(IWorldReader worldIn) int
ForgeFlowingFluid.getTickDelay
(IWorldReader world)
LavaFluid.isFlammable(IWorldReader,BlockPos,Direction)
instead