接口的使用
net.minecraft.world.WorldView
-
-
net.minecraft.block中WorldView的使用
参数类型为WorldView的net.minecraft.block中的方法 修饰符和类型 方法 说明 booleanCarvedPumpkinBlock. canDispense(WorldView world, BlockPos pos)booleanAbstractBlock.AbstractBlockState. canPlaceAt(WorldView world, BlockPos pos)booleanAbstractBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)已过时。booleanAbstractLichenBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanAbstractPlantPartBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanAbstractPressurePlateBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanAbstractRailBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanAbstractRedstoneGateBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanAmethystClusterBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanBambooBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanBambooSaplingBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanBannerBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanBellBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanBigDripleafBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanBigDripleafStemBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanBubbleColumnBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanCactusBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanCakeBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanCandleBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanCandleCakeBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanCarpetBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanChorusFlowerBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanChorusPlantBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanCocoaBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanCoralParentBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanCropBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanDeadCoralWallFanBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanDirtPathBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanDoorBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanFarmlandBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanFireBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanGrindstoneBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanHangingRootsBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanLadderBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanLanternBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanMushroomPlantBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanPistonHeadBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanPlantBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanPointedDripstoneBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanRedstoneWireBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanScaffoldingBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanSeaPickleBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanSignBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanSmallDripleafBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanSnowBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanSoulFireBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanSporeBlossomBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanSugarCaneBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanTallPlantBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanTallSeagrassBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanTorchBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanTripwireHookBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanVineBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanWallBannerBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanWallMountedBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)static booleanWallMountedBlock. canPlaceAt(WorldView world, BlockPos pos, Direction direction)booleanWallRedstoneTorchBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanWallSignBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)booleanWallTorchBlock. canPlaceAt(BlockState state, WorldView world, BlockPos pos)private static booleanPointedDripstoneBlock. canPlaceAtWithDirection(WorldView world, BlockPos pos, Direction direction)private static booleanSpreadableBlock. canSpread(BlockState state, WorldView world, BlockPos pos)private static booleanSpreadableBlock. canSurvive(BlockState state, WorldView world, BlockPos pos)private intFireBlock. getBurnChance(WorldView world, BlockPos pos)private static @Nullable DirectionPointedDripstoneBlock. getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction)protected intAbstractRedstoneGateBlock. getInputLevel(WorldView world, BlockPos pos, Direction dir)protected intAbstractRedstoneGateBlock. getMaxInputLevelSides(WorldView world, BlockPos pos, BlockState state)private static ThicknessPointedDripstoneBlock. getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge)private static booleanPointedDripstoneBlock. isHeldByPointedDripstone(BlockState state, WorldView world, BlockPos pos)booleanAbstractRedstoneGateBlock. isLocked(WorldView world, BlockPos pos, BlockState state)booleanRepeaterBlock. isLocked(WorldView world, BlockPos pos, BlockState state)private static booleanChorusFlowerBlock. isSurroundedByAir(WorldView world, BlockPos pos, @Nullable Direction exceptDirection)private static booleanFarmlandBlock. isWaterNearby(WorldView world, BlockPos pos)private BlockStateWallBlock. method_24421(WorldView worldView, BlockState blockState, BlockPos blockPos, BlockState blockState2)private BlockStateWallBlock. method_24422(WorldView worldView, BlockState blockState, BlockPos blockPos, BlockState blockState2, boolean bool, boolean bool2, boolean bool3, boolean bool4)private BlockStateWallBlock. method_24423(WorldView worldView, BlockPos blockPos, BlockState blockState, BlockPos blockPos2, BlockState blockState2, Direction direction)static booleanBlock. sideCoversSmallSquare(WorldView world, BlockPos pos, Direction side)private static booleanNyliumBlock. stayAlive(BlockState state, WorldView world, BlockPos pos) -
net.minecraft.block.pattern中WorldView的使用
声明为WorldView的net.minecraft.block.pattern中的字段 修饰符和类型 字段 说明 private WorldViewBlockPattern.BlockStateCacheLoader. worldprivate WorldViewCachedBlockPosition. world返回WorldView的net.minecraft.block.pattern中的方法 修饰符和类型 方法 说明 WorldViewCachedBlockPosition. getWorld()参数类型为WorldView的net.minecraft.block.pattern中的方法 修饰符和类型 方法 说明 static LoadingCache<BlockPos,CachedBlockPosition>BlockPattern. makeCache(WorldView world, boolean forceLoad)@Nullable BlockPattern.ResultBlockPattern. method_35300(WorldView worldView, BlockPos blockPos, Direction direction, Direction direction2)@Nullable BlockPattern.ResultBlockPattern. searchAround(WorldView world, BlockPos pos)参数类型为WorldView的net.minecraft.block.pattern中的构造器 构造器 说明 BlockStateCacheLoader(WorldView world, boolean forceLoad)CachedBlockPosition(WorldView world, BlockPos pos, boolean forceLoad) -
net.minecraft.client.render.entity中WorldView的使用
参数类型为WorldView的net.minecraft.client.render.entity中的方法 修饰符和类型 方法 说明 private static voidEntityRenderDispatcher. renderShadow(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity entity, float opacity, float tickDelta, WorldView world, float radius)private static voidEntityRenderDispatcher. renderShadowPart(MatrixStack.Entry entry, VertexConsumer vertices, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity) -
net.minecraft.client.world中WorldView的使用
实现WorldView的net.minecraft.client.world中的类 修饰符和类型 类 说明 classClientWorld -
net.minecraft.entity中WorldView的使用
参数类型为WorldView的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static Vec3dEntity. adjustSingleAxisMovementForCollisions(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions)protected static doubleEntityType. getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox) -
net.minecraft.entity.ai.goal中WorldView的使用
声明为WorldView的net.minecraft.entity.ai.goal中的字段 修饰符和类型 字段 说明 private WorldViewFollowOwnerGoal. world参数类型为WorldView的net.minecraft.entity.ai.goal中的方法 修饰符和类型 方法 说明 private booleanBreatheAirGoal. isAirPos(WorldView world, BlockPos pos)protected booleanCatSitOnBlockGoal. isTargetPos(WorldView world, BlockPos pos)protected booleanGoToOwnerAndPurrGoal. isTargetPos(WorldView world, BlockPos pos)protected abstract booleanMoveToTargetPosGoal. isTargetPos(WorldView world, BlockPos pos)protected booleanStepAndDestroyBlockGoal. isTargetPos(WorldView world, BlockPos pos) -
net.minecraft.entity.mob中WorldView的使用
参数类型为WorldView的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 booleanDrownedEntity. canSpawn(WorldView world)booleanGuardianEntity. canSpawn(WorldView world)booleanMagmaCubeEntity. canSpawn(WorldView world)booleanMobEntity. canSpawn(WorldView world)booleanRavagerEntity. canSpawn(WorldView world)booleanWaterCreatureEntity. canSpawn(WorldView world)booleanZombifiedPiglinEntity. canSpawn(WorldView world)floatGiantEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatGuardianEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatHoglinEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatHostileEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatPathAwareEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatPillagerEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatSilverfishEntity. getPathfindingFavor(BlockPos pos, WorldView world)protected booleanDrownedEntity.LeaveWaterGoal. isTargetPos(WorldView world, BlockPos pos) -
net.minecraft.entity.passive中WorldView的使用
参数类型为WorldView的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 booleanAxolotlEntity. canSpawn(WorldView world)booleanIronGolemEntity. canSpawn(WorldView world)booleanOcelotEntity. canSpawn(WorldView world)booleanStriderEntity. canSpawn(WorldView world)floatAnimalEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatAxolotlEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatBeeEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatMooshroomEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatStriderEntity. getPathfindingFavor(BlockPos pos, WorldView world)floatTurtleEntity. getPathfindingFavor(BlockPos pos, WorldView world)protected booleanFoxEntity.EatSweetBerriesGoal. isTargetPos(WorldView world, BlockPos pos)protected booleanRabbitEntity.EatCarrotCropGoal. isTargetPos(WorldView world, BlockPos pos)protected booleanStriderEntity.GoBackToLavaGoal. isTargetPos(WorldView world, BlockPos pos)protected booleanTurtleEntity.LayEggGoal. isTargetPos(WorldView world, BlockPos pos)protected booleanTurtleEntity.WanderInWaterGoal. isTargetPos(WorldView world, BlockPos pos) -
net.minecraft.fluid中WorldView的使用
参数类型为WorldView的net.minecraft.fluid中的方法 修饰符和类型 方法 说明 private booleanLavaFluid. canLightFire(WorldView world, BlockPos pos)protected abstract intFlowableFluid. getFlowSpeed(WorldView world)intLavaFluid. getFlowSpeed(WorldView world)intWaterFluid. getFlowSpeed(WorldView world)protected abstract intFlowableFluid. getLevelDecreasePerBlock(WorldView world)intLavaFluid. getLevelDecreasePerBlock(WorldView world)intWaterFluid. getLevelDecreasePerBlock(WorldView world)protected Map<Direction,FluidState>FlowableFluid. getSpread(WorldView world, BlockPos pos, BlockState state)intEmptyFluid. getTickRate(WorldView world)abstract intFluid. getTickRate(WorldView world)intLavaFluid. getTickRate(WorldView world)intWaterFluid. getTickRate(WorldView world)protected FluidStateFlowableFluid. getUpdatedState(WorldView world, BlockPos pos, BlockState state)private booleanLavaFluid. hasBurnableBlock(WorldView world, BlockPos pos)private intFlowableFluid. method_15740(WorldView world, BlockPos pos)protected intFlowableFluid. 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) -
net.minecraft.server.network中WorldView的使用
参数类型为WorldView的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 private booleanServerPlayNetworkHandler. isPlayerNotCollidingWithBlocks(WorldView world, Box box) -
net.minecraft.server.world中WorldView的使用
实现WorldView的net.minecraft.server.world中的类 修饰符和类型 类 说明 classServerWorld -
net.minecraft.structure中WorldView的使用
参数类型为WorldView的net.minecraft.structure中的方法 修饰符和类型 方法 说明 protected booleanMineshaftGenerator.MineshaftPart. canAddBlock(WorldView world, int x, int y, int z, BlockBox box)protected booleanStructurePiece. canAddBlock(WorldView world, int x, int y, int z, BlockBox box)protected booleanStructurePiece. isUnderSeaLevel(WorldView world, int x, int z, int y, BlockBox box)private booleanMineshaftGenerator.MineshaftCorridor. method_33877(WorldView worldView, BlockPos blockPos, BlockState blockState) -
net.minecraft.structure.processor中WorldView的使用
-
net.minecraft.util.shape中WorldView的使用
参数类型为WorldView的net.minecraft.util.shape中的方法 修饰符和类型 方法 说明 private static doubleVoxelShapes. calculatePushVelocity(Box box, WorldView world, double initial, ShapeContext context, AxisCycleDirection direction, Stream<VoxelShape> shapes)static doubleVoxelShapes. calculatePushVelocity(Direction.Axis axis, Box box, WorldView world, double initial, ShapeContext context, Stream<VoxelShape> shapes) -
net.minecraft.world中WorldView的使用
net.minecraft.world中WorldView的子接口 修饰符和类型 接口 说明 interfaceLunarWorldViewinterfaceRegistryWorldViewA world view orWorld's superinterface that exposes access to a registry manager.interfaceServerWorldAccessRepresents access to a world on a logical Minecraft server.interfaceStructureWorldAccessinterfaceWorldAccess实现WorldView的net.minecraft.world中的类 修饰符和类型 类 说明 classChunkRegionclassWorld参数类型为WorldView的net.minecraft.world中的方法 修饰符和类型 方法 说明 static booleanSpawnHelper. canSpawn(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType)private static BlockPosSpawnHelper. getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z)private @Nullable BlockPosWanderingTraderManager. getNearbySpawnPos(WorldView world, BlockPos pos, int range) -
net.minecraft.world.biome中WorldView的使用
参数类型为WorldView的net.minecraft.world.biome中的方法 修饰符和类型 方法 说明 booleanBiome. canSetIce(WorldView world, BlockPos blockPos)booleanBiome. canSetIce(WorldView world, BlockPos pos, boolean doWaterCheck)booleanBiome. canSetSnow(WorldView world, BlockPos blockPos) -
net.minecraft.world.gen.feature中WorldView的使用
参数类型为WorldView的net.minecraft.world.gen.feature中的方法 修饰符和类型 方法 说明 private booleanDripstoneClusterFeature. isLava(WorldView world, BlockPos pos)@Nullable BlockPosStructureFeature. 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. -
net.minecraft.world.poi中WorldView的使用
参数类型为WorldView的net.minecraft.world.poi中的方法 修饰符和类型 方法 说明 voidPointOfInterestStorage. preloadChunks(WorldView world, BlockPos pos, int radius)Preloads chunks in a square area with the given radius.
-