Uses of Enum Class
net.minecraft.loot.LootContext.EntityTarget
-
Uses of LootContext.EntityTarget in net.minecraft.loot
Modifier and TypeMethodDescriptionstatic LootContext.EntityTarget
LootContext.EntityTarget.Serializer.read
(com.google.gson.stream.JsonReader p_read_1_) 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_write_1_, LootContext.EntityTarget p_write_2_) -
Uses of LootContext.EntityTarget in net.minecraft.loot.conditions
Modifier and TypeFieldDescriptionprivate final LootContext.EntityTarget
EntityHasProperty.entityTarget
private final LootContext.EntityTarget
EntityHasScore.entityTarget
Modifier and TypeMethodDescriptionstatic 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_) ModifierConstructorDescriptionprivate
EntityHasProperty
(EntityPredicate p_i51196_1_, LootContext.EntityTarget p_i51196_2_) private
EntityHasScore
(Map<String, RandomValueRange> p_i46618_1_, LootContext.EntityTarget p_i46618_2_) -
Uses of LootContext.EntityTarget in net.minecraft.loot.functions
Modifier and TypeFieldDescriptionprivate final LootContext.EntityTarget
FillPlayerHead.entityTarget
private final LootContext.EntityTarget
SetLore.resolutionContext
private final LootContext.EntityTarget
SetName.resolutionContext
Modifier and TypeMethodDescriptionstatic UnaryOperator<ITextComponent>
SetName.createResolver
(LootContext p_215936_0_, LootContext.EntityTarget p_215936_1_) ModifierConstructorDescriptionFillPlayerHead
(ILootCondition[] p_i51234_1_, LootContext.EntityTarget p_i51234_2_) SetLore
(ILootCondition[] p_i51220_1_, boolean p_i51220_2_, List<ITextComponent> p_i51220_3_, LootContext.EntityTarget p_i51220_4_) private
SetName
(ILootCondition[] p_i51218_1_, ITextComponent p_i51218_2_, LootContext.EntityTarget p_i51218_3_)