Uses of Class
net.minecraft.loot.LootParameter
-
Packages that use LootParameter Package Description net.minecraft.loot net.minecraft.loot.conditions net.minecraft.loot.functions -
-
Uses of LootParameter in net.minecraft.loot
Fields in net.minecraft.loot declared as LootParameter Modifier and Type Field Description static LootParameter<TileEntity>
LootParameters. BLOCK_ENTITY
static LootParameter<BlockState>
LootParameters. BLOCK_STATE
static LootParameter<DamageSource>
LootParameters. DAMAGE_SOURCE
static LootParameter<Entity>
LootParameters. DIRECT_KILLER_ENTITY
static LootParameter<java.lang.Float>
LootParameters. EXPLOSION_RADIUS
static LootParameter<Entity>
LootParameters. KILLER_ENTITY
static LootParameter<PlayerEntity>
LootParameters. LAST_DAMAGE_PLAYER
static LootParameter<Vector3d>
LootParameters. ORIGIN
private LootParameter<? extends Entity>
LootContext.EntityTarget. param
static LootParameter<Entity>
LootParameters. THIS_ENTITY
static LootParameter<ItemStack>
LootParameters. TOOL
Fields in net.minecraft.loot with type parameters of type LootParameter Modifier and Type Field Description private java.util.Set<LootParameter<?>>
LootParameterSet. all
private java.util.Set<LootParameter<?>>
LootParameterSet.Builder. optional
private java.util.Map<LootParameter<?>,java.lang.Object>
LootContext.Builder. params
private java.util.Map<LootParameter<?>,java.lang.Object>
LootContext. params
private java.util.Set<LootParameter<?>>
LootParameterSet.Builder. required
private java.util.Set<LootParameter<?>>
LootParameterSet. required
Methods in net.minecraft.loot that return LootParameter Modifier and Type Method Description private static <T> LootParameter<T>
LootParameters. create(java.lang.String p_216280_0_)
LootParameter<? extends Entity>
LootContext.EntityTarget. getParam()
Methods in net.minecraft.loot that return types with arguments of type LootParameter Modifier and Type Method Description java.util.Set<LootParameter<?>>
LootParameterSet. getAllowed()
default java.util.Set<LootParameter<?>>
IParameterized. getReferencedContextParams()
java.util.Set<LootParameter<?>>
LootParameterSet. getRequired()
Methods in net.minecraft.loot with parameters of type LootParameter Modifier and Type Method Description <T> T
LootContext.Builder. getOptionalParameter(LootParameter<T> p_216019_1_)
<T> T
LootContext.Builder. getParameter(LootParameter<T> p_216024_1_)
<T> T
LootContext. getParamOrNull(LootParameter<T> p_216031_1_)
boolean
LootContext. hasParam(LootParameter<?> p_216033_1_)
LootParameterSet.Builder
LootParameterSet.Builder. optional(LootParameter<?> p_216271_1_)
LootParameterSet.Builder
LootParameterSet.Builder. required(LootParameter<?> p_216269_1_)
<T> LootContext.Builder
LootContext.Builder. withOptionalParameter(LootParameter<T> p_216021_1_, T p_216021_2_)
<T> LootContext.Builder
LootContext.Builder. withParameter(LootParameter<T> p_216015_1_, T p_216015_2_)
Constructors in net.minecraft.loot with parameters of type LootParameter Constructor Description EntityTarget(java.lang.String p_i50476_3_, LootParameter<? extends Entity> p_i50476_4_)
Constructor parameters in net.minecraft.loot with type arguments of type LootParameter Constructor Description LootContext(java.util.Random p_i225885_1_, float p_i225885_2_, ServerWorld p_i225885_3_, java.util.function.Function<ResourceLocation,LootTable> p_i225885_4_, java.util.function.Function<ResourceLocation,ILootCondition> p_i225885_5_, java.util.Map<LootParameter<?>,java.lang.Object> p_i225885_6_, java.util.Map<ResourceLocation,LootContext.IDynamicDropProvider> p_i225885_7_)
LootContext(java.util.Random rand, float luckIn, ServerWorld worldIn, java.util.function.Function<ResourceLocation,LootTable> lootTableManagerIn, java.util.function.Function<ResourceLocation,ILootCondition> p_i225885_5_, java.util.Map<LootParameter<?>,java.lang.Object> parametersIn, java.util.Map<ResourceLocation,LootContext.IDynamicDropProvider> conditionsIn, ResourceLocation queriedLootTableId)
LootParameterSet(java.util.Set<LootParameter<?>> p_i51211_1_, java.util.Set<LootParameter<?>> p_i51211_2_)
-
Uses of LootParameter in net.minecraft.loot.conditions
Methods in net.minecraft.loot.conditions that return types with arguments of type LootParameter Modifier and Type Method Description java.util.Set<LootParameter<?>>
BlockStateProperty. getReferencedContextParams()
java.util.Set<LootParameter<?>>
DamageSourceProperties. getReferencedContextParams()
java.util.Set<LootParameter<?>>
EntityHasProperty. getReferencedContextParams()
java.util.Set<LootParameter<?>>
EntityHasScore. getReferencedContextParams()
java.util.Set<LootParameter<?>>
Inverted. getReferencedContextParams()
java.util.Set<LootParameter<?>>
KilledByPlayer. getReferencedContextParams()
java.util.Set<LootParameter<?>>
MatchTool. getReferencedContextParams()
java.util.Set<LootParameter<?>>
RandomChanceWithLooting. getReferencedContextParams()
java.util.Set<LootParameter<?>>
SurvivesExplosion. getReferencedContextParams()
java.util.Set<LootParameter<?>>
TableBonus. getReferencedContextParams()
-
Uses of LootParameter in net.minecraft.loot.functions
Fields in net.minecraft.loot.functions declared as LootParameter Modifier and Type Field Description LootParameter<?>
CopyName.Source. param
LootParameter<?>
CopyNbt.Source. param
Methods in net.minecraft.loot.functions that return types with arguments of type LootParameter Modifier and Type Method Description java.util.Set<LootParameter<?>>
ApplyBonus. getReferencedContextParams()
java.util.Set<LootParameter<?>>
CopyBlockState. getReferencedContextParams()
java.util.Set<LootParameter<?>>
CopyName. getReferencedContextParams()
java.util.Set<LootParameter<?>>
CopyNbt. getReferencedContextParams()
java.util.Set<LootParameter<?>>
ExplorationMap. getReferencedContextParams()
java.util.Set<LootParameter<?>>
FillPlayerHead. getReferencedContextParams()
java.util.Set<LootParameter<?>>
LootingEnchantBonus. getReferencedContextParams()
java.util.Set<LootParameter<?>>
SetLore. getReferencedContextParams()
java.util.Set<LootParameter<?>>
SetName. getReferencedContextParams()
Constructors in net.minecraft.loot.functions with parameters of type LootParameter Constructor Description Source(java.lang.String p_i50801_3_, LootParameter<?> p_i50801_4_)
Source(java.lang.String p_i50672_3_, LootParameter<T> p_i50672_4_, java.util.function.Function<? super T,INBT> p_i50672_5_)
-