net.minecraft.world.level.storage.loot.predicates

public record MatchTool

implements LootItemCondition

faf
net.minecraft.world.level.storage.loot.predicates.MatchTool
net.minecraft.class_223
net.minecraft.unmapped.C_rzufcffg
net.minecraft.loot.condition.MatchToolLootCondition
net.minecraft.loot.condition.MatchToolLootCondition
net.minecraft.src.C_3019_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionMatchTool

Field summary

Modifier and TypeField
private final Optional<ItemPredicate>
b
predicate
comp_1884
f_skczxkoz
predicate
predicate
f_81993_
public static final com.mojang.serialization.MapCodec<MatchTool>
a
CODEC
field_45875
f_ruulltqu
CODEC
CODEC
f_290941_

Constructor summary

ModifierConstructor
public (Optional<ItemPredicate> predicate)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
m_7940_()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
m_6231_()
public boolean
a(ewp arg0)
test(LootContext arg0)
method_946(class_47 arg0)
m_ugmfsoor(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext context)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(cu$a arg0)
toolMatches(ItemPredicate$Builder arg0)
method_945(class_2073$class_2074 arg0)
m_wkjlzidw(C_afravpde$C_qwujnjpk arg0)
builder(ItemPredicate$Builder predicate)
builder(ItemPredicate$Builder predicate)
m_81997_(C_1529_$C_1530_ p_81998_)
public Optional<ItemPredicate>
c()
predicate()
comp_1884()
m_nubpivns()
predicate()
predicate()
f_81993_()