Uses of Enum Class
net.minecraft.loot.context.LootContext.EntityTarget
Package
Description
-
Uses of LootContext.EntityTarget in net.minecraft.loot.condition
Modifier and TypeFieldDescription(package private) LootContext.EntityTarget
EntityPropertiesLootCondition.entity
private LootContext.EntityTarget
EntityScoresLootCondition.Builder.target
(package private) LootContext.EntityTarget
EntityScoresLootCondition.target
Modifier and TypeMethodDescriptionstatic LootCondition.Builder
EntityPropertiesLootCondition.builder(LootContext.EntityTarget entity, EntityPredicate predicate)
static LootCondition.Builder
EntityPropertiesLootCondition.builder(LootContext.EntityTarget entity, EntityPredicate.Builder predicateBuilder)
static LootCondition.Builder
EntityPropertiesLootCondition.create(LootContext.EntityTarget entity)
EntityScoresLootCondition.create(LootContext.EntityTarget target)
ModifierConstructorDescriptionBuilder(LootContext.EntityTarget target)
(package private)
EntityPropertiesLootCondition(EntityPredicate entityPredicate, LootContext.EntityTarget entityTarget)
(package private)
EntityScoresLootCondition(Map<String,BoundedIntUnaryOperator> map, LootContext.EntityTarget entityTarget)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.context
Modifier and TypeMethodDescriptionstatic LootContext.EntityTarget
LootContext.EntityTarget.fromString(String type)
LootContext.EntityTarget.Serializer.read(JsonReader jsonReader)
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(JsonWriter jsonWriter, LootContext.EntityTarget entityTarget)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.function
Modifier and TypeFieldDescription(package private) LootContext.EntityTarget
FillPlayerHeadLootFunction.entity
(package private) LootContext.EntityTarget
SetLoreLootFunction.entity
(package private) LootContext.EntityTarget
SetNameLootFunction.entity
private LootContext.EntityTarget
SetLoreLootFunction.Builder.target
Modifier and TypeMethodDescriptionstatic UnaryOperator<Text>
SetNameLootFunction.applySourceEntity(LootContext context, LootContext.EntityTarget sourceEntity)
static CopyNbtLootFunction.Builder
CopyNbtLootFunction.builder(LootContext.EntityTarget target)
static ConditionalLootFunction.Builder<?>
FillPlayerHeadLootFunction.builder(LootContext.EntityTarget target)
static ConditionalLootFunction.Builder<?>
SetNameLootFunction.builder(Text name, LootContext.EntityTarget target)
SetLoreLootFunction.Builder.target(LootContext.EntityTarget target)
ModifierConstructorDescriptionFillPlayerHeadLootFunction(LootCondition[] conditions, LootContext.EntityTarget entity)
SetLoreLootFunction(LootCondition[] conditions, boolean replace, List<Text> lore, LootContext.EntityTarget entity)
(package private)
SetNameLootFunction(LootCondition[] lootCondition, @Nullable Text text, LootContext.EntityTarget entityTarget)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.nbt
Modifier and TypeMethodDescriptionstatic LootNbtProvider
ContextLootNbtProvider.fromTarget(LootContext.EntityTarget target)
private static ContextLootNbtProvider.Target
ContextLootNbtProvider.getTarget(LootContext.EntityTarget entityTarget)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.number
Modifier and TypeMethodDescriptionstatic ScoreLootNumberProvider
ScoreLootNumberProvider.create(LootContext.EntityTarget target, String score)
static ScoreLootNumberProvider
ScoreLootNumberProvider.create(LootContext.EntityTarget target, String score, float scale)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.score
Modifier and TypeFieldDescription(package private) LootContext.EntityTarget
ContextLootScoreProvider.target
Modifier and TypeMethodDescriptionstatic LootScoreProvider
ContextLootScoreProvider.create(LootContext.EntityTarget target)
ModifierConstructorDescription(package private)
ContextLootScoreProvider(LootContext.EntityTarget entityTarget)