Uses of Class
net.minecraft.block.pattern.CachedBlockPosition
| Package | Description |
|---|---|
| net.minecraft.block.pattern | |
| net.minecraft.command.argument | |
| net.minecraft.item | |
| net.minecraft.server.command |
-
Uses of CachedBlockPosition in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern with type parameters of type CachedBlockPosition Modifier and Type Field Description private LoadingCache<BlockPos,CachedBlockPosition>BlockPattern.Result. cacheprivate Map<Character,Predicate<CachedBlockPosition>>BlockPatternBuilder. charMapMethods in net.minecraft.block.pattern that return CachedBlockPosition Modifier and Type Method Description CachedBlockPositionBlockPattern.BlockStateCacheLoader. load(BlockPos blockPos)CachedBlockPositionBlockPattern.Result. translate(int offsetLeft, int offsetDown, int offsetForwards)Methods in net.minecraft.block.pattern that return types with arguments of type CachedBlockPosition Modifier and Type Method Description private Predicate<CachedBlockPosition>[][][]BlockPatternBuilder. bakePredicates()Predicate<CachedBlockPosition>[][][]BlockPattern. getPattern()static LoadingCache<BlockPos,CachedBlockPosition>BlockPattern. makeCache(WorldView world, boolean forceLoad)static Predicate<CachedBlockPosition>CachedBlockPosition. matchesBlockState(Predicate<BlockState> state)Method parameters in net.minecraft.block.pattern with type arguments of type CachedBlockPosition Modifier and Type Method Description private @Nullable BlockPattern.ResultBlockPattern. testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache)BlockPatternBuilderBlockPatternBuilder. where(char key, Predicate<CachedBlockPosition> predicate)Constructor parameters in net.minecraft.block.pattern with type arguments of type CachedBlockPosition Constructor Description Result(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth) -
Uses of CachedBlockPosition in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type CachedBlockPosition Modifier and Type Method Description Predicate<CachedBlockPosition>BlockPredicateArgumentType.BlockPredicate. create(TagManager tagManager)static Predicate<CachedBlockPosition>BlockPredicateArgumentType. getBlockPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)Methods in net.minecraft.command.argument with parameters of type CachedBlockPosition Modifier and Type Method Description booleanBlockPredicateArgumentType.StatePredicate. test(CachedBlockPosition cachedBlockPosition)booleanBlockPredicateArgumentType.TagPredicate. test(CachedBlockPosition cachedBlockPosition)booleanBlockStateArgument. test(CachedBlockPosition cachedBlockPosition) -
Uses of CachedBlockPosition in net.minecraft.item
Fields in net.minecraft.item declared as CachedBlockPosition Modifier and Type Field Description private CachedBlockPositionItemStack. lastDestroyPosprivate CachedBlockPositionItemStack. lastPlaceOnPosMethods in net.minecraft.item with parameters of type CachedBlockPosition Modifier and Type Method Description private static booleanItemStack. areBlocksEqual(CachedBlockPosition first, @Nullable CachedBlockPosition second)booleanItemStack. canDestroy(TagManager tagManager, CachedBlockPosition pos)booleanItemStack. canPlaceOn(TagManager tagManager, CachedBlockPosition pos) -
Uses of CachedBlockPosition in net.minecraft.server.command
Fields in net.minecraft.server.command with type parameters of type CachedBlockPosition Modifier and Type Field Description static Predicate<CachedBlockPosition>CloneCommand. IS_AIR_PREDICATEMethod parameters in net.minecraft.server.command with type arguments of type CachedBlockPosition Modifier and Type Method Description private static intCloneCommand. execute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode)private static intFillCommand. execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter)private static intSetBlockCommand. execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition)