Uses of Class
net.minecraft.loot.context.LootContextParameter
-
Uses of LootContextParameter in net.minecraft.loot.condition
-
Uses of LootContextParameter in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as LootContextParameter Modifier and Type Field Description static LootContextParameter<BlockEntity>
LootContextParameters. BLOCK_ENTITY
static LootContextParameter<BlockState>
LootContextParameters. BLOCK_STATE
static LootContextParameter<DamageSource>
LootContextParameters. DAMAGE_SOURCE
static LootContextParameter<Entity>
LootContextParameters. DIRECT_KILLER_ENTITY
static LootContextParameter<Float>
LootContextParameters. EXPLOSION_RADIUS
static LootContextParameter<Entity>
LootContextParameters. KILLER_ENTITY
static LootContextParameter<PlayerEntity>
LootContextParameters. LAST_DAMAGE_PLAYER
static LootContextParameter<Vec3d>
LootContextParameters. ORIGIN
private LootContextParameter<? extends Entity>
LootContext.EntityTarget. parameter
static LootContextParameter<Entity>
LootContextParameters. THIS_ENTITY
static LootContextParameter<ItemStack>
LootContextParameters. TOOL
Fields in net.minecraft.loot.context with type parameters of type LootContextParameter Modifier and Type Field Description private Set<LootContextParameter<?>>
LootContextType. allowed
private Set<LootContextParameter<?>>
LootContextType.Builder. allowed
private Map<LootContextParameter<?>,Object>
LootContext.Builder. parameters
private Map<LootContextParameter<?>,Object>
LootContext. parameters
private Set<LootContextParameter<?>>
LootContextType.Builder. required
private Set<LootContextParameter<?>>
LootContextType. required
Methods in net.minecraft.loot.context that return LootContextParameter Modifier and Type Method Description LootContextParameter<? extends Entity>
LootContext.EntityTarget. getParameter()
private static <T> LootContextParameter<T>
LootContextParameters. register(String name)
Methods in net.minecraft.loot.context that return types with arguments of type LootContextParameter Modifier and Type Method Description Set<LootContextParameter<?>>
LootContextType. getAllowed()
Set<LootContextParameter<?>>
LootContextType. getRequired()
default Set<LootContextParameter<?>>
LootContextAware. getRequiredParameters()
Methods in net.minecraft.loot.context with parameters of type LootContextParameter Modifier and Type Method Description LootContextType.Builder
LootContextType.Builder. allow(LootContextParameter<?> parameter)
<T> T
LootContext.Builder. get(LootContextParameter<T> parameter)
<T> T
LootContext. get(LootContextParameter<T> parameter)
<T> T
LootContext.Builder. getNullable(LootContextParameter<T> parameter)
boolean
LootContext. hasParameter(LootContextParameter<?> parameter)
<T> T
LootContext. method_35508(LootContextParameter<T> lootContextParameter)
boolean
LootContextType. method_35553(LootContextParameter<?> lootContextParameter)
<T> LootContext.Builder
LootContext.Builder. optionalParameter(LootContextParameter<T> key, T value)
<T> LootContext.Builder
LootContext.Builder. parameter(LootContextParameter<T> key, T value)
LootContextType.Builder
LootContextType.Builder. require(LootContextParameter<?> parameter)
Constructors in net.minecraft.loot.context with parameters of type LootContextParameter Constructor Description EntityTarget(String type, LootContextParameter<? extends Entity> parameter)
Constructor parameters in net.minecraft.loot.context with type arguments of type LootContextParameter Constructor Description LootContext(Random random, float luck, ServerWorld world, Function<Identifier,LootTable> tableGetter, Function<Identifier,LootCondition> conditionSetter, Map<LootContextParameter<?>,Object> parameters, Map<Identifier,LootContext.Dropper> drops)
LootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed)
-
Uses of LootContextParameter in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as LootContextParameter Modifier and Type Field Description LootContextParameter<?>
CopyNameLootFunction.Source. parameter
Constructors in net.minecraft.loot.function with parameters of type LootContextParameter Constructor Description Source(String name, LootContextParameter<?> parameter)
-
Uses of LootContextParameter in net.minecraft.loot.operator
Methods in net.minecraft.loot.operator that return types with arguments of type LootContextParameter Modifier and Type Method Description Set<LootContextParameter<?>>
BoundedIntUnaryOperator. getRequiredParameters()
-
Uses of LootContextParameter in net.minecraft.loot.provider.nbt
Methods in net.minecraft.loot.provider.nbt that return types with arguments of type LootContextParameter Modifier and Type Method Description Set<LootContextParameter<?>>
ContextLootNbtProvider. getRequiredParameters()
Set<LootContextParameter<?>>
ContextLootNbtProvider.Target. getRequiredParameters()
Set<LootContextParameter<?>>
LootNbtProvider. getRequiredParameters()
Set<LootContextParameter<?>>
StorageLootNbtProvider. getRequiredParameters()
-
Uses of LootContextParameter in net.minecraft.loot.provider.number
Methods in net.minecraft.loot.provider.number that return types with arguments of type LootContextParameter Modifier and Type Method Description Set<LootContextParameter<?>>
BinomialLootNumberProvider. getRequiredParameters()
Set<LootContextParameter<?>>
ScoreLootNumberProvider. getRequiredParameters()
Set<LootContextParameter<?>>
UniformLootNumberProvider. getRequiredParameters()
-
Uses of LootContextParameter in net.minecraft.loot.provider.score
Methods in net.minecraft.loot.provider.score that return types with arguments of type LootContextParameter Modifier and Type Method Description Set<LootContextParameter<?>>
ContextLootScoreProvider. getRequiredParameters()
Set<LootContextParameter<?>>
FixedLootScoreProvider. getRequiredParameters()
Set<LootContextParameter<?>>
LootScoreProvider. getRequiredParameters()