Class PlacedBlockCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.PlacedBlockCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- PlacedBlockCriterion
public static class PlacedBlockCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official cd$a
intermediary net/minecraft/class_2111$class_2113
named net/minecraft/advancement/criterion/PlacedBlockCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private Block
block
private ItemPredicate
item
private LocationPredicate
location
private StatePredicate
state
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, Block block, StatePredicate state, LocationPredicate location, ItemPredicate item)
-
Method Summary
Modifier and Type Method Description static PlacedBlockCriterion.Conditions
block(Block block)
boolean
matches(BlockState state, BlockPos pos, ServerWorld world, ItemStack stack)
JsonObject
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
Lcd$a;a:Lbwu;
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
Lcd$a;b:Lcm;
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
Lcd$a;c:Lbw;
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
Lcd$a;d:Lbq;
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 Block block, StatePredicate state, LocationPredicate location, ItemPredicate item)- Mappings:
Namespace Name Mixin selector official <init>
Lcd$a;<init>(Lbg$b;Lbwu;Lcm;Lbw;Lbq;)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
Lcd$a;a(Lbwu;)Lcd$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
Lcd$a;a(Lcht;Lfx;Laav;Lbnv;)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
Lag;a(Lci;)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;
-