Uses of Interface
net.minecraft.world.WorldView
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of WorldView in net.minecraft.block
Modifier and TypeMethodDescriptionboolean
WallHangingSignBlock.canAttachAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallHangingSignBlock.canAttachTo
(WorldView world, BlockState state, BlockPos toPos, Direction direction) boolean
CarvedPumpkinBlock.canDispense
(WorldView world, BlockPos pos) private boolean
PitcherCropBlock.canGrow
(WorldView world, BlockPos pos, BlockState state, int age) private static boolean
protected boolean
AbstractRedstoneGateBlock.canPlaceAbove
(WorldView world, BlockPos pos, BlockState state) boolean
AbstractBlock.AbstractBlockState.canPlaceAt
(WorldView world, BlockPos pos) boolean
AbstractBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Deprecated.boolean
AbstractPlantPartBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AbstractPressurePlateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AbstractRailBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AbstractRedstoneGateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
AmethystClusterBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BambooBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BambooSaplingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BellBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BigDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BigDripleafStemBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
BubbleColumnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CactusBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CandleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CandleCakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CarpetBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
ChorusFlowerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
ChorusPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CocoaBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CoralParentBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
CropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
DeadCoralWallFanBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
DirtPathBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
DoorBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
FarmlandBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
FireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
FrogspawnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
GrindstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
HangingRootsBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
HangingSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
LadderBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
LanternBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
MultifaceGrowthBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
MushroomPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PistonHeadBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PitcherCropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.private static boolean
PitcherCropBlock.canPlaceAt
(WorldView world, BlockPos pos) boolean
PlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PointedDripstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
PropaguleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
RedstoneWireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
ScaffoldingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SeaPickleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SmallDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SnowBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SoulFireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SporeBlossomBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
SugarCaneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
TallPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
TallSeagrassBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
TorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
TripwireHookBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
VineBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallBannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallMountedBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.static boolean
WallMountedBlock.canPlaceAt
(WorldView world, BlockPos pos, Direction direction) boolean
WallRedstoneTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.boolean
WallTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.private static boolean
PointedDripstoneBlock.canPlaceAtWithDirection
(WorldView world, BlockPos pos, Direction direction) private static boolean
SpreadableBlock.canSpread
(BlockState state, WorldView world, BlockPos pos) private static boolean
SpreadableBlock.canSurvive
(BlockState state, WorldView world, BlockPos pos) private int
FireBlock.getBurnChance
(WorldView world, BlockPos pos) private static @Nullable Direction
PointedDripstoneBlock.getDirectionToPlaceAt
(WorldView world, BlockPos pos, Direction direction) private Optional<? extends RegistryEntry<ConfiguredFeature<?,
?>>> FungusBlock.getFeatureEntry
(WorldView world) private @Nullable PitcherCropBlock.LowerHalfContext
PitcherCropBlock.getLowerHalfContext
(WorldView world, BlockPos pos, BlockState state) private BlockState
WallBlock.getStateAt
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) private BlockState
WallBlock.getStateWith
(WorldView world, BlockState state, BlockPos pos, BlockState aboveState, boolean north, boolean east, boolean south, boolean west) private BlockState
WallBlock.getStateWithNeighbor
(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) private static Thickness
PointedDripstoneBlock.getThickness
(WorldView world, BlockPos pos, Direction direction, boolean tryMerge) protected static boolean
CropBlock.hasEnoughLightAt
(WorldView world, BlockPos pos) boolean
AbstractPlantBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
AzaleaBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BambooBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BambooSaplingBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BigDripleafBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CaveVinesBodyBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CaveVinesHeadBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CocoaBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
CropBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
FernBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
Fertilizable.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
FlowerbedBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
FungusBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
GlowLichenBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
GrassBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MangroveLeavesBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MossBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
MushroomPlantBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
NetherrackBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
NyliumBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
PitcherCropBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
PropaguleBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
RootedDirtBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SaplingBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SeagrassBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SeaPickleBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
StemBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) boolean
TallFlowerBlock.isFertilizable
(WorldView world, BlockPos pos, BlockState state) private static boolean
PointedDripstoneBlock.isHeldByPointedDripstone
(BlockState state, WorldView world, BlockPos pos) boolean
AbstractRedstoneGateBlock.isLocked
(WorldView world, BlockPos pos, BlockState state) boolean
RepeaterBlock.isLocked
(WorldView world, BlockPos pos, BlockState state) private static boolean
ChorusFlowerBlock.isSurroundedByAir
(WorldView world, BlockPos pos, @Nullable Direction exceptDirection) private static boolean
FarmlandBlock.isWaterNearby
(WorldView world, BlockPos pos) static boolean
Block.sideCoversSmallSquare
(WorldView world, BlockPos pos, Direction side) private static boolean
NyliumBlock.stayAlive
(BlockState state, WorldView world, BlockPos pos) static BlockState
TallPlantBlock.withWaterloggedState
(WorldView world, BlockPos pos, BlockState state) -
Uses of WorldView in net.minecraft.block.pattern
Modifier and TypeFieldDescriptionprivate final WorldView
BlockPattern.BlockStateCacheLoader.world
private final WorldView
CachedBlockPosition.world
Modifier and TypeMethodDescriptionstatic LoadingCache<BlockPos,
CachedBlockPosition> @Nullable BlockPattern.Result
BlockPattern.searchAround
(WorldView world, BlockPos pos) @Nullable BlockPattern.Result
BlockPattern.testTransform
(WorldView world, BlockPos frontTopLeft, Direction forwards, Direction up) ModifierConstructorDescriptionBlockStateCacheLoader
(WorldView world, boolean forceLoad) CachedBlockPosition
(WorldView world, BlockPos pos, boolean forceLoad) -
Uses of WorldView in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionprivate static void
EntityRenderDispatcher.renderShadow
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity entity, float opacity, float tickDelta, WorldView world, float radius) private static void
EntityRenderDispatcher.renderShadowPart
(MatrixStack.Entry entry, VertexConsumer vertices, Chunk chunk, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity) -
Uses of WorldView in net.minecraft.client.world
-
Uses of WorldView in net.minecraft.entity
Modifier and TypeMethodDescriptionprotected static double
EntityType.getOriginY
(WorldView world, BlockPos pos, boolean invertY, Box boundingBox) -
Uses of WorldView in net.minecraft.entity.ai.goal
Modifier and TypeMethodDescriptionprivate boolean
protected boolean
CatSitOnBlockGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
GoToBedAndSleepGoal.isTargetPos
(WorldView world, BlockPos pos) protected abstract boolean
MoveToTargetPosGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
StepAndDestroyBlockGoal.isTargetPos
(WorldView world, BlockPos pos) -
Uses of WorldView in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
float
GiantEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
GuardianEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
HoglinEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
HostileEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
PathAwareEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
PillagerEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
SilverfishEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
WardenEntity.getPathfindingFavor
(BlockPos pos, WorldView world) protected boolean
DrownedEntity.LeaveWaterGoal.isTargetPos
(WorldView world, BlockPos pos) -
Uses of WorldView in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
float
AnimalEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
AxolotlEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
BeeEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
MooshroomEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
StriderEntity.getPathfindingFavor
(BlockPos pos, WorldView world) float
TurtleEntity.getPathfindingFavor
(BlockPos pos, WorldView world) protected boolean
FoxEntity.EatBerriesGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
RabbitEntity.EatCarrotCropGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
StriderEntity.GoBackToLavaGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
TurtleEntity.LayEggGoal.isTargetPos
(WorldView world, BlockPos pos) protected boolean
TurtleEntity.WanderInWaterGoal.isTargetPos
(WorldView world, BlockPos pos) -
Uses of WorldView in net.minecraft.fluid
Modifier and TypeMethodDescriptionprivate boolean
LavaFluid.canLightFire
(WorldView world, BlockPos pos) private int
FlowableFluid.countNeighboringSources
(WorldView world, BlockPos pos) protected abstract int
FlowableFluid.getFlowSpeed
(WorldView world) int
LavaFluid.getFlowSpeed
(WorldView world) int
WaterFluid.getFlowSpeed
(WorldView world) protected int
FlowableFluid.getFlowSpeedBetween
(WorldView world, BlockPos pos, int int2, Direction direction, BlockState state, BlockPos fromPos, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, Short2BooleanMap flowDownCache) protected abstract int
FlowableFluid.getLevelDecreasePerBlock
(WorldView world) int
LavaFluid.getLevelDecreasePerBlock
(WorldView world) int
WaterFluid.getLevelDecreasePerBlock
(WorldView world) int
EmptyFluid.getTickRate
(WorldView world) abstract int
Fluid.getTickRate
(WorldView world) int
LavaFluid.getTickRate
(WorldView world) int
WaterFluid.getTickRate
(WorldView world) private boolean
LavaFluid.hasBurnableBlock
(WorldView world, BlockPos pos) -
Uses of WorldView in net.minecraft.item
Modifier and TypeMethodDescriptionprotected boolean
HangingSignItem.canPlaceAt
(WorldView world, BlockState state, BlockPos pos) protected boolean
VerticallyAttachableBlockItem.canPlaceAt
(WorldView world, BlockState state, BlockPos pos) -
Uses of WorldView in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate boolean
ServerPlayNetworkHandler.isPlayerNotCollidingWithBlocks
(WorldView world, Box box, double newX, double newY, double newZ) -
Uses of WorldView in net.minecraft.server.world
-
Uses of WorldView in net.minecraft.structure
Modifier and TypeMethodDescriptionprotected boolean
MineshaftGenerator.MineshaftPart.canAddBlock
(WorldView world, int x, int y, int z, BlockBox box) protected boolean
StructurePiece.canAddBlock
(WorldView world, int x, int y, int z, BlockBox box) protected boolean
StructurePiece.isUnderSeaLevel
(WorldView world, int x, int z, int y, BlockBox box) private boolean
MineshaftGenerator.MineshaftCorridor.isUpsideSolidFullSquare
(WorldView world, BlockPos pos, BlockState state) private boolean
MineshaftGenerator.MineshaftCorridor.sideCoversSmallSquare
(WorldView world, BlockPos pos, BlockState state) -
Uses of WorldView in net.minecraft.structure.processor
Modifier and TypeMethodDescriptionBlackstoneReplacementStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockAgeStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockIgnoreStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) BlockRotStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) GravityStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) JigsawReplacementStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) LavaSubmergedBlockStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) ProtectedBlocksStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) RuleStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) StructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) -
Uses of WorldView in net.minecraft.world
Modifier and TypeInterfaceDescriptioninterface
interface
A world view orWorld
's superinterface that exposes access to a registry manager.interface
Represents access to a world on a logical Minecraft server.interface
interface
Modifier and TypeMethodDescriptionstatic boolean
SpawnHelper.canSpawn
(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType) private static BlockPos
SpawnHelper.getEntitySpawnPos
(WorldView world, EntityType<?> entityType, int x, int z) private @Nullable BlockPos
WanderingTraderManager.getNearbySpawnPos
(WorldView world, BlockPos pos, int range) -
Uses of WorldView in net.minecraft.world.biome
-
Uses of WorldView in net.minecraft.world.biome.source
Modifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) -
Uses of WorldView in net.minecraft.world.event.listener
Modifier and TypeMethodDescriptionprivate static void
EntityGameEventHandler.updateDispatcher
(WorldView world, @Nullable ChunkSectionPos sectionPos, Consumer<GameEventDispatcher> dispatcherConsumer) -
Uses of WorldView in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionprivate static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateRandomSpreadStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement) private static @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Structure>> ChunkGenerator.locateStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos) -
Uses of WorldView in net.minecraft.world.gen.feature
-
Uses of WorldView in net.minecraft.world.poi
Modifier and TypeMethodDescriptionvoid
PointOfInterestStorage.preloadChunks
(WorldView world, BlockPos pos, int radius) Preloads chunks in a square area with the given radius.
AbstractBlock.AbstractBlockState.canPlaceAt(net.minecraft.world.WorldView, net.minecraft.util.math.BlockPos)
instead.