Uses of Class
net.minecraft.block.pattern.CachedBlockPosition
Packages that use CachedBlockPosition
Package
Description
-
Uses of CachedBlockPosition in net.minecraft.block.pattern
Fields in net.minecraft.block.pattern with type parameters of type CachedBlockPositionModifier and TypeFieldDescriptionprivate LoadingCache<BlockPos,CachedBlockPosition>
BlockPattern.Result.cache
private Map<Character,Predicate<CachedBlockPosition>>
BlockPatternBuilder.charMap
Methods in net.minecraft.block.pattern that return CachedBlockPositionModifier and TypeMethodDescriptionBlockPattern.Result.translate(int offsetLeft, int offsetDown, int offsetForwards)
Methods in net.minecraft.block.pattern that return types with arguments of type CachedBlockPositionModifier and TypeMethodDescriptionprivate Predicate<CachedBlockPosition>[][][]
BlockPatternBuilder.bakePredicates()
Predicate<CachedBlockPosition>[][][]
BlockPattern.getPattern()
static LoadingCache<BlockPos,CachedBlockPosition>
static Predicate<CachedBlockPosition>
CachedBlockPosition.matchesBlockState(Predicate<BlockState> state)
Method parameters in net.minecraft.block.pattern with type arguments of type CachedBlockPositionModifier and TypeMethodDescriptionprivate @Nullable BlockPattern.Result
BlockPattern.testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache)
BlockPatternBuilder.where(char key, Predicate<CachedBlockPosition> predicate)
Constructor parameters in net.minecraft.block.pattern with type arguments of type CachedBlockPositionModifierConstructorDescriptionResult(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 CachedBlockPositionModifier and TypeMethodDescriptionBlockPredicateArgumentType.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 CachedBlockPositionModifier and TypeMethodDescriptionboolean
BlockPredicateArgumentType.StatePredicate.test(CachedBlockPosition cachedBlockPosition)
boolean
BlockPredicateArgumentType.TagPredicate.test(CachedBlockPosition cachedBlockPosition)
boolean
BlockStateArgument.test(CachedBlockPosition cachedBlockPosition)
-
Uses of CachedBlockPosition in net.minecraft.item
Fields in net.minecraft.item declared as CachedBlockPositionModifier and TypeFieldDescriptionprivate CachedBlockPosition
ItemStack.lastDestroyPos
private CachedBlockPosition
ItemStack.lastPlaceOnPos
Methods in net.minecraft.item with parameters of type CachedBlockPositionModifier and TypeMethodDescriptionprivate static boolean
ItemStack.areBlocksEqual(CachedBlockPosition first, @Nullable CachedBlockPosition second)
boolean
ItemStack.canDestroy(TagManager tagManager, CachedBlockPosition pos)
boolean
ItemStack.canPlaceOn(TagManager tagManager, CachedBlockPosition pos)
-
Uses of CachedBlockPosition in net.minecraft.server.command
Fields in net.minecraft.server.command with type parameters of type CachedBlockPositionModifier and TypeFieldDescriptionstatic Predicate<CachedBlockPosition>
CloneCommand.IS_AIR_PREDICATE
Method parameters in net.minecraft.server.command with type arguments of type CachedBlockPositionModifier and TypeMethodDescriptionprivate static int
CloneCommand.execute(ServerCommandSource source, BlockPos begin, BlockPos end, BlockPos destination, Predicate<CachedBlockPosition> filter, CloneCommand.Mode mode)
private static int
FillCommand.execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter)
private static int
SetBlockCommand.execute(ServerCommandSource source, BlockPos pos, BlockStateArgument block, SetBlockCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> condition)