Uses of Interface
net.minecraft.loot.provider.score.LootScoreProvider
-
Uses of LootScoreProvider in net.minecraft.loot.provider.number
Modifier and TypeFieldDescriptionprivate final LootScoreProvider
ScoreLootNumberProvider.target
The field for thetarget
record component.Modifier and TypeMethodDescriptionScoreLootNumberProvider.target()
Returns the value of thetarget
record component.ModifierConstructorDescriptionScoreLootNumberProvider
(LootScoreProvider target, String score, float scale) Creates an instance of aScoreLootNumberProvider
record class. -
Uses of LootScoreProvider in net.minecraft.loot.provider.score
Modifier and TypeClassDescriptionfinal record
final record
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<LootScoreProvider>
LootScoreProviderTypes.BASE_CODEC
private final com.mojang.serialization.Codec<? extends LootScoreProvider>
LootScoreProviderType.codec
The field for thecodec
record component.static final com.mojang.serialization.Codec<LootScoreProvider>
LootScoreProviderTypes.CODEC
Modifier and TypeMethodDescriptionstatic LootScoreProvider
ContextLootScoreProvider.create
(LootContext.EntityTarget target) static LootScoreProvider
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends LootScoreProvider>
LootScoreProviderType.codec()
Returns the value of thecodec
record component.Modifier and TypeMethodDescriptionprivate static LootScoreProviderType
LootScoreProviderTypes.register
(String id, com.mojang.serialization.Codec<? extends LootScoreProvider> codec) ModifierConstructorDescriptionLootScoreProviderType
(com.mojang.serialization.Codec<? extends LootScoreProvider> codec) Creates an instance of aLootScoreProviderType
record class.