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.EntityTargetEntityPropertiesLootCondition. entityprivate LootContext.EntityTargetEntityScoresLootCondition.Builder. targetprivate LootContext.EntityTargetEntityScoresLootCondition. targetMethods in net.minecraft.loot.condition with parameters of type LootContext.EntityTarget Modifier and Type Method Description static LootCondition.BuilderEntityPropertiesLootCondition. builder(LootContext.EntityTarget entity, EntityPredicate predicate)static LootCondition.BuilderEntityPropertiesLootCondition. builder(LootContext.EntityTarget entity, EntityPredicate.Builder predicateBuilder)static LootCondition.BuilderEntityPropertiesLootCondition. create(LootContext.EntityTarget entity)static EntityScoresLootCondition.BuilderEntityScoresLootCondition. create(LootContext.EntityTarget target)Constructors in net.minecraft.loot.condition with parameters of type LootContext.EntityTarget Constructor Description Builder(LootContext.EntityTarget target)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.EntityTargetLootContext.EntityTarget. fromString(String type)LootContext.EntityTargetLootContext.EntityTarget.Serializer. read(JsonReader jsonReader)static LootContext.EntityTargetLootContext.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 voidLootContext.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.EntityTargetFillPlayerHeadLootFunction. entityprivate LootContext.EntityTargetSetLoreLootFunction. entityprivate LootContext.EntityTargetSetNameLootFunction. entityprivate LootContext.EntityTargetSetLoreLootFunction.Builder. targetMethods 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.BuilderCopyNbtLootFunction. builder(LootContext.EntityTarget target)static ConditionalLootFunction.Builder<?>FillPlayerHeadLootFunction. builder(LootContext.EntityTarget target)static ConditionalLootFunction.Builder<?>SetNameLootFunction. builder(Text name, LootContext.EntityTarget target)SetLoreLootFunction.BuilderSetLoreLootFunction.Builder. target(LootContext.EntityTarget target)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 static LootNbtProviderContextLootNbtProvider. fromTarget(LootContext.EntityTarget target)private static ContextLootNbtProvider.TargetContextLootNbtProvider. getTarget(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 ScoreLootNumberProviderScoreLootNumberProvider. create(LootContext.EntityTarget target, String score)static ScoreLootNumberProviderScoreLootNumberProvider. create(LootContext.EntityTarget target, String score, float scale) -
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.EntityTargetContextLootScoreProvider. targetMethods in net.minecraft.loot.provider.score with parameters of type LootContext.EntityTarget Modifier and Type Method Description static LootScoreProviderContextLootScoreProvider. create(LootContext.EntityTarget target)Constructors in net.minecraft.loot.provider.score with parameters of type LootContext.EntityTarget Constructor Description ContextLootScoreProvider(LootContext.EntityTarget target)