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 cw$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 Lcw$a;a:Lcpn;
      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 Lcw$a;b:Lcz;
      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(LootContextPredicate player, @Nullable @Nullable Block block, StatePredicate state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcw$a;<init>(Lba;Lcpn;Lcz;)V
      intermediary <init> Lnet/minecraft/class_4713$class_4714;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_2248;Lnet/minecraft/class_4559;)V
      named <init> Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;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 Lcw$a;a(Lcpn;)Lcw$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 Lam;a(Lct;)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 Lcw$a;a(Ldcb;)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