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 fd$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
Lfd$c;a:Lhh;
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
Lfd$c;b:Lre;
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
Lfd$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>
Lfd$c;<init>(Lhh;Ljava/util/Map;Lre;)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
Lfd$c;a(Ldbu;)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
Lfd$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
-