Uses of Class
net.minecraft.world.level.block.state.pattern.BlockInWorld
Packages that use BlockInWorld
Package
Description
-
Uses of BlockInWorld in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type BlockInWorld -
Uses of BlockInWorld in net.minecraft.commands.arguments.blocks
Methods in net.minecraft.commands.arguments.blocks that return types with arguments of type BlockInWorldModifier and TypeMethodDescriptionstatic Predicate
<BlockInWorld> BlockPredicateArgument.getBlockPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Methods in net.minecraft.commands.arguments.blocks with parameters of type BlockInWorldModifier and TypeMethodDescriptionboolean
BlockInput.test
(BlockInWorld block) boolean
BlockPredicateArgument.BlockPredicate.test
(BlockInWorld block) boolean
BlockPredicateArgument.TagPredicate.test
(BlockInWorld block) -
Uses of BlockInWorld in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type BlockInWorldMethod parameters in net.minecraft.server.commands with type arguments of type BlockInWorldModifier and TypeMethodDescriptionprivate static int
CloneCommands.clone
(CommandSourceStack source, CloneCommands.DimensionAndPosition begin, CloneCommands.DimensionAndPosition end, CloneCommands.DimensionAndPosition target, Predicate<BlockInWorld> filter, CloneCommands.Mode mode) private static int
FillCommand.fillBlocks
(CommandSourceStack source, BoundingBox area, BlockInput newBlock, FillCommand.Mode mode, Predicate<BlockInWorld> replacingPredicate) private static int
SetBlockCommand.setBlock
(CommandSourceStack source, BlockPos pos, BlockInput state, SetBlockCommand.Mode mode, Predicate<BlockInWorld> predicate) -
Uses of BlockInWorld in net.minecraft.world.item
Fields in net.minecraft.world.item declared as BlockInWorldMethods in net.minecraft.world.item with parameters of type BlockInWorldModifier and TypeMethodDescriptionprivate static boolean
AdventureModePredicate.areSameBlocks
(BlockInWorld first, BlockInWorld second, boolean checkNbt) boolean
ItemStack.canBreakBlockInAdventureMode
(BlockInWorld block) boolean
ItemStack.canPlaceOnBlockInAdventureMode
(BlockInWorld block) boolean
AdventureModePredicate.test
(BlockInWorld block) -
Uses of BlockInWorld in net.minecraft.world.level.block.state.pattern
Fields in net.minecraft.world.level.block.state.pattern with type parameters of type BlockInWorldModifier and TypeFieldDescriptionprivate final com.google.common.cache.LoadingCache
<BlockPos, BlockInWorld> BlockPattern.BlockPatternMatch.cache
private final Map
<Character, Predicate<BlockInWorld>> BlockPatternBuilder.lookup
Methods in net.minecraft.world.level.block.state.pattern that return BlockInWorldModifier and TypeMethodDescriptionBlockPattern.BlockPatternMatch.getBlock
(int palmOffset, int thumbOffset, int fingerOffset) Methods in net.minecraft.world.level.block.state.pattern that return types with arguments of type BlockInWorldModifier and TypeMethodDescriptionstatic com.google.common.cache.LoadingCache
<BlockPos, BlockInWorld> BlockPattern.createLevelCache
(LevelReader level, boolean forceLoad) private Predicate<BlockInWorld>[][][]
BlockPatternBuilder.createPattern()
Predicate<BlockInWorld>[][][]
BlockPattern.getPattern()
static Predicate
<BlockInWorld> BlockInWorld.hasState
(Predicate<BlockState> state) Method parameters in net.minecraft.world.level.block.state.pattern with type arguments of type BlockInWorldModifier and TypeMethodDescriptionprivate BlockPattern.BlockPatternMatch
BlockPattern.matches
(BlockPos pos, Direction finger, Direction thumb, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> cache) Checks that the given pattern invalid input: '&' rotation is at the block coordinates.BlockPatternBuilder.where
(char symbol, Predicate<BlockInWorld> blockMatcher) Constructor parameters in net.minecraft.world.level.block.state.pattern with type arguments of type BlockInWorldModifierConstructorDescriptionBlockPatternMatch
(BlockPos frontTopLeft, Direction forwards, Direction up, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> cache, int width, int height, int depth)