Class PlacedBlockCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<PlacedBlockCriterion.Conditions>
net.minecraft.advancement.criterion.PlacedBlockCriterion
- All Implemented Interfaces:
Criterion<PlacedBlockCriterion.Conditions>
- Mappings:
Namespace Name official cn
intermediary net/minecraft/class_2111
named net/minecraft/advancement/criterion/PlacedBlockCriterion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) getBlock
(JsonObject obj) getId()
void
trigger
(ServerPlayerEntity player, BlockPos blockPos, ItemStack stack) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Field Details
-
ID
- Mappings:
Namespace Name Mixin selector official a
Lcn;a:Labb;
intermediary field_9724
Lnet/minecraft/class_2111;field_9724:Lnet/minecraft/class_2960;
named ID
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
PlacedBlockCriterion
public PlacedBlockCriterion()
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lam;a()Labb;
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 PlacedBlockCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<PlacedBlockCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lcn;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lcn$a;
intermediary method_9088
Lnet/minecraft/class_2111;method_9088(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2111$class_2113;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;
-
getBlock
- Mappings:
Namespace Name Mixin selector official a
Lcn;a(Lcom/google/gson/JsonObject;)Lcjt;
intermediary method_22492
Lnet/minecraft/class_2111;method_22492(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2248;
named getBlock
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion;getBlock(Lcom/google/gson/JsonObject;)Lnet/minecraft/block/Block;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lcn;a(Lagh;Lgt;Lcax;)V
intermediary method_9087
Lnet/minecraft/class_2111;method_9087(Lnet/minecraft/class_3222;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)V
named trigger
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
-