Package | Description |
---|---|
net.minecraft.block.pattern | |
net.minecraft.command.arguments | |
net.minecraft.command.impl | |
net.minecraft.item | |
net.minecraft.util |
Modifier and Type | Field and Description |
---|---|
private com.google.common.cache.LoadingCache<BlockPos,CachedBlockInfo> |
BlockPattern.PatternHelper.lcache |
private java.util.Map<java.lang.Character,java.util.function.Predicate<CachedBlockInfo>> |
BlockPatternBuilder.symbolMap |
Modifier and Type | Method and Description |
---|---|
CachedBlockInfo |
BlockPattern.CacheLoader.load(BlockPos p_load_1_) |
CachedBlockInfo |
BlockPattern.PatternHelper.translateOffset(int palmOffset,
int thumbOffset,
int fingerOffset) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.cache.LoadingCache<BlockPos,CachedBlockInfo> |
BlockPattern.createLoadingCache(IWorldReader worldIn,
boolean forceLoadIn) |
Modifier and Type | Method and Description |
---|---|
private BlockPattern.PatternHelper |
BlockPattern.checkPatternAt(BlockPos pos,
Direction finger,
Direction thumb,
com.google.common.cache.LoadingCache<BlockPos,CachedBlockInfo> lcache) |
BlockPatternBuilder |
BlockPatternBuilder.where(char symbol,
java.util.function.Predicate<CachedBlockInfo> blockMatcher) |
Constructor and Description |
---|
PatternHelper(BlockPos posIn,
Direction fingerIn,
Direction thumbIn,
com.google.common.cache.LoadingCache<BlockPos,CachedBlockInfo> lcacheIn,
int widthIn,
int heightIn,
int depthIn) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Predicate<CachedBlockInfo> |
BlockPredicateArgument.IResult.create(NetworkTagManager p_create_1_) |
static java.util.function.Predicate<CachedBlockInfo> |
BlockPredicateArgument.getBlockPredicate(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
BlockStateInput.test(CachedBlockInfo p_test_1_) |
boolean |
BlockPredicateArgument.BlockPredicate.test(CachedBlockInfo p_test_1_) |
boolean |
BlockPredicateArgument.TagPredicate.test(CachedBlockInfo p_test_1_) |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<CachedBlockInfo> |
CloneCommand.NOT_AIR |
Modifier and Type | Method and Description |
---|---|
private static int |
CloneCommand.doClone(CommandSource source,
BlockPos beginPos,
BlockPos endPos,
BlockPos destPos,
java.util.function.Predicate<CachedBlockInfo> filterPredicate,
CloneCommand.Mode cloneMode) |
private static int |
FillCommand.doFill(CommandSource source,
MutableBoundingBox area,
BlockStateInput newBlock,
FillCommand.Mode mode,
java.util.function.Predicate<CachedBlockInfo> replacingPredicate) |
private static int |
SetBlockCommand.setBlock(CommandSource source,
BlockPos pos,
BlockStateInput state,
SetBlockCommand.Mode mode,
java.util.function.Predicate<CachedBlockInfo> predicate) |
Modifier and Type | Field and Description |
---|---|
private CachedBlockInfo |
ItemStack.canDestroyCacheBlock |
private CachedBlockInfo |
ItemStack.canPlaceOnCacheBlock |
Modifier and Type | Method and Description |
---|---|
boolean |
ItemStack.canDestroy(NetworkTagManager p_206848_1_,
CachedBlockInfo p_206848_2_) |
boolean |
ItemStack.canPlaceOn(NetworkTagManager p_206847_1_,
CachedBlockInfo p_206847_2_) |
private static boolean |
ItemStack.isStateAndTileEntityEqual(CachedBlockInfo p_206846_0_,
CachedBlockInfo p_206846_1_) |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Predicate<CachedBlockInfo> |
CachedBlockInfo.hasState(java.util.function.Predicate<BlockState> predicatesIn) |