net.minecraft.advancement.criterion

public record PlayerGeneratesContainerLootCriterion$Conditions

implements AbstractCriterion$Conditions

net.minecraft.advancements.triggers.LootTableTrigger$TriggerInstance
net.minecraft.advancements.triggers.LootTableTrigger$TriggerInstance
net.minecraft.class_5282$class_5283
net.minecraft.advancement.criterion.PlayerGeneratesContainerLootCriterion$Conditions

Field summary

Modifier and TypeField
private final Optional<RegistryEntry<LootCondition>>
player
player
comp_2029
player
private final RegistryEntryList<LootTable>
lootTable
lootTable
comp_2074
lootTable
public static final com.mojang.serialization.Codec<PlayerGeneratesContainerLootCriterion$Conditions>
CODEC
CODEC
field_47307
CODEC

Constructor summary

ModifierConstructor
public (Optional<RegistryEntry<LootCondition>> playerPredicate, RegistryEntryList<LootTable> lootTable)

Method summary

Modifier and TypeMethod
public static AdvancementCriterion<PlayerGeneratesContainerLootCriterion$Conditions>
lootTableUsed(Holder<LootTable> lootTable)
lootTableUsed(Holder<LootTable> lootTable)
method_1_8839(class_6880<class_52> arg0)
method_1_8839(RegistryEntry<LootTable> arg0)
public static AdvancementCriterion<PlayerGeneratesContainerLootCriterion$Conditions>
lootTableUsed(HolderSet<LootTable> lootTable)
lootTableUsed(HolderSet<LootTable> lootTable)
method_27995(class_6885<class_52> arg0)
create(RegistryEntryList<LootTable> arg0)
public boolean
matches(ResourceKey<LootTable> lootTable)
matches(ResourceKey<LootTable> lootTable)
method_27996(class_5321<class_52> arg0)
test(RegistryKey<LootTable> lootTable)
public Optional<RegistryEntry<LootCondition>>
player()
player()
comp_2029()
player()
public RegistryEntryList<LootTable>
lootTable()
lootTable()
comp_2074()
lootTable()