Uses of Class
net.minecraft.loot.LootContext.EntityTarget
-
Packages that use LootContext.EntityTarget Package Description net.minecraft.loot net.minecraft.loot.conditions net.minecraft.loot.functions -
-
Uses of LootContext.EntityTarget in net.minecraft.loot
Methods in net.minecraft.loot that return LootContext.EntityTarget Modifier and Type Method Description static LootContext.EntityTarget
LootContext.EntityTarget. getByName(java.lang.String p_186482_0_)
LootContext.EntityTarget
LootContext.EntityTarget.Serializer. read(com.google.gson.stream.JsonReader p_read_1_)
static LootContext.EntityTarget
LootContext.EntityTarget. valueOf(java.lang.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 with parameters of type LootContext.EntityTarget Modifier and Type Method Description void
LootContext.EntityTarget.Serializer. write(com.google.gson.stream.JsonWriter p_write_1_, LootContext.EntityTarget p_write_2_)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.conditions
Fields in net.minecraft.loot.conditions declared as LootContext.EntityTarget Modifier and Type Field Description private LootContext.EntityTarget
EntityHasProperty. entityTarget
private LootContext.EntityTarget
EntityHasScore. entityTarget
Methods in net.minecraft.loot.conditions with parameters of type LootContext.EntityTarget Modifier and Type Method Description static ILootCondition.IBuilder
EntityHasProperty. entityPresent(LootContext.EntityTarget p_215998_0_)
static ILootCondition.IBuilder
EntityHasProperty. hasProperties(LootContext.EntityTarget p_237477_0_, EntityPredicate p_237477_1_)
static ILootCondition.IBuilder
EntityHasProperty. hasProperties(LootContext.EntityTarget p_215999_0_, EntityPredicate.Builder p_215999_1_)
Constructors in net.minecraft.loot.conditions with parameters of type LootContext.EntityTarget Constructor Description EntityHasProperty(EntityPredicate p_i51196_1_, LootContext.EntityTarget p_i51196_2_)
EntityHasScore(java.util.Map<java.lang.String,RandomValueRange> p_i46618_1_, LootContext.EntityTarget p_i46618_2_)
-
Uses of LootContext.EntityTarget in net.minecraft.loot.functions
Fields in net.minecraft.loot.functions declared as LootContext.EntityTarget Modifier and Type Field Description private LootContext.EntityTarget
FillPlayerHead. entityTarget
private LootContext.EntityTarget
SetLore. resolutionContext
private LootContext.EntityTarget
SetName. resolutionContext
Methods in net.minecraft.loot.functions with parameters of type LootContext.EntityTarget Modifier and Type Method Description static java.util.function.UnaryOperator<ITextComponent>
SetName. createResolver(LootContext p_215936_0_, LootContext.EntityTarget p_215936_1_)
Constructors in net.minecraft.loot.functions with parameters of type LootContext.EntityTarget Constructor Description FillPlayerHead(ILootCondition[] p_i51234_1_, LootContext.EntityTarget p_i51234_2_)
SetLore(ILootCondition[] p_i51220_1_, boolean p_i51220_2_, java.util.List<ITextComponent> p_i51220_3_, LootContext.EntityTarget p_i51220_4_)
SetName(ILootCondition[] p_i51218_1_, ITextComponent p_i51218_2_, LootContext.EntityTarget p_i51218_3_)
-