Class SlideDownBlockCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.SlideDownBlockCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
SlideDownBlockCriterion

public static class SlideDownBlockCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official cu$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 Lcu$a;a:Lccr;
      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 StatePredicate state
      Mappings:
      Namespace Name Mixin selector
      official b Lcu$a;b:Lcw;
      intermediary field_21588 Lnet/minecraft/class_4713$class_4714;field_21588:Lnet/minecraft/class_4559;
      named state Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;state:Lnet/minecraft/predicate/StatePredicate;
  • Constructor Details

    • Conditions

      public Conditions(EntityPredicate.Extended player, @Nullable @Nullable Block block, StatePredicate state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcu$a;<init>(Lbo$b;Lccr;Lcw;)V
      intermediary <init> Lnet/minecraft/class_4713$class_4714;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2248;Lnet/minecraft/class_4559;)V
      named <init> Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/block/Block;Lnet/minecraft/predicate/StatePredicate;)V
  • Method Details

    • create

      public static SlideDownBlockCriterion.Conditions create(Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Lcu$a;a(Lccr;)Lcu$a;
      intermediary method_23912 Lnet/minecraft/class_4713$class_4714;method_23912(Lnet/minecraft/class_2248;)Lnet/minecraft/class_4713$class_4714;
      named create Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;create(Lnet/minecraft/block/Block;)Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;a(Lcr;)Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
    • test

      public boolean test(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcu$a;a(Lcnv;)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