Class ContextScoreboardNameProvider
java.lang.Object
net.minecraft.world.level.storage.loot.providers.score.ContextScoreboardNameProvider
- All Implemented Interfaces:
ScoreboardNameProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreboardNameProvider
forTarget
(LootContext.EntityTarget p_165808_) Set<LootContextParam<?>>
getScoreboardName
(LootContext p_165810_) getType()
-
Field Details
-
target
-
-
Constructor Details
-
ContextScoreboardNameProvider
ContextScoreboardNameProvider(LootContext.EntityTarget p_165805_)
-
-
Method Details
-
forTarget
-
getType
- Specified by:
getType
in interfaceScoreboardNameProvider
-
getScoreboardName
- Specified by:
getScoreboardName
in interfaceScoreboardNameProvider
-
getReferencedContextParams
- Specified by:
getReferencedContextParams
in interfaceScoreboardNameProvider
-