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

public static class SlideDownBlockCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official cx$a
intermediary net/minecraft/class_4713$class_4714
named net/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions
  • Field Details

    • block

      @Nullable private final @Nullable Block 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

      private final Optional<StatePredicate> 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 JsonObject toJson()
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      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

      public boolean test(BlockState state)
      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