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 cl$a
intermediary net/minecraft/class_4713$class_4714
named net/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions
  • Field Details

    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      official a Lcl$a;a:Lbwu;
      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 Lcl$a;b:Lcm;
      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 Block block, StatePredicate state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcl$a;<init>(Lbg$b;Lbwu;Lcm;)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 Lcl$a;a(Lbwu;)Lcl$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 Lag;a(Lci;)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 Lcl$a;a(Lcht;)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