Class SlideDownBlockCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.SlideDownBlockCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
SlideDownBlockCriterion
- Mappings:
Namespace Name official cx$a
intermediary net/minecraft/class_4713$class_4714
named net/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable Block
private final Optional<StatePredicate>
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, @Nullable Block block, Optional<StatePredicate> state) -
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(BlockState state) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Lcx$a;a:Lcsv;
intermediary field_21587
Lnet/minecraft/class_4713$class_4714;field_21587:Lnet/minecraft/class_2248;
named block
Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;block:Lnet/minecraft/block/Block;
-
state
- Mappings:
Namespace Name Mixin selector official b
Lcx$a;b:Ljava/util/Optional;
intermediary field_21588
Lnet/minecraft/class_4713$class_4714;field_21588:Ljava/util/Optional;
named state
Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;state:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
public Conditions(Optional<LootContextPredicate> playerPredicate, @Nullable @Nullable Block block, Optional<StatePredicate> state) - Mappings:
Namespace Name Mixin selector official <init>
Lcx$a;<init>(Ljava/util/Optional;Lcsv;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_4713$class_4714;<init>(Ljava/util/Optional;Lnet/minecraft/class_2248;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;<init>(Ljava/util/Optional;Lnet/minecraft/block/Block;Ljava/util/Optional;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lcx$a;a(Lcsv;)Lam;
intermediary method_23912
Lnet/minecraft/class_4713$class_4714;method_23912(Lnet/minecraft/class_2248;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;create(Lnet/minecraft/block/Block;)Lnet/minecraft/advancement/AdvancementCriterion;
-
toJson
public com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lcx$a;a(Ldfj;)Z
intermediary method_23913
Lnet/minecraft/class_4713$class_4714;method_23913(Lnet/minecraft/class_2680;)Z
named test
Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;test(Lnet/minecraft/block/BlockState;)Z
-