Class SlideDownBlockCriterion

All Implemented Interfaces:
Criterion<SlideDownBlockCriterion.Conditions>

public class SlideDownBlockCriterion extends AbstractCriterion<SlideDownBlockCriterion.Conditions>
Mappings:
Namespace Name
official cw
intermediary net/minecraft/class_4713
named net/minecraft/advancement/criterion/SlideDownBlockCriterion
  • Field Details

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lcw;a:Laaj;
      intermediary field_21586 Lnet/minecraft/class_4713;field_21586:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • SlideDownBlockCriterion

      public SlideDownBlockCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Laaj;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

      public SlideDownBlockCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<SlideDownBlockCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lcw;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lcw$a;
      intermediary method_23911 Lnet/minecraft/class_4713;method_23911(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_4713$class_4714;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;
    • getBlock

      @Nullable private static @Nullable Block getBlock(JsonObject root)
      Mappings:
      Namespace Name Mixin selector
      official a Lcw;a(Lcom/google/gson/JsonObject;)Lciw;
      intermediary method_23907 Lnet/minecraft/class_4713;method_23907(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2248;
      named getBlock Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion;getBlock(Lcom/google/gson/JsonObject;)Lnet/minecraft/block/Block;
    • trigger

      public void trigger(ServerPlayerEntity player, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcw;a(Lafp;Lcur;)V
      intermediary method_23909 Lnet/minecraft/class_4713;method_23909(Lnet/minecraft/class_3222;Lnet/minecraft/class_2680;)V
      named trigger Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/block/BlockState;)V