Uses of Interface
net.minecraft.world.IWorldReader
Packages that use IWorldReader
Package
Description
-
Uses of IWorldReader in net.minecraft.block
Methods in net.minecraft.block with parameters of type IWorldReaderModifier and TypeMethodDescriptionprivate static booleanChorusFlowerBlock.allNeighborsEmpty(IWorldReader p_185604_0_, BlockPos p_185604_1_, Direction p_185604_2_) static booleanHorizontalFaceBlock.canAttach(IWorldReader p_220185_0_, BlockPos p_220185_1_, Direction p_220185_2_) private static booleanSpreadableSnowyDirtBlock.canBeGrass(BlockState p_220257_0_, IWorldReader p_220257_1_, BlockPos p_220257_2_) private static booleanNyliumBlock.canBeNylium(BlockState p_235516_0_, IWorldReader p_235516_1_, BlockPos p_235516_2_) private static booleanSpreadableSnowyDirtBlock.canPropagate(BlockState p_220256_0_, IWorldReader p_220256_1_, BlockPos p_220256_2_) booleanCarvedPumpkinBlock.canSpawnGolem(IWorldReader p_196354_1_, BlockPos p_196354_2_) static booleanBlock.canSupportCenter(IWorldReader p_220055_0_, BlockPos p_220055_1_, Direction p_220055_2_) booleanAbstractBlock.AbstractBlockState.canSurvive(IWorldReader p_196955_1_, BlockPos p_196955_2_) booleanAbstractBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) Deprecated.booleanAbstractCoralPlantBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanAbstractPlantBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanAbstractPressurePlateBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanAbstractRailBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanBambooBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanBambooSaplingBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanBannerBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanBellBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanBubbleColumnBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanBushBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanCactusBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanCakeBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanCarpetBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanChorusFlowerBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanChorusPlantBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanCocoaBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanCropsBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanDeadCoralWallFanBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanDoorBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanDoublePlantBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanFarmlandBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanFireBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanGrassPathBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanGrindstoneBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanHorizontalFaceBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanLadderBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanLanternBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanMushroomBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanPistonHeadBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanRedstoneDiodeBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanRedstoneWallTorchBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanRedstoneWireBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanScaffoldingBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanSeaPickleBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanSnowBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanSoulFireBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanStandingSignBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanSugarCaneBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanTallSeaGrassBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanTorchBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanTripWireHookBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanVineBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanWallBannerBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanWallSignBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) booleanWallTorchBlock.canSurvive(BlockState p_196260_1_, IWorldReader p_196260_2_, BlockPos p_196260_3_) protected intRedstoneDiodeBlock.getAlternateSignal(IWorldReader p_176407_1_, BlockPos p_176407_2_, BlockState p_176407_3_) protected intRedstoneDiodeBlock.getAlternateSignalAt(IWorldReader p_176401_1_, BlockPos p_176401_2_, Direction p_176401_3_) intOreBlock.getExpDrop(BlockState state, IWorldReader reader, BlockPos pos, int fortune, int silktouch) intRedstoneOreBlock.getExpDrop(BlockState state, IWorldReader world, BlockPos pos, int fortune, int silktouch) intSpawnerBlock.getExpDrop(BlockState state, IWorldReader world, BlockPos pos, int fortune, int silktouch) private intFireBlock.getFireOdds(IWorldReader p_176538_1_, BlockPos p_176538_2_) booleanComparatorBlock.getWeakChanges(BlockState state, IWorldReader world, BlockPos pos) booleanTrapDoorBlock.isLadder(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) booleanRedstoneDiodeBlock.isLocked(IWorldReader p_176405_1_, BlockPos p_176405_2_, BlockState p_176405_3_) booleanRepeaterBlock.isLocked(IWorldReader p_176405_1_, BlockPos p_176405_2_, BlockState p_176405_3_) private static booleanFarmlandBlock.isNearWater(IWorldReader p_176530_0_, BlockPos p_176530_1_) voidComparatorBlock.onNeighborChange(BlockState state, IWorldReader world, BlockPos pos, BlockPos neighbor) private BlockStateWallBlock.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 BlockStateWallBlock.topUpdate(IWorldReader p_235625_1_, BlockState p_235625_2_, BlockPos p_235625_3_, BlockState p_235625_4_) private BlockStateWallBlock.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
Fields in net.minecraft.block.pattern declared as IWorldReaderMethods in net.minecraft.block.pattern with parameters of type IWorldReaderModifier 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_) Constructors in net.minecraft.block.pattern with parameters of type IWorldReader -
Uses of IWorldReader in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type IWorldReaderModifier and TypeMethodDescriptionprivate static voidEntityRendererManager.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 voidEntityRendererManager.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
Classes in net.minecraft.client.world that implement IWorldReader -
Uses of IWorldReader in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type IWorldReaderModifier and TypeFieldDescriptionprivate TriPredicate<IWorldReader,BlockPos, EntityType<?>> EntitySpawnPlacementRegistry.PlacementType.predicateMethods in net.minecraft.entity with parameters of type IWorldReaderModifier and TypeMethodDescriptionbooleanEntitySpawnPlacementRegistry.PlacementType.canSpawnAt(IWorldReader world, BlockPos pos, EntityType<?> type) booleanMobEntity.checkSpawnObstruction(IWorldReader p_205019_1_) static Vector3dEntity.collideBoundingBox(Vector3d p_213313_0_, AxisAlignedBB p_213313_1_, IWorldReader p_213313_2_, ISelectionContext p_213313_3_, ReuseableStream<VoxelShape> p_213313_4_) floatCreatureEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) protected static doubleEntityType.getYOffset(IWorldReader p_208051_0_, BlockPos p_208051_1_, boolean p_208051_2_, AxisAlignedBB p_208051_3_) Method parameters in net.minecraft.entity with type arguments of type IWorldReaderModifier and TypeMethodDescriptionEntitySpawnPlacementRegistry.PlacementType.create(String name, TriPredicate<IWorldReader, BlockPos, EntityType<? extends MobEntity>> predicate) Constructor parameters in net.minecraft.entity with type arguments of type IWorldReaderModifierConstructorDescriptionprivatePlacementType(TriPredicate<IWorldReader, BlockPos, EntityType<?>> predicate) -
Uses of IWorldReader in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as IWorldReaderMethods in net.minecraft.entity.ai.goal with parameters of type IWorldReaderModifier and TypeMethodDescriptionprivate booleanBreatheAirGoal.givesAir(IWorldReader p_205140_1_, BlockPos p_205140_2_) protected booleanBreakBlockGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected booleanCatLieOnBedGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected booleanCatSitOnBlockGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected abstract booleanMoveToBlockGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) -
Uses of IWorldReader in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster with parameters of type IWorldReaderModifier and TypeMethodDescriptionbooleanDrownedEntity.checkSpawnObstruction(IWorldReader p_205019_1_) booleanGuardianEntity.checkSpawnObstruction(IWorldReader p_205019_1_) booleanMagmaCubeEntity.checkSpawnObstruction(IWorldReader p_205019_1_) booleanRavagerEntity.checkSpawnObstruction(IWorldReader p_205019_1_) booleanZombifiedPiglinEntity.checkSpawnObstruction(IWorldReader p_205019_1_) floatGiantEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatGuardianEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatHoglinEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatMonsterEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatPillagerEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatSilverfishEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) protected booleanDrownedEntity.GoToBeachGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) -
Uses of IWorldReader in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type IWorldReaderModifier and TypeMethodDescriptionbooleanIronGolemEntity.checkSpawnObstruction(IWorldReader p_205019_1_) booleanOcelotEntity.checkSpawnObstruction(IWorldReader p_205019_1_) booleanStriderEntity.checkSpawnObstruction(IWorldReader p_205019_1_) booleanWaterMobEntity.checkSpawnObstruction(IWorldReader p_205019_1_) floatAnimalEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatBeeEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatMooshroomEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatStriderEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) floatTurtleEntity.getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_) protected booleanFoxEntity.EatBerriesGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected booleanRabbitEntity.RaidFarmGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected booleanStriderEntity.MoveToLavaGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected booleanTurtleEntity.GoToWaterGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) protected booleanTurtleEntity.LayEggGoal.isValidTarget(IWorldReader p_179488_1_, BlockPos p_179488_2_) -
Uses of IWorldReader in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type IWorldReaderModifier and TypeMethodDescriptionprotected abstract intFlowingFluid.getDropOff(IWorldReader p_204528_1_) intLavaFluid.getDropOff(IWorldReader p_204528_1_) intWaterFluid.getDropOff(IWorldReader p_204528_1_) protected FluidStateFlowingFluid.getNewLiquid(IWorldReader p_205576_1_, BlockPos p_205576_2_, BlockState p_205576_3_) protected intFlowingFluid.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 intFlowingFluid.getSlopeFindDistance(IWorldReader p_185698_1_) intLavaFluid.getSlopeFindDistance(IWorldReader p_185698_1_) intWaterFluid.getSlopeFindDistance(IWorldReader p_185698_1_) protected Map<Direction,FluidState> FlowingFluid.getSpread(IWorldReader p_205572_1_, BlockPos p_205572_2_, BlockState p_205572_3_) intEmptyFluid.getTickDelay(IWorldReader p_205569_1_) abstract intFluid.getTickDelay(IWorldReader p_205569_1_) intLavaFluid.getTickDelay(IWorldReader p_205569_1_) intWaterFluid.getTickDelay(IWorldReader p_205569_1_) private booleanLavaFluid.hasFlammableNeighbours(IWorldReader p_176369_1_, BlockPos p_176369_2_) private booleanLavaFluid.isFlammable(IWorldReader p_176368_1_, BlockPos p_176368_2_) Deprecated.private booleanLavaFluid.isFlammable(IWorldReader world, BlockPos pos, Direction face) private intFlowingFluid.sourceNeighborCount(IWorldReader p_207936_1_, BlockPos p_207936_2_) -
Uses of IWorldReader in net.minecraft.network.play
Methods in net.minecraft.network.play with parameters of type IWorldReaderModifier and TypeMethodDescriptionprivate booleanServerPlayNetHandler.isPlayerCollidingWithAnythingNew(IWorldReader p_241163_1_, AxisAlignedBB p_241163_2_) -
Uses of IWorldReader in net.minecraft.util
Fields in net.minecraft.util declared as IWorldReaderMethods in net.minecraft.util that return IWorldReaderConstructors in net.minecraft.util with parameters of type IWorldReaderModifierConstructorDescriptionCachedBlockInfo(IWorldReader p_i48968_1_, BlockPos p_i48968_2_, boolean p_i48968_3_) -
Uses of IWorldReader in net.minecraft.util.math.shapes
Methods in net.minecraft.util.math.shapes with parameters of type IWorldReaderModifier and TypeMethodDescriptionstatic doubleVoxelShapes.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 doubleVoxelShapes.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
Methods in net.minecraft.village with parameters of type IWorldReaderModifier and TypeMethodDescriptionvoidPointOfInterestManager.ensureLoadedAndValid(IWorldReader p_226347_1_, BlockPos p_226347_2_, int p_226347_3_) -
Uses of IWorldReader in net.minecraft.world
Subinterfaces of IWorldReader in net.minecraft.worldModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceinterfaceinterfaceClasses in net.minecraft.world that implement IWorldReader -
Uses of IWorldReader in net.minecraft.world.biome
Methods in net.minecraft.world.biome with parameters of type IWorldReaderModifier and TypeMethodDescriptionbooleanBiome.shouldFreeze(IWorldReader p_201848_1_, BlockPos p_201848_2_) booleanBiome.shouldFreeze(IWorldReader p_201854_1_, BlockPos p_201854_2_, boolean p_201854_3_) booleanBiome.shouldSnow(IWorldReader p_201850_1_, BlockPos p_201850_2_) -
Uses of IWorldReader in net.minecraft.world.gen
Classes in net.minecraft.world.gen that implement IWorldReader -
Uses of IWorldReader in net.minecraft.world.gen.feature.structure
Methods in net.minecraft.world.gen.feature.structure with parameters of type IWorldReaderModifier 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 booleanStructurePiece.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
Methods in net.minecraft.world.gen.feature.template with parameters of type IWorldReaderModifier 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
Classes in net.minecraft.world.server that implement IWorldReader -
Uses of IWorldReader in net.minecraft.world.spawner
Methods in net.minecraft.world.spawner with parameters of type IWorldReaderModifier and TypeMethodDescriptionstatic booleanWorldEntitySpawner.canSpawnAtBody(EntitySpawnPlacementRegistry.PlacementType p_209382_0_, IWorldReader p_209382_1_, BlockPos p_209382_2_, EntityType<?> p_209382_3_) private BlockPosWanderingTraderSpawner.findSpawnPositionNear(IWorldReader p_234561_1_, BlockPos p_234561_2_, int p_234561_3_) private static BlockPosWorldEntitySpawner.getTopNonCollidingPos(IWorldReader p_208498_0_, EntityType<?> p_208498_1_, int p_208498_2_, int p_208498_3_) static booleanWorldEntitySpawner.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
Fields in net.minecraftforge.common with type parameters of type IWorldReaderModifier and TypeFieldDescriptionprivate static final Map<IWorldReader,Map<ChunkPos, ChunkTicketManager<Vector3d>>> FarmlandWaterManager.customWaterHandlerMethods in net.minecraftforge.common with parameters of type IWorldReaderModifier and TypeMethodDescriptionprivate static ChunkTicketManager<Vector3d>FarmlandWaterManager.getTicketManager(ChunkPos pos, IWorldReader world) static booleanFarmlandWaterManager.hasBlockWaterTicket(IWorldReader world, BlockPos pos) Tests if a block is in a region that is watered by blocks.static booleanForgeHooks.isToolEffective(IWorldReader world, BlockPos pos, ItemStack stack) -
Uses of IWorldReader in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type IWorldReaderModifier and TypeMethodDescriptiondefault booleanIForgeBlock.canBeReplacedByLeaves(BlockState state, IWorldReader world, BlockPos pos) Used during tree growth to determine if newly generated leaves can replace this block.default booleanIForgeBlockState.canBeReplacedByLeaves(IWorldReader world, BlockPos pos) Used during tree growth to determine if newly generated leaves can replace this block.default booleanIForgeBlock.canBeReplacedByLogs(BlockState state, IWorldReader world, BlockPos pos) Used during tree growth to determine if newly generated logs can replace this block.default booleanIForgeBlockState.canBeReplacedByLogs(IWorldReader world, BlockPos pos) Used during tree growth to determine if newly generated logs can replace this block.default booleanIForgeBlockState.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 booleanIForgeItem.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 booleanIForgeItemStack.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 DirectionIForgeBlock.getBedDirection(BlockState state, IWorldReader world, BlockPos pos) Returns the direction of the block.default DirectionIForgeBlockState.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 floatIForgeBlock.getEnchantPowerBonus(BlockState state, IWorldReader world, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default floatIForgeBlockState.getEnchantPowerBonus(IWorldReader world, BlockPos pos) Determines the amount of enchanting power this block can provide to an enchanting table.default intIForgeBlock.getExpDrop(BlockState state, IWorldReader world, BlockPos pos, int fortune, int silktouch) Gathers how much experience this block drops when broken.default intIForgeBlockState.getExpDrop(IWorldReader world, BlockPos pos, int fortune, int silktouch) Gathers how much experience this block drops when broken.default Vector3dIForgeBlock.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 Vector3dIForgeBlockState.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 floatIForgeBlock.getSlipperiness(BlockState state, IWorldReader world, BlockPos pos, Entity entity) Gets the slipperiness at the given location at the given state.default floatIForgeBlockState.getSlipperiness(IWorldReader world, BlockPos pos, Entity entity) Gets the slipperiness at the given location at the given state.default SoundTypeIForgeBlock.getSoundType(BlockState state, IWorldReader world, BlockPos pos, Entity entity) Sensitive version of getSoundTypedefault SoundTypeIForgeBlockState.getSoundType(IWorldReader world, BlockPos pos, Entity entity) Sensitive version of getSoundTypedefault booleanIForgeBlock.getWeakChanges(BlockState state, IWorldReader world, BlockPos pos) If this block should be notified of weak changes.default booleanIForgeBlockState.getWeakChanges(IWorldReader world, BlockPos pos) If this block should be notified of weak changes.default BooleanIForgeFluid.isAABBInsideLiquid(FluidState state, IWorldReader world, BlockPos pos, AxisAlignedBB boundingBox) Called when entities are moving to check if they are inside a liquiddefault BooleanIForgeFluid.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 booleanIForgeBlock.isConduitFrame(BlockState state, IWorldReader world, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default booleanIForgeBlockState.isConduitFrame(IWorldReader world, BlockPos pos, BlockPos conduit) Determines if this block can be used as the frame of a conduit.default booleanIForgeFluid.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 booleanIForgeFluidState.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 booleanIForgeBlock.isFireSource(BlockState state, IWorldReader world, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default booleanIForgeBlockState.isFireSource(IWorldReader world, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default booleanIForgeBlock.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 booleanIForgeBlockState.isLadder(IWorldReader world, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default booleanIForgeBlock.isScaffolding(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default booleanIForgeBlock.makesOpenTrapdoorAboveClimbable(BlockState state, IWorldReader world, BlockPos pos, BlockState trapdoorState) Checks if this block makes an open trapdoor above it climbable.default voidIForgeBlock.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 voidIForgeBlockState.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 booleanIForgeBlock.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 booleanIForgeBlockState.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
Methods in net.minecraftforge.debug.block with parameters of type IWorldReaderModifier and TypeMethodDescriptionbooleanCustomPlantTypeTest.CustomPlantBlock.canSurvive(BlockState state, IWorldReader world, BlockPos pos) CustomRespawnTest.CustomRespawnBlock.getRespawnPosition(BlockState state, EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity) booleanScaffoldingTest.ScaffoldingMethodTestBlock.isScaffolding(BlockState state, IWorldReader world, BlockPos pos, LivingEntity entity) -
Uses of IWorldReader in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type IWorldReaderModifier and TypeMethodDescriptionstatic booleanForgeEventFactory.canCreateFluidSource(IWorldReader world, BlockPos pos, BlockState state, boolean def) -
Uses of IWorldReader in net.minecraftforge.event.world
Fields in net.minecraftforge.event.world declared as IWorldReaderModifier and TypeFieldDescriptionprivate final IWorldReaderBlockEvent.CreateFluidSourceEvent.worldMethods in net.minecraftforge.event.world that return IWorldReaderConstructors in net.minecraftforge.event.world with parameters of type IWorldReaderModifierConstructorDescriptionCreateFluidSourceEvent(IWorldReader world, BlockPos pos, BlockState state) -
Uses of IWorldReader in net.minecraftforge.fluids
Methods in net.minecraftforge.fluids with parameters of type IWorldReaderModifier and TypeMethodDescriptionprotected intForgeFlowingFluid.getDropOff(IWorldReader worldIn) protected intForgeFlowingFluid.getSlopeFindDistance(IWorldReader worldIn) intForgeFlowingFluid.getTickDelay(IWorldReader world)
LavaFluid.isFlammable(IWorldReader,BlockPos,Direction)instead