Uses of Interface
net.minecraft.world.WorldView
Package
Description
-
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
AbstractLichenBlock.canPlaceAt
(BlockState state, WorldView world, BlockPos pos) 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
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
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
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 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) private BlockState
WallBlock.method_24421
(WorldView worldView, BlockState blockState, BlockPos blockPos, BlockState blockState2) private BlockState
WallBlock.method_24422
(WorldView worldView, BlockState blockState, BlockPos blockPos, BlockState blockState2, boolean bool, boolean bool2, boolean bool3, boolean bool4) private BlockState
WallBlock.method_24423
(WorldView worldView, BlockPos blockPos, BlockState blockState, BlockPos blockPos2, BlockState blockState2, Direction direction) static boolean
Block.sideCoversSmallSquare
(WorldView world, BlockPos pos, Direction side) private static boolean
NyliumBlock.stayAlive
(BlockState state, WorldView world, BlockPos pos) -
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.method_35300
(WorldView worldView, BlockPos blockPos, Direction direction, Direction direction2) BlockPattern.searchAround
(WorldView world, BlockPos pos) 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 TypeMethodDescriptionstatic Vec3d
Entity.adjustSingleAxisMovementForCollisions
(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions) protected 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
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) 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.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, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) BlockAgeStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) BlockIgnoreStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) BlockRotStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) GravityStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) JigsawReplacementStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) LavaSubmergedBlockStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) NopStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) ProtectedBlocksStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) RuleStructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) abstract Structure.StructureBlockInfo
StructureProcessor.process
(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data) -
Uses of WorldView in net.minecraft.util.shape
Modifier and TypeMethodDescriptionprivate static double
VoxelShapes.calculatePushVelocity
(Box box, WorldView world, double initial, ShapeContext context, AxisCycleDirection direction, Stream<VoxelShape> shapes) static double
VoxelShapes.calculatePushVelocity
(Direction.Axis axis, Box box, WorldView world, double initial, ShapeContext context, Stream<VoxelShape> shapes) -
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.gen.feature
Modifier and TypeMethodDescriptionprivate boolean
StructureFeature.locateStructure
(WorldView world, StructureAccessor structureAccessor, BlockPos searchStartPos, int searchRadius, boolean skipExistingChunks, long worldSeed, StructureConfig config) Tries to find the closest structure of this type near a given block. -
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.