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_ENTITYstatic LootParameter<BlockState>LootParameters. BLOCK_STATEstatic LootParameter<DamageSource>LootParameters. DAMAGE_SOURCEstatic LootParameter<Entity>LootParameters. DIRECT_KILLER_ENTITYstatic LootParameter<java.lang.Float>LootParameters. EXPLOSION_RADIUSstatic LootParameter<Entity>LootParameters. KILLER_ENTITYstatic LootParameter<PlayerEntity>LootParameters. LAST_DAMAGE_PLAYERstatic LootParameter<Vector3d>LootParameters. ORIGINprivate LootParameter<? extends Entity>LootContext.EntityTarget. paramstatic LootParameter<Entity>LootParameters. THIS_ENTITYstatic LootParameter<ItemStack>LootParameters. TOOLFields in net.minecraft.loot with type parameters of type LootParameter Modifier and Type Field Description private java.util.Set<LootParameter<?>>LootParameterSet. allprivate java.util.Set<LootParameter<?>>LootParameterSet.Builder. optionalprivate java.util.Map<LootParameter<?>,java.lang.Object>LootContext.Builder. paramsprivate java.util.Map<LootParameter<?>,java.lang.Object>LootContext. paramsprivate java.util.Set<LootParameter<?>>LootParameterSet.Builder. requiredprivate java.util.Set<LootParameter<?>>LootParameterSet. requiredMethods 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> TLootContext.Builder. getOptionalParameter(LootParameter<T> p_216019_1_)<T> TLootContext.Builder. getParameter(LootParameter<T> p_216024_1_)<T> TLootContext. getParamOrNull(LootParameter<T> p_216031_1_)booleanLootContext. hasParam(LootParameter<?> p_216033_1_)LootParameterSet.BuilderLootParameterSet.Builder. optional(LootParameter<?> p_216271_1_)LootParameterSet.BuilderLootParameterSet.Builder. required(LootParameter<?> p_216269_1_)<T> LootContext.BuilderLootContext.Builder. withOptionalParameter(LootParameter<T> p_216021_1_, T p_216021_2_)<T> LootContext.BuilderLootContext.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. paramLootParameter<?>CopyNbt.Source. paramMethods 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_)
-