Uses of Class
net.minecraft.loot.LootParameter
-
Uses of LootParameter in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final LootParameter<TileEntity>
LootParameters.BLOCK_ENTITY
static final LootParameter<BlockState>
LootParameters.BLOCK_STATE
static final LootParameter<DamageSource>
LootParameters.DAMAGE_SOURCE
static final LootParameter<Entity>
LootParameters.DIRECT_KILLER_ENTITY
static final LootParameter<Float>
LootParameters.EXPLOSION_RADIUS
static final LootParameter<Entity>
LootParameters.KILLER_ENTITY
static final LootParameter<PlayerEntity>
LootParameters.LAST_DAMAGE_PLAYER
static final LootParameter<Vector3d>
LootParameters.ORIGIN
private final LootParameter<? extends Entity>
LootContext.EntityTarget.param
static final LootParameter<Entity>
LootParameters.THIS_ENTITY
static final LootParameter<ItemStack>
LootParameters.TOOL
Modifier and TypeFieldDescriptionprivate final Set<LootParameter<?>>
LootParameterSet.all
private final Set<LootParameter<?>>
LootParameterSet.Builder.optional
private final Map<LootParameter<?>,
Object> LootContext.Builder.params
private final Map<LootParameter<?>,
Object> LootContext.params
private final Set<LootParameter<?>>
LootParameterSet.Builder.required
private final Set<LootParameter<?>>
LootParameterSet.required
Modifier and TypeMethodDescriptionprivate static <T> LootParameter<T>
LootParameter<? extends Entity>
LootContext.EntityTarget.getParam()
Modifier and TypeMethodDescriptionSet<LootParameter<?>>
LootParameterSet.getAllowed()
default Set<LootParameter<?>>
IParameterized.getReferencedContextParams()
Set<LootParameter<?>>
LootParameterSet.getRequired()
Modifier and TypeMethodDescription<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.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_) ModifierConstructorDescriptionprivate
EntityTarget
(String p_i50476_3_, LootParameter<? extends Entity> p_i50476_4_) ModifierConstructorDescriptionprivate
LootContext
(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_) private
LootContext
(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) private
LootParameterSet
(Set<LootParameter<?>> p_i51211_1_, Set<LootParameter<?>> p_i51211_2_) -
Uses of LootParameter in net.minecraft.loot.conditions
Modifier 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
Modifier and TypeFieldDescriptionfinal LootParameter<?>
CopyName.Source.param
final LootParameter<?>
CopyNbt.Source.param
Modifier 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()
ModifierConstructorDescriptionprivate
Source
(String p_i50801_3_, LootParameter<?> p_i50801_4_) private
Source
(String p_i50672_3_, LootParameter<T> p_i50672_4_, Function<? super T, INBT> p_i50672_5_)