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

public record DamageSourceCondition

implements LootItemCondition

eyu
net.minecraft.world.level.storage.loot.predicates.DamageSourceCondition
net.minecraft.class_190
net.minecraft.unmapped.C_qajfsodc
net.minecraft.loot.condition.DamageSourcePropertiesLootCondition
net.minecraft.loot.condition.DamageSourcePropertiesLootCondition
net.minecraft.src.C_2986_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionDamageSourceProperties

Field summary

Modifier and TypeField
private final Optional<DamageSourcePredicate>
b
predicate
comp_1870
f_jtkuuwnb
predicate
predicate
f_81582_
public static final com.mojang.serialization.MapCodec<DamageSourceCondition>
a
CODEC
field_45862
f_bsmwpxbd
CODEC
CODEC
f_290674_

Constructor summary

ModifierConstructor
public (Optional<DamageSourcePredicate> 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(evs arg0)
test(LootContext arg0)
method_834(class_47 arg0)
m_wbommtvk(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext context)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(bm$a arg0)
hasDamageSource(DamageSourcePredicate$Builder arg0)
method_837(class_2022$class_2023 arg0)
m_zdywrwwq(C_pbkrjvwn$C_kyhcyyna arg0)
builder(DamageSourcePredicate$Builder builder)
builder(DamageSourcePredicate$Builder builder)
m_81589_(C_696_$C_697_ p_81590_)
public Optional<DamageSourcePredicate>
c()
predicate()
comp_1870()
m_veffjwwi()
predicate()
predicate()
f_81582_()