Uses of Class
net.minecraft.util.CachedBlockInfo
Package
Description
-
Uses of CachedBlockInfo in net.minecraft.block.pattern
Modifier and TypeFieldDescriptionprivate final com.google.common.cache.LoadingCache<BlockPos,
CachedBlockInfo> BlockPattern.PatternHelper.cache
private final Map<Character,
Predicate<CachedBlockInfo>> BlockPatternBuilder.lookup
Modifier and TypeMethodDescriptionBlockPattern.PatternHelper.getBlock
(int p_177670_1_, int p_177670_2_, int p_177670_3_) Modifier and TypeMethodDescriptionstatic com.google.common.cache.LoadingCache<BlockPos,
CachedBlockInfo> BlockPattern.createLevelCache
(IWorldReader p_181627_0_, boolean p_181627_1_) private Predicate<CachedBlockInfo>[][][]
BlockPatternBuilder.createPattern()
Modifier and TypeMethodDescriptionprivate BlockPattern.PatternHelper
BlockPattern.matches
(BlockPos p_177682_1_, Direction p_177682_2_, Direction p_177682_3_, com.google.common.cache.LoadingCache<BlockPos, CachedBlockInfo> p_177682_4_) BlockPatternBuilder.where
(char p_177662_1_, Predicate<CachedBlockInfo> p_177662_2_) ModifierConstructorDescriptionPatternHelper
(BlockPos p_i46378_1_, Direction p_i46378_2_, Direction p_i46378_3_, com.google.common.cache.LoadingCache<BlockPos, CachedBlockInfo> p_i46378_4_, int p_i46378_5_, int p_i46378_6_, int p_i46378_7_) -
Uses of CachedBlockInfo in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionBlockPredicateArgument.IResult.create
(ITagCollectionSupplier p_create_1_) static Predicate<CachedBlockInfo>
BlockPredicateArgument.getBlockPredicate
(com.mojang.brigadier.context.CommandContext<CommandSource> p_199825_0_, String p_199825_1_) Modifier and TypeMethodDescriptionboolean
BlockPredicateArgument.BlockPredicate.test
(CachedBlockInfo p_test_1_) boolean
BlockPredicateArgument.TagPredicate.test
(CachedBlockInfo p_test_1_) boolean
BlockStateInput.test
(CachedBlockInfo p_test_1_) -
Uses of CachedBlockInfo in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static int
CloneCommand.clone
(CommandSource p_198274_0_, BlockPos p_198274_1_, BlockPos p_198274_2_, BlockPos p_198274_3_, Predicate<CachedBlockInfo> p_198274_4_, CloneCommand.Mode p_198274_5_) private static int
FillCommand.fillBlocks
(CommandSource p_198463_0_, MutableBoundingBox p_198463_1_, BlockStateInput p_198463_2_, FillCommand.Mode p_198463_3_, Predicate<CachedBlockInfo> p_198463_4_) private static int
SetBlockCommand.setBlock
(CommandSource p_198683_0_, BlockPos p_198683_1_, BlockStateInput p_198683_2_, SetBlockCommand.Mode p_198683_3_, Predicate<CachedBlockInfo> p_198683_4_) -
Uses of CachedBlockInfo in net.minecraft.item
Modifier and TypeFieldDescriptionprivate CachedBlockInfo
ItemStack.cachedBreakBlock
private CachedBlockInfo
ItemStack.cachedPlaceBlock
Modifier and TypeMethodDescriptionprivate static boolean
ItemStack.areSameBlocks
(CachedBlockInfo p_206846_0_, CachedBlockInfo p_206846_1_) boolean
ItemStack.hasAdventureModeBreakTagForBlock
(ITagCollectionSupplier p_206848_1_, CachedBlockInfo p_206848_2_) boolean
ItemStack.hasAdventureModePlaceTagForBlock
(ITagCollectionSupplier p_206847_1_, CachedBlockInfo p_206847_2_) -
Uses of CachedBlockInfo in net.minecraft.util
Modifier and TypeMethodDescriptionstatic Predicate<CachedBlockInfo>
CachedBlockInfo.hasState
(Predicate<BlockState> p_177510_0_)