Uses of Class
net.minecraft.world.level.block.state.pattern.BlockInWorld
Package
Description
-
Uses of BlockInWorld in net.minecraft.commands.arguments.blocks
Modifier and TypeMethodDescriptionstatic Predicate<BlockInWorld>
BlockPredicateArgument.getBlockPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_115574_, String p_115575_) Modifier and TypeMethodDescriptionboolean
BlockInput.test
(BlockInWorld p_114675_) boolean
BlockPredicateArgument.BlockPredicate.test
(BlockInWorld p_115599_) boolean
BlockPredicateArgument.TagPredicate.test
(BlockInWorld p_115617_) -
Uses of BlockInWorld in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
CloneCommands.clone
(CommandSourceStack p_136736_, BlockPos p_136737_, BlockPos p_136738_, BlockPos p_136739_, Predicate<BlockInWorld> p_136740_, CloneCommands.Mode p_136741_) private static int
FillCommand.fillBlocks
(CommandSourceStack p_137386_, BoundingBox p_137387_, BlockInput p_137388_, FillCommand.Mode p_137389_, Predicate<BlockInWorld> p_137390_) private static int
SetBlockCommand.setBlock
(CommandSourceStack p_138608_, BlockPos p_138609_, BlockInput p_138610_, SetBlockCommand.Mode p_138611_, Predicate<BlockInWorld> p_138612_) -
Uses of BlockInWorld in net.minecraft.world.item
Modifier and TypeMethodDescriptionprivate static boolean
AdventureModeCheck.areSameBlocks
(BlockInWorld p_186333_, BlockInWorld p_186334_, boolean p_186335_) boolean
ItemStack.hasAdventureModeBreakTagForBlock
(Registry<Block> p_204129_, BlockInWorld p_204130_) boolean
ItemStack.hasAdventureModePlaceTagForBlock
(Registry<Block> p_204122_, BlockInWorld p_204123_) boolean
AdventureModeCheck.test
(ItemStack p_204086_, Registry<Block> p_204087_, BlockInWorld p_204088_) -
Uses of BlockInWorld in net.minecraft.world.level.block.state.pattern
Modifier and TypeFieldDescriptionprivate final com.google.common.cache.LoadingCache<BlockPos,
BlockInWorld> BlockPattern.BlockPatternMatch.cache
private final Map<Character,
Predicate<BlockInWorld>> BlockPatternBuilder.lookup
Modifier and TypeMethodDescriptionBlockPattern.BlockPatternMatch.getBlock
(int p_61230_, int p_61231_, int p_61232_) Modifier and TypeMethodDescriptionstatic com.google.common.cache.LoadingCache<BlockPos,
BlockInWorld> BlockPattern.createLevelCache
(LevelReader p_61188_, boolean p_61189_) private Predicate<BlockInWorld>[][][]
BlockPatternBuilder.createPattern()
Predicate<BlockInWorld>[][][]
BlockPattern.getPattern()
static Predicate<BlockInWorld>
BlockInWorld.hasState
(Predicate<BlockState> p_61170_) Modifier and TypeMethodDescriptionprivate BlockPattern.BlockPatternMatch
BlockPattern.matches
(BlockPos p_61198_, Direction p_61199_, Direction p_61200_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61201_) BlockPatternBuilder.where
(char p_61245_, Predicate<BlockInWorld> p_61246_) ModifierConstructorDescriptionBlockPatternMatch
(BlockPos p_61221_, Direction p_61222_, Direction p_61223_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61224_, int p_61225_, int p_61226_, int p_61227_)