Uses of Class
net.minecraft.block.pattern.CachedBlockPosition
Package
Description
-
Uses of CachedBlockPosition in net.minecraft.block.pattern
Modifier and TypeFieldDescriptionprivate LoadingCache<BlockPos,CachedBlockPosition>
BlockPattern.Result.cache
private Map<Character,Predicate<CachedBlockPosition>>
BlockPatternBuilder.charMap
Modifier and TypeMethodDescriptionBlockPattern.Result.translate(int offsetLeft, int offsetDown, int offsetForwards)
Modifier and TypeMethodDescriptionprivate Predicate<CachedBlockPosition>[][][]
BlockPatternBuilder.bakePredicates()
Predicate<CachedBlockPosition>[][][]
BlockPattern.getPattern()
static LoadingCache<BlockPos,CachedBlockPosition>
static Predicate<CachedBlockPosition>
CachedBlockPosition.matchesBlockState(Predicate<BlockState> state)
Modifier and TypeMethodDescriptionprivate @Nullable BlockPattern.Result
BlockPattern.testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache)
BlockPatternBuilder.where(char key, Predicate<CachedBlockPosition> predicate)
ModifierConstructorDescriptionResult(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos,CachedBlockPosition> cache, int width, int height, int depth)
-
Uses of CachedBlockPosition in net.minecraft.command.argument
Modifier and TypeMethodDescriptionBlockPredicateArgumentType.BlockPredicate.create(TagManager tagManager)
static Predicate<CachedBlockPosition>
BlockPredicateArgumentType.getBlockPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
Modifier 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
Modifier and TypeFieldDescriptionprivate CachedBlockPosition
ItemStack.lastDestroyPos
private CachedBlockPosition
ItemStack.lastPlaceOnPos
Modifier 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
Modifier and TypeFieldDescriptionstatic Predicate<CachedBlockPosition>
CloneCommand.IS_AIR_PREDICATE
Modifier 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)