net.minecraft.advancements.critereon

public record FilledBucketTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

cb$a
net.minecraft.advancements.critereon.FilledBucketTrigger$TriggerInstance
net.minecraft.class_2054$class_2056
net.minecraft.advancement.criterion.FilledBucketCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerFilledBucket$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final Optional<ItemPredicate>
c
item
comp_2053
item
public static final com.mojang.serialization.Codec<FilledBucketTrigger$TriggerInstance>
a
CODEC
field_47251
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ItemPredicate> item)

Method summary

Modifier and TypeMethod
public static Criterion<FilledBucketTrigger$TriggerInstance>
a(cu$a arg0)
filledBucket(ItemPredicate$Builder arg0)
method_8937(class_2073$class_2074 arg0)
create(ItemPredicate$Builder item)
public boolean
a(cxp arg0)
matches(ItemStack arg0)
method_8938(class_1799 arg0)
matches(ItemStack stack)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ItemPredicate>
b()
item()
comp_2053()
item()