Uses of Enum Class
net.minecraft.world.level.storage.loot.LootContext.EntityTarget
Package
Description
-
Uses of LootContext.EntityTarget in net.minecraft.world.level.storage.loot
Modifier and TypeMethodDescriptionstatic LootContext.EntityTarget
LootContext.EntityTarget.Serializer.read(com.google.gson.stream.JsonReader p_79013_)
static LootContext.EntityTarget
Returns the enum constant of this class with the specified name.static LootContext.EntityTarget[]
LootContext.EntityTarget.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
LootContext.EntityTarget.Serializer.write(com.google.gson.stream.JsonWriter p_79015_, LootContext.EntityTarget p_79016_)
-
Uses of LootContext.EntityTarget in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescription(package private) LootContext.EntityTarget
FillPlayerHead.entityTarget
private LootContext.EntityTarget
SetLoreFunction.Builder.resolutionContext
(package private) LootContext.EntityTarget
SetLoreFunction.resolutionContext
(package private) LootContext.EntityTarget
SetNameFunction.resolutionContext
Modifier and TypeMethodDescriptionstatic CopyNbtFunction.Builder
CopyNbtFunction.copyData(LootContext.EntityTarget p_165179_)
static UnaryOperator<Component>
SetNameFunction.createResolver(LootContext p_81140_, LootContext.EntityTarget p_81141_)
static LootItemConditionalFunction.Builder<?>
FillPlayerHead.fillPlayerHead(LootContext.EntityTarget p_165208_)
static LootItemConditionalFunction.Builder<?>
SetNameFunction.setName(Component p_165460_, LootContext.EntityTarget p_165461_)
SetLoreFunction.Builder.setResolutionContext(LootContext.EntityTarget p_165450_)
ModifierConstructorDescriptionFillPlayerHead(LootItemCondition[] p_80604_, LootContext.EntityTarget p_80605_)
SetLoreFunction(LootItemCondition[] p_81083_, boolean p_81084_, List<Component> p_81085_, LootContext.EntityTarget p_81086_)
(package private)
SetNameFunction(LootItemCondition[] p_81127_, Component p_81128_, LootContext.EntityTarget p_81129_)
-
Uses of LootContext.EntityTarget in net.minecraft.world.level.storage.loot.predicates
Modifier and TypeFieldDescriptionprivate LootContext.EntityTarget
EntityHasScoreCondition.Builder.entityTarget
(package private) LootContext.EntityTarget
EntityHasScoreCondition.entityTarget
(package private) LootContext.EntityTarget
LootItemEntityPropertyCondition.entityTarget
Modifier and TypeMethodDescriptionstatic LootItemCondition.Builder
LootItemEntityPropertyCondition.entityPresent(LootContext.EntityTarget p_81863_)
static LootItemCondition.Builder
LootItemEntityPropertyCondition.hasProperties(LootContext.EntityTarget p_81868_, EntityPredicate p_81869_)
static LootItemCondition.Builder
LootItemEntityPropertyCondition.hasProperties(LootContext.EntityTarget p_81865_, EntityPredicate.Builder p_81866_)
EntityHasScoreCondition.hasScores(LootContext.EntityTarget p_165489_)
ModifierConstructorDescriptionBuilder(LootContext.EntityTarget p_165499_)
(package private)
EntityHasScoreCondition(Map<String,IntRange> p_81618_, LootContext.EntityTarget p_81619_)
(package private)
LootItemEntityPropertyCondition(EntityPredicate p_81849_, LootContext.EntityTarget p_81850_)
-
Uses of LootContext.EntityTarget in net.minecraft.world.level.storage.loot.providers.nbt
Modifier and TypeMethodDescriptionstatic NbtProvider
ContextNbtProvider.forContextEntity(LootContext.EntityTarget p_165571_)
private static ContextNbtProvider.Getter
ContextNbtProvider.forEntity(LootContext.EntityTarget p_165578_)
-
Uses of LootContext.EntityTarget in net.minecraft.world.level.storage.loot.providers.number
Modifier and TypeMethodDescriptionstatic ScoreboardValue
ScoreboardValue.fromScoreboard(LootContext.EntityTarget p_165750_, String p_165751_)
static ScoreboardValue
ScoreboardValue.fromScoreboard(LootContext.EntityTarget p_165753_, String p_165754_, float p_165755_)
-
Uses of LootContext.EntityTarget in net.minecraft.world.level.storage.loot.providers.score
Modifier and TypeFieldDescription(package private) LootContext.EntityTarget
ContextScoreboardNameProvider.target
Modifier and TypeMethodDescriptionstatic ScoreboardNameProvider
ContextScoreboardNameProvider.forTarget(LootContext.EntityTarget p_165808_)
ModifierConstructorDescription(package private)