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
CarvedPumpkinBlock.canDispense
(WorldView world, BlockPos pos) 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) boolean
AbstractPressurePlateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
AbstractRailBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
AbstractRedstoneGateBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
AmethystClusterBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BambooBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BambooSaplingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BellBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BigDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BigDripleafStemBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
BubbleColumnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CactusBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CandleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CandleCakeBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CarpetBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
ChorusFlowerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
ChorusPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CocoaBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CoralParentBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
CropBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
DeadCoralWallFanBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
DirtPathBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
DoorBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
FarmlandBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
FireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
FrogspawnBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
GrindstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
HangingRootsBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
LadderBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
LanternBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
MultifaceGrowthBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
MushroomPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
PistonHeadBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
PlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
PointedDripstoneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
PropaguleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
RedstoneWireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
ScaffoldingBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SeaPickleBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SmallDripleafBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SnowBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SoulFireBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SporeBlossomBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
SugarCaneBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
TallPlantBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
TallSeagrassBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
TorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
TripwireHookBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
VineBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallBannerBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallMountedBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) static boolean
WallMountedBlock.canPlaceAt
(WorldView world, BlockPos pos, Direction direction) boolean
WallRedstoneTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallSignBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
WallTorchBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) 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) protected int
AbstractRedstoneGateBlock.getInputLevel
(WorldView world, BlockPos pos, Direction dir) protected int
AbstractRedstoneGateBlock.getMaxInputLevelSides
(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) 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, 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.EatSweetBerriesGoal.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) protected abstract int
FlowableFluid.getFlowSpeed
(WorldView world) int
LavaFluid.getFlowSpeed
(WorldView world) int
WaterFluid.getFlowSpeed
(WorldView world) protected abstract int
FlowableFluid.getLevelDecreasePerBlock
(WorldView world) int
LavaFluid.getLevelDecreasePerBlock
(WorldView world) int
WaterFluid.getLevelDecreasePerBlock
(WorldView world) protected Map<Direction,
FluidState> FlowableFluid.getSpread
(WorldView world, BlockPos pos, BlockState state) int
EmptyFluid.getTickRate
(WorldView world) abstract int
Fluid.getTickRate
(WorldView world) int
LavaFluid.getTickRate
(WorldView world) int
WaterFluid.getTickRate
(WorldView world) protected FluidState
FlowableFluid.getUpdatedState
(WorldView world, BlockPos pos, BlockState state) private boolean
LavaFluid.hasBurnableBlock
(WorldView world, BlockPos pos) private int
FlowableFluid.method_15740
(WorldView world, BlockPos pos) protected int
FlowableFluid.method_15742
(WorldView world, BlockPos blockPos, int int2, Direction direction, BlockState blockState, BlockPos blockPos2, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> short2ObjectMap, Short2BooleanMap short2BooleanMap) -
Uses of WorldView in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate boolean
ServerPlayNetworkHandler.isPlayerNotCollidingWithBlocks
(WorldView world, Box box) -
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) NopStructureProcessor.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) abstract StructureTemplate.StructureBlockInfo
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) 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.