Class SlideDownBlockCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<SlideDownBlockCriterion.Conditions>
net.minecraft.advancement.criterion.SlideDownBlockCriterion
- All Implemented Interfaces:
Criterion<SlideDownBlockCriterion.Conditions>
- Mappings:
Namespace Name official cx
intermediary net/minecraft/class_4713
named net/minecraft/advancement/criterion/SlideDownBlockCriterion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) private static @Nullable Block
getBlock
(com.google.gson.JsonObject root) void
trigger
(ServerPlayerEntity player, BlockState state) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
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 classAbstractCriterion<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
- 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
- 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
-