Class PlacedBlockCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.PlacedBlockCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- PlacedBlockCriterion
- Mappings:
Namespace Name official cl$a
intermediary net/minecraft/class_2111$class_2113
named net/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Block
private final ItemPredicate
private final LocationPredicate
private final StatePredicate
-
Constructor Summary
ConstructorDescriptionConditions
(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state, LocationPredicate location, ItemPredicate item) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(BlockState state, BlockPos pos, ServerWorld world, ItemStack stack) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Lcl$a;a:Lbzo;
intermediary field_9728
Lnet/minecraft/class_2111$class_2113;field_9728:Lnet/minecraft/class_2248;
named block
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;block:Lnet/minecraft/block/Block;
-
state
- Mappings:
Namespace Name Mixin selector official b
Lcl$a;b:Lcv;
intermediary field_9730
Lnet/minecraft/class_2111$class_2113;field_9730:Lnet/minecraft/class_4559;
named state
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;state:Lnet/minecraft/predicate/StatePredicate;
-
location
- Mappings:
Namespace Name Mixin selector official c
Lcl$a;c:Lce;
intermediary field_9729
Lnet/minecraft/class_2111$class_2113;field_9729:Lnet/minecraft/class_2090;
named location
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;location:Lnet/minecraft/predicate/entity/LocationPredicate;
-
item
- Mappings:
Namespace Name Mixin selector official d
Lcl$a;d:Lbw;
intermediary field_9731
Lnet/minecraft/class_2111$class_2113;field_9731:Lnet/minecraft/class_2073;
named item
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;item:Lnet/minecraft/predicate/item/ItemPredicate;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, @Nullable @Nullable Block block, StatePredicate state, LocationPredicate location, ItemPredicate item) - Mappings:
Namespace Name Mixin selector official <init>
Lcl$a;<init>(Lbm$b;Lbzo;Lcv;Lce;Lbw;)V
intermediary <init>
Lnet/minecraft/class_2111$class_2113;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2248;Lnet/minecraft/class_4559;Lnet/minecraft/class_2090;Lnet/minecraft/class_2073;)V
named <init>
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/block/Block;Lnet/minecraft/predicate/StatePredicate;Lnet/minecraft/predicate/entity/LocationPredicate;Lnet/minecraft/predicate/item/ItemPredicate;)V
-
-
Method Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Lcl$a;a(Lbzo;)Lcl$a;
intermediary method_9095
Lnet/minecraft/class_2111$class_2113;method_9095(Lnet/minecraft/class_2248;)Lnet/minecraft/class_2111$class_2113;
named block
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;block(Lnet/minecraft/block/Block;)Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lcl$a;a(Lcks;Lgg;Labr;Lbqp;)Z
intermediary method_9094
Lnet/minecraft/class_2111$class_2113;method_9094(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;)Z
named matches
Lnet/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions;matches(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lam;a(Lcq;)Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
-