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) protected boolean
AbstractBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractPlantPartBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractPressurePlateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractRailBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractRedstoneGateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AbstractTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
AmethystClusterBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BambooBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BambooShootBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BellBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BigDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BigDripleafStemBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
BubbleColumnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CactusBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CandleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CandleCakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CarpetBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ChorusFlowerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ChorusPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CocoaBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CoralParentBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
CropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DeadCoralWallFanBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DirtPathBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
DoorBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FarmlandBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
FrogspawnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
GrindstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
HangingRootsBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
HangingSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
LadderBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
LanternBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
MultifaceGrowthBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
MushroomPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected 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) protected boolean
PlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
PointedDripstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
PropaguleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
RedstoneWireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
ScaffoldingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SeaPickleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SmallDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SnowBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SoulFireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SporeBlossomBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
SugarCaneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TallPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TallSeagrassBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
TripwireHookBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
VineBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallBannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected 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) protected boolean
WallRedstoneTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.protected boolean
WallTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos
.static boolean
WallTorchBlock.canPlaceAt
(WorldView world, BlockPos pos, Direction facing) 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) PointedDripstoneBlock.getDirectionToPlaceAt
(WorldView world, BlockPos pos, Direction direction) private Optional
<? extends RegistryEntry<ConfiguredFeature<?, ?>>> FungusBlock.getFeatureEntry
(WorldView world) PitcherCropBlock.getLowerHalfContext
(WorldView world, BlockPos pos, BlockState state) AbstractBannerBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.AbstractPlantBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.AttachedStemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.BambooShootBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.BigDripleafStemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.Block.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CandleCakeBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CaveVinesBodyBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CaveVinesHeadBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.CropBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.DecoratedPotBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.EndGatewayBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.EndPortalBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.FlowerPotBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.FrostedIceBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.LightBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.NetherPortalBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.NetherWartBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.PistonExtensionBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.PistonHeadBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.ShulkerBoxBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.StemBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.SweetBerryBushBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.TallSeagrassBlock.getPickStack
(WorldView world, BlockPos pos, BlockState state) Returns the new item stack when using pick block functionality.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
BambooShootBlock.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
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
ShortPlantBlock.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> BlockPattern.searchAround
(WorldView world, BlockPos pos) 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 TypeMethodDescriptiondefault BlockPos
SpawnLocation.adjustPosition
(WorldView world, BlockPos pos) protected static double
EntityType.getOriginY
(WorldView world, BlockPos pos, boolean invertY, Box boundingBox) static boolean
SpawnRestriction.isSpawnPosAllowed
(EntityType<?> type, WorldView world, BlockPos pos) boolean
SpawnLocation.isSpawnPositionOk
(WorldView world, BlockPos pos, @Nullable EntityType<?> entityType) -
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
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.getLevelDecreasePerBlock
(WorldView world) int
LavaFluid.getLevelDecreasePerBlock
(WorldView world) int
WaterFluid.getLevelDecreasePerBlock
(WorldView world) protected abstract int
FlowableFluid.getMaxFlowDistance
(WorldView world) Returns the maximum horizontal distance to check for holes the fluid can flow down into.int
LavaFluid.getMaxFlowDistance
(WorldView world) Returns the maximum horizontal distance to check for holes the fluid can flow down into.int
WaterFluid.getMaxFlowDistance
(WorldView world) Returns the maximum horizontal distance to check for holes the fluid can flow down into.protected int
FlowableFluid.getMinFlowDownDistance
(WorldView world, BlockPos pos, int int2, Direction direction, BlockState state, BlockPos fromPos, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, Short2BooleanMap flowDownCache) Finds the distance to the closest hole the fluid can flow down into starting with the direction specified.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.predicate
Modifier and TypeMethodDescriptionprivate static boolean
BlockPredicate.testBlockEntity
(WorldView world, @Nullable BlockEntity blockEntity, NbtPredicate nbtPredicate) -
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 TypeMethodDescriptionprivate static BlockPos
SpawnHelper.getEntitySpawnPos
(WorldView world, EntityType<?> entityType, int x, int z) 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.