Uses of Class
net.minecraft.loot.context.LootContext.EntityTarget
-
Uses of LootContext.EntityTarget in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as LootContext.EntityTarget Modifier and Type Field Description private LootContext.EntityTarget
EntityPropertiesLootCondition. entity
private LootContext.EntityTarget
EntityScoresLootCondition.class_6163. field_31870
private LootContext.EntityTarget
EntityScoresLootCondition. target
Methods in net.minecraft.loot.condition with parameters of type LootContext.EntityTarget Modifier and Type Method Description static 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)
static EntityScoresLootCondition.class_6163
EntityScoresLootCondition. method_35557(LootContext.EntityTarget entityTarget)
Constructors in net.minecraft.loot.condition with parameters of type LootContext.EntityTarget Constructor Description class_6163(LootContext.EntityTarget entityTarget)
EntityPropertiesLootCondition(EntityPredicate predicate, LootContext.EntityTarget entity)
EntityScoresLootCondition(Map<String,BoundedIntUnaryOperator> scores, LootContext.EntityTarget target)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.context
Methods in net.minecraft.loot.context that return LootContext.EntityTarget Modifier and Type Method Description static LootContext.EntityTarget
LootContext.EntityTarget. fromString(String type)
LootContext.EntityTarget
LootContext.EntityTarget.Serializer. read(JsonReader jsonReader)
static LootContext.EntityTarget
LootContext.EntityTarget. valueOf(String name)
Returns the enum constant of this type with the specified name.static LootContext.EntityTarget[]
LootContext.EntityTarget. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.loot.context with parameters of type LootContext.EntityTarget Modifier and Type Method Description void
LootContext.EntityTarget.Serializer. write(JsonWriter jsonWriter, LootContext.EntityTarget entityTarget)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as LootContext.EntityTarget Modifier and Type Field Description private LootContext.EntityTarget
FillPlayerHeadLootFunction. entity
private LootContext.EntityTarget
SetLoreLootFunction. entity
private LootContext.EntityTarget
SetNameLootFunction. entity
private LootContext.EntityTarget
SetLoreLootFunction.class_6159. field_31867
Methods in net.minecraft.loot.function with parameters of type LootContext.EntityTarget Modifier and Type Method Description static UnaryOperator<Text>
SetNameLootFunction. applySourceEntity(LootContext context, LootContext.EntityTarget sourceEntity)
static CopyNbtLootFunction.Builder
CopyNbtLootFunction. method_35519(LootContext.EntityTarget entityTarget)
static ConditionalLootFunction.Builder<?>
FillPlayerHeadLootFunction. method_35522(LootContext.EntityTarget entityTarget)
SetLoreLootFunction.class_6159
SetLoreLootFunction.class_6159. method_35546(LootContext.EntityTarget entityTarget)
static ConditionalLootFunction.Builder<?>
SetNameLootFunction. method_35550(Text text, LootContext.EntityTarget entityTarget)
Constructors in net.minecraft.loot.function with parameters of type LootContext.EntityTarget Constructor Description FillPlayerHeadLootFunction(LootCondition[] conditions, LootContext.EntityTarget entity)
SetLoreLootFunction(LootCondition[] conditions, boolean replace, List<Text> lore, LootContext.EntityTarget entity)
SetNameLootFunction(LootCondition[] conditions, @Nullable Text name, LootContext.EntityTarget entity)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.nbt
Methods in net.minecraft.loot.provider.nbt with parameters of type LootContext.EntityTarget Modifier and Type Method Description private static ContextLootNbtProvider.Target
ContextLootNbtProvider. getTarget(LootContext.EntityTarget entityTarget)
static LootNbtProvider
ContextLootNbtProvider. method_35568(LootContext.EntityTarget entityTarget)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.number
Methods in net.minecraft.loot.provider.number with parameters of type LootContext.EntityTarget Modifier and Type Method Description static ScoreLootNumberProvider
ScoreLootNumberProvider. method_35569(LootContext.EntityTarget entityTarget, String string)
static ScoreLootNumberProvider
ScoreLootNumberProvider. method_35570(LootContext.EntityTarget entityTarget, String string, float float2)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.score
Fields in net.minecraft.loot.provider.score declared as LootContext.EntityTarget Modifier and Type Field Description private LootContext.EntityTarget
ContextLootScoreProvider. target
Methods in net.minecraft.loot.provider.score with parameters of type LootContext.EntityTarget Modifier and Type Method Description static LootScoreProvider
ContextLootScoreProvider. method_35571(LootContext.EntityTarget entityTarget)
Constructors in net.minecraft.loot.provider.score with parameters of type LootContext.EntityTarget Constructor Description ContextLootScoreProvider(LootContext.EntityTarget target)