Class PlacedBlockCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<PlacedBlockCriterion.Conditions>
net.minecraft.advancement.criterion.PlacedBlockCriterion
- All Implemented Interfaces:
Criterion<PlacedBlockCriterion.Conditions>
public class PlacedBlockCriterion extends AbstractCriterion<PlacedBlockCriterion.Conditions>
- Mappings:
Namespace Name official cd
intermediary net/minecraft/class_2111
named net/minecraft/advancement/criterion/PlacedBlockCriterion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlacedBlockCriterion.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 PlacedBlockCriterion()
-
Method Summary
Modifier and Type Method Description PlacedBlockCriterion.Conditions
conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
private static Block
getBlock(JsonObject obj)
Identifier
getId()
void
trigger(ServerPlayerEntity player, BlockPos blockPos, 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
Lcd;a:Lwb;
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
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 PlacedBlockCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)- Specified by:
conditionsFromJson
in classAbstractCriterion<PlacedBlockCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lcd;a(Lcom/google/gson/JsonObject;Lbg$b;Lax;)Lcd$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
Lcd;a(Lcom/google/gson/JsonObject;)Lbwu;
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
Lcd;a(Laaw;Lfx;Lbnv;)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
-