Uses of Interface
baritone.api.utils.IPlayerContext
Packages that use IPlayerContext
-
Uses of IPlayerContext in baritone.api
Methods in baritone.api that return IPlayerContext -
Uses of IPlayerContext in baritone.api.cache
Methods in baritone.api.cache with parameters of type IPlayerContextModifier and TypeMethodDescriptionintIWorldScanner.repack(IPlayerContext ctx) intIWorldScanner.repack(IPlayerContext ctx, int range) Queues the chunks in a square formation around the specified player, using the specified range, which represents 1/2 the square's dimensions, where the player is in the center.List<net.minecraft.core.BlockPos> IWorldScanner.scanChunk(IPlayerContext ctx, BlockOptionalMetaLookup filter, net.minecraft.world.level.ChunkPos pos, int max, int yLevelThreshold) Scans a single chunk for the specified blocks.default List<net.minecraft.core.BlockPos> IWorldScanner.scanChunk(IPlayerContext ctx, List<net.minecraft.world.level.block.Block> blocks, net.minecraft.world.level.ChunkPos pos, int max, int yLevelThreshold) Scans a single chunk for the specified blocks.List<net.minecraft.core.BlockPos> IWorldScanner.scanChunkRadius(IPlayerContext ctx, BlockOptionalMetaLookup filter, int max, int yLevelThreshold, int maxSearchRadius) Scans the world, up to the specified max chunk radius, for the specified blocks.default List<net.minecraft.core.BlockPos> IWorldScanner.scanChunkRadius(IPlayerContext ctx, List<net.minecraft.world.level.block.Block> filter, int max, int yLevelThreshold, int maxSearchRadius) -
Uses of IPlayerContext in baritone.api.command
Fields in baritone.api.command declared as IPlayerContext -
Uses of IPlayerContext in baritone.api.utils
Methods in baritone.api.utils with parameters of type IPlayerContextModifier and TypeMethodDescriptionRotationUtils.reachable(IPlayerContext ctx, net.minecraft.core.BlockPos pos) RotationUtils.reachable(IPlayerContext ctx, net.minecraft.core.BlockPos pos, boolean wouldSneak) RotationUtils.reachable(IPlayerContext ctx, net.minecraft.core.BlockPos pos, double blockReachDistance) Determines if the specified entity is able to reach the center of any of the sides of the specified block.RotationUtils.reachable(IPlayerContext ctx, net.minecraft.core.BlockPos pos, double blockReachDistance, boolean wouldSneak) RotationUtils.reachableCenter(IPlayerContext ctx, net.minecraft.core.BlockPos pos, double blockReachDistance, boolean wouldSneak) Determines if the specified entity is able to reach the specified block where it is looking at the direct center of it's hitbox.RotationUtils.reachableOffset(IPlayerContext ctx, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.Vec3 offsetPos, double blockReachDistance, boolean wouldSneak) Determines if the specified entity is able to reach the specified block with the given offsetted position.