Class ItemUsedOnBlockCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<ItemUsedOnBlockCriterion.Conditions>
net.minecraft.advancement.criterion.ItemUsedOnBlockCriterion
- All Implemented Interfaces:
Criterion<ItemUsedOnBlockCriterion.Conditions>
public class ItemUsedOnBlockCriterion extends AbstractCriterion<ItemUsedOnBlockCriterion.Conditions>
- Mappings:
Namespace Name official br
intermediary net/minecraft/class_4711
named net/minecraft/advancement/criterion/ItemUsedOnBlockCriterion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ItemUsedOnBlockCriterion.Conditions
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
ID
-
Constructor Summary
Constructors Constructor Description ItemUsedOnBlockCriterion()
-
Method Summary
Modifier and Type Method Description ItemUsedOnBlockCriterion.Conditions
conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
Identifier
getId()
void
test(ServerPlayerEntity player, BlockPos pos, ItemStack stack)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, test
-
Field Details
-
ID
- Mappings:
Namespace Name Mixin selector official a
Lbr;a:Lwb;
intermediary field_21576
Lnet/minecraft/class_4711;field_21576:Lnet/minecraft/class_2960;
named ID
Lnet/minecraft/advancement/criterion/ItemUsedOnBlockCriterion;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ItemUsedOnBlockCriterion
public ItemUsedOnBlockCriterion()
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Laf;a()Lwb;
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 ItemUsedOnBlockCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)- Specified by:
conditionsFromJson
in classAbstractCriterion<ItemUsedOnBlockCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Lcom/google/gson/JsonObject;Lbg$b;Lax;)Lbr$a;
intermediary method_23890
Lnet/minecraft/class_4711;method_23890(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_4711$class_4712;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/ItemUsedOnBlockCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/ItemUsedOnBlockCriterion$Conditions;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbr;a(Laaw;Lfx;Lbnv;)V
intermediary method_23889
Lnet/minecraft/class_4711;method_23889(Lnet/minecraft/class_3222;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;)V
named test
Lnet/minecraft/advancement/criterion/ItemUsedOnBlockCriterion;test(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
-