net.minecraft.world.level.storage.loot.providers.number

public record ScoreboardValue

implements NumberProvider

eur
net.minecraft.world.level.storage.loot.providers.number.ScoreboardValue
net.minecraft.class_5660
net.minecraft.loot.provider.number.ScoreLootNumberProvider
net.minecraft.src.C_141503_
net.minecraft.world.level.storage.loot.providers.number.ScoreboardValue

Field summary

Modifier and TypeField
private final ScoreboardNameProvider
b
target
comp_1897
target
f_165741_
private final String
c
score
comp_1898
score
f_165742_
private final float
d
scale
comp_1899
scale
f_165743_
public static final com.mojang.serialization.MapCodec<ScoreboardValue>
a
CODEC
field_45890
CODEC
f_290639_

Constructor summary

ModifierConstructor
public (ScoreboardNameProvider target, String score, float scale)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
b()
getType()
method_365()
getType()
m_142587_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public static ScoreboardValue
a(eqk$b arg0, String arg1)
fromScoreboard(LootContext$EntityTarget arg0, String arg1)
method_35569(class_47$class_50 arg0, String arg1)
create(LootContext$EntityTarget target, String score)
m_165749_(C_2811_$C_2815_ p_165750_, String p_165751_)
public static ScoreboardValue
a(eqk$b arg0, String arg1, float arg2)
fromScoreboard(LootContext$EntityTarget arg0, String arg1, float arg2)
method_35570(class_47$class_50 arg0, String arg1, float arg2)
create(LootContext$EntityTarget target, String score, float scale)
m_165752_(C_2811_$C_2815_ p_165753_, String p_165754_, float p_165755_)
public float
b(eqk arg0)
getFloat(LootContext arg0)
method_32454(class_47 arg0)
nextFloat(LootContext arg0)
m_142688_(C_2811_ arg0)
public ScoreboardNameProvider
c()
target()
comp_1897()
target()
f_165741_()
public String
d()
score()
comp_1898()
score()
f_165742_()
public float
e()
scale()
comp_1899()
scale()
f_165743_()