Package net.minecraft.command.arguments
Class BlockPredicateArgument.TagPredicate
- java.lang.Object
-
- net.minecraft.command.arguments.BlockPredicateArgument.TagPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<CachedBlockInfo>
- Enclosing class:
- BlockPredicateArgument
static class BlockPredicateArgument.TagPredicate extends java.lang.Object implements java.util.function.Predicate<CachedBlockInfo>
-
-
Field Summary
Fields Modifier and Type Field Description private CompoundNBT
nbt
private ITag<Block>
tag
private java.util.Map<java.lang.String,java.lang.String>
vagueProperties
-
Constructor Summary
Constructors Modifier Constructor Description private
TagPredicate(ITag<Block> p_i48238_1_, java.util.Map<java.lang.String,java.lang.String> p_i48238_2_, CompoundNBT p_i48238_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(CachedBlockInfo p_test_1_)
-
-
-
Field Detail
-
nbt
@Nullable private final CompoundNBT nbt
-
vagueProperties
private final java.util.Map<java.lang.String,java.lang.String> vagueProperties
-
-
Constructor Detail
-
TagPredicate
private TagPredicate(ITag<Block> p_i48238_1_, java.util.Map<java.lang.String,java.lang.String> p_i48238_2_, @Nullable CompoundNBT p_i48238_3_)
-
-
Method Detail
-
test
public boolean test(CachedBlockInfo p_test_1_)
- Specified by:
test
in interfacejava.util.function.Predicate<CachedBlockInfo>
-
-