Class SlideDownBlockCriterion

All Implemented Interfaces:
Criterion<SlideDownBlockCriterion.Conditions>

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

    • SlideDownBlockCriterion

      public SlideDownBlockCriterion()
  • Method Details

    • conditionsFromJson

      public SlideDownBlockCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<SlideDownBlockCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lcx;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lcx$a;
      intermediary method_23911 Lnet/minecraft/class_4713;method_23911(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_4713$class_4714;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/SlideDownBlockCriterion$Conditions;
    • getBlock

      @Nullable private static @Nullable Block getBlock(com.google.gson.JsonObject root)
      Mappings:
      Namespace Name Mixin selector
      official a Lcx;a(Lcom/google/gson/JsonObject;)Lcsv;
      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 Lcx;a(Lakr;Ldfj;)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