Package net.minecraft.command.argument
Class BlockPredicateArgumentType.TagPredicate
java.lang.Object
net.minecraft.command.argument.BlockPredicateArgumentType.TagPredicate
- All Implemented Interfaces:
Predicate<CachedBlockPosition>
,BlockPredicateArgumentType.BlockPredicate
- Enclosing class:
BlockPredicateArgumentType
private static class BlockPredicateArgumentType.TagPredicate
extends Object
implements BlockPredicateArgumentType.BlockPredicate
- Mappings:
Namespace Name official fi$c
intermediary net/minecraft/class_2252$class_2255
named net/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable NbtCompound
private final RegistryEntryList<Block>
-
Constructor Summary
ConstructorDescriptionTagPredicate
(RegistryEntryList<Block> tag, Map<String, String> properties, @Nullable NbtCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNbt()
boolean
test
(CachedBlockPosition cachedBlockPosition)
-
Field Details
-
tag
- Mappings:
Namespace Name Mixin selector official a
Lfi$c;a:Lil;
intermediary field_10676
Lnet/minecraft/class_2252$class_2255;field_10676:Lnet/minecraft/class_6885;
named tag
Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;tag:Lnet/minecraft/registry/entry/RegistryEntryList;
-
nbt
- Mappings:
Namespace Name Mixin selector official b
Lfi$c;b:Lsn;
intermediary field_10677
Lnet/minecraft/class_2252$class_2255;field_10677:Lnet/minecraft/class_2487;
named nbt
Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;nbt:Lnet/minecraft/nbt/NbtCompound;
-
properties
- Mappings:
Namespace Name Mixin selector official c
Lfi$c;c:Ljava/util/Map;
intermediary field_10678
Lnet/minecraft/class_2252$class_2255;field_10678:Ljava/util/Map;
named properties
Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;properties:Ljava/util/Map;
-
-
Constructor Details
-
TagPredicate
TagPredicate(RegistryEntryList<Block> tag, Map<String, String> properties, @Nullable @Nullable NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official <init>
Lfi$c;<init>(Lil;Ljava/util/Map;Lsn;)V
intermediary <init>
Lnet/minecraft/class_2252$class_2255;<init>(Lnet/minecraft/class_6885;Ljava/util/Map;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;<init>(Lnet/minecraft/registry/entry/RegistryEntryList;Ljava/util/Map;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<CachedBlockPosition>
- Mappings:
Namespace Name Mixin selector official a
Lfi$c;a(Ldjl;)Z
intermediary method_9649
Lnet/minecraft/class_2252$class_2255;method_9649(Lnet/minecraft/class_2694;)Z
named test
Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;test(Lnet/minecraft/block/pattern/CachedBlockPosition;)Z
-
hasNbt
public boolean hasNbt()- Specified by:
hasNbt
in interfaceBlockPredicateArgumentType.BlockPredicate
- Mappings:
Namespace Name Mixin selector official a
Lfi$b;a()Z
intermediary method_38559
Lnet/minecraft/class_2252$class_2254;method_38559()Z
named hasNbt
Lnet/minecraft/command/argument/BlockPredicateArgumentType$BlockPredicate;hasNbt()Z
-