Package net.minecraft.command.argument
Class BlockPredicateArgumentType.StatePredicate
java.lang.Object
net.minecraft.command.argument.BlockPredicateArgumentType.StatePredicate
- All Implemented Interfaces:
Predicate<CachedBlockPosition>
,BlockPredicateArgumentType.BlockPredicate
- Enclosing class:
BlockPredicateArgumentType
private static class BlockPredicateArgumentType.StatePredicate
extends Object
implements BlockPredicateArgumentType.BlockPredicate
- Mappings:
Namespace Name official ez$a
intermediary net/minecraft/class_2252$class_2253
named net/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStatePredicate
(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNbt()
boolean
test
(CachedBlockPosition cachedBlockPosition)
-
Field Details
-
state
- Mappings:
Namespace Name Mixin selector official a
Lez$a;a:Lcyt;
intermediary field_10674
Lnet/minecraft/class_2252$class_2253;field_10674:Lnet/minecraft/class_2680;
named state
Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;state:Lnet/minecraft/block/BlockState;
-
properties
- Mappings:
Namespace Name Mixin selector official b
Lez$a;b:Ljava/util/Set;
intermediary field_10673
Lnet/minecraft/class_2252$class_2253;field_10673:Ljava/util/Set;
named properties
Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;properties:Ljava/util/Set;
-
nbt
- Mappings:
Namespace Name Mixin selector official c
Lez$a;c:Lqp;
intermediary field_10675
Lnet/minecraft/class_2252$class_2253;field_10675:Lnet/minecraft/class_2487;
named nbt
Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;nbt:Lnet/minecraft/nbt/NbtCompound;
-
-
Constructor Details
-
StatePredicate
public StatePredicate(BlockState state, Set<Property<?>> properties, @Nullable @Nullable NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official <init>
Lez$a;<init>(Lcyt;Ljava/util/Set;Lqp;)V
intermediary <init>
Lnet/minecraft/class_2252$class_2253;<init>(Lnet/minecraft/class_2680;Ljava/util/Set;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;<init>(Lnet/minecraft/block/BlockState;Ljava/util/Set;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<CachedBlockPosition>
- Mappings:
Namespace Name Mixin selector official a
Lez$a;a(Lcyx;)Z
intermediary method_9648
Lnet/minecraft/class_2252$class_2253;method_9648(Lnet/minecraft/class_2694;)Z
named test
Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;test(Lnet/minecraft/block/pattern/CachedBlockPosition;)Z
-
hasNbt
public boolean hasNbt()- Specified by:
hasNbt
in interfaceBlockPredicateArgumentType.BlockPredicate
- Mappings:
Namespace Name Mixin selector official a
Lez$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
-