Uses of Class
net.minecraft.loot.LootParameter
Packages that use LootParameter
-
Uses of LootParameter in net.minecraft.loot
Fields in net.minecraft.loot declared as LootParameterModifier and TypeFieldDescriptionstatic final LootParameter<TileEntity>LootParameters.BLOCK_ENTITYstatic final LootParameter<BlockState>LootParameters.BLOCK_STATEstatic final LootParameter<DamageSource>LootParameters.DAMAGE_SOURCEstatic final LootParameter<Entity>LootParameters.DIRECT_KILLER_ENTITYstatic final LootParameter<Float>LootParameters.EXPLOSION_RADIUSstatic final LootParameter<Entity>LootParameters.KILLER_ENTITYstatic final LootParameter<PlayerEntity>LootParameters.LAST_DAMAGE_PLAYERstatic final LootParameter<Vector3d>LootParameters.ORIGINprivate final LootParameter<? extends Entity>LootContext.EntityTarget.paramstatic final LootParameter<Entity>LootParameters.THIS_ENTITYstatic final LootParameter<ItemStack>LootParameters.TOOLFields in net.minecraft.loot with type parameters of type LootParameterModifier and TypeFieldDescriptionprivate final Set<LootParameter<?>>LootParameterSet.allprivate final Set<LootParameter<?>>LootParameterSet.Builder.optionalprivate final Map<LootParameter<?>,Object> LootContext.Builder.paramsprivate final Map<LootParameter<?>,Object> LootContext.paramsprivate final Set<LootParameter<?>>LootParameterSet.Builder.requiredprivate final Set<LootParameter<?>>LootParameterSet.requiredMethods in net.minecraft.loot that return LootParameterModifier and TypeMethodDescriptionprivate static <T> LootParameter<T>LootParameter<? extends Entity>LootContext.EntityTarget.getParam()Methods in net.minecraft.loot that return types with arguments of type LootParameterModifier and TypeMethodDescriptionSet<LootParameter<?>>LootParameterSet.getAllowed()default Set<LootParameter<?>>IParameterized.getReferencedContextParams()Set<LootParameter<?>>LootParameterSet.getRequired()Methods in net.minecraft.loot with parameters of type LootParameterModifier and TypeMethodDescription<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.Builder.optional(LootParameter<?> p_216271_1_) LootParameterSet.Builder.required(LootParameter<?> p_216269_1_) LootContext.Builder.withOptionalParameter(LootParameter<T> p_216021_1_, T p_216021_2_) LootContext.Builder.withParameter(LootParameter<T> p_216015_1_, T p_216015_2_) Constructors in net.minecraft.loot with parameters of type LootParameterModifierConstructorDescriptionprivateEntityTarget(String p_i50476_3_, LootParameter<? extends Entity> p_i50476_4_) Constructor parameters in net.minecraft.loot with type arguments of type LootParameterModifierConstructorDescriptionprivateLootContext(Random p_i225885_1_, float p_i225885_2_, ServerWorld p_i225885_3_, Function<ResourceLocation, LootTable> p_i225885_4_, Function<ResourceLocation, ILootCondition> p_i225885_5_, Map<LootParameter<?>, Object> p_i225885_6_, Map<ResourceLocation, LootContext.IDynamicDropProvider> p_i225885_7_) privateLootContext(Random rand, float luckIn, ServerWorld worldIn, Function<ResourceLocation, LootTable> lootTableManagerIn, Function<ResourceLocation, ILootCondition> p_i225885_5_, Map<LootParameter<?>, Object> parametersIn, Map<ResourceLocation, LootContext.IDynamicDropProvider> conditionsIn, ResourceLocation queriedLootTableId) privateLootParameterSet(Set<LootParameter<?>> p_i51211_1_, 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 LootParameterModifier and TypeMethodDescriptionSet<LootParameter<?>>BlockStateProperty.getReferencedContextParams()Set<LootParameter<?>>DamageSourceProperties.getReferencedContextParams()Set<LootParameter<?>>EntityHasProperty.getReferencedContextParams()Set<LootParameter<?>>EntityHasScore.getReferencedContextParams()Set<LootParameter<?>>Inverted.getReferencedContextParams()Set<LootParameter<?>>KilledByPlayer.getReferencedContextParams()Set<LootParameter<?>>MatchTool.getReferencedContextParams()Set<LootParameter<?>>RandomChanceWithLooting.getReferencedContextParams()Set<LootParameter<?>>SurvivesExplosion.getReferencedContextParams()Set<LootParameter<?>>TableBonus.getReferencedContextParams() -
Uses of LootParameter in net.minecraft.loot.functions
Fields in net.minecraft.loot.functions declared as LootParameterModifier and TypeFieldDescriptionfinal LootParameter<?>CopyName.Source.paramfinal LootParameter<?>CopyNbt.Source.paramMethods in net.minecraft.loot.functions that return types with arguments of type LootParameterModifier and TypeMethodDescriptionSet<LootParameter<?>>ApplyBonus.getReferencedContextParams()Set<LootParameter<?>>CopyBlockState.getReferencedContextParams()Set<LootParameter<?>>CopyName.getReferencedContextParams()Set<LootParameter<?>>CopyNbt.getReferencedContextParams()Set<LootParameter<?>>ExplorationMap.getReferencedContextParams()Set<LootParameter<?>>FillPlayerHead.getReferencedContextParams()Set<LootParameter<?>>LootingEnchantBonus.getReferencedContextParams()Set<LootParameter<?>>SetLore.getReferencedContextParams()Set<LootParameter<?>>SetName.getReferencedContextParams()Constructors in net.minecraft.loot.functions with parameters of type LootParameterModifierConstructorDescriptionprivateSource(String p_i50801_3_, LootParameter<?> p_i50801_4_) privateSource(String p_i50672_3_, LootParameter<T> p_i50672_4_, Function<? super T, INBT> p_i50672_5_)