Uses of Class
net.minecraft.loot.context.LootContextParameter
Package
Description
-
Uses of LootContextParameter in net.minecraft.loot.condition
Modifier and TypeMethodDescriptionBlockStatePropertyLootCondition.getRequiredParameters()
DamageSourcePropertiesLootCondition.getRequiredParameters()
EntityPropertiesLootCondition.getRequiredParameters()
EntityScoresLootCondition.getRequiredParameters()
InvertedLootCondition.getRequiredParameters()
KilledByPlayerLootCondition.getRequiredParameters()
MatchToolLootCondition.getRequiredParameters()
RandomChanceWithLootingLootCondition.getRequiredParameters()
SurvivesExplosionLootCondition.getRequiredParameters()
TableBonusLootCondition.getRequiredParameters()
TimeCheckLootCondition.getRequiredParameters()
ValueCheckLootCondition.getRequiredParameters()
-
Uses of LootContextParameter in net.minecraft.loot.context
Modifier and TypeFieldDescriptionstatic final LootContextParameter<BlockEntity>
LootContextParameters.BLOCK_ENTITY
static final LootContextParameter<BlockState>
LootContextParameters.BLOCK_STATE
static final LootContextParameter<DamageSource>
LootContextParameters.DAMAGE_SOURCE
static final LootContextParameter<Entity>
LootContextParameters.DIRECT_KILLER_ENTITY
static final LootContextParameter<Float>
LootContextParameters.EXPLOSION_RADIUS
static final LootContextParameter<Entity>
LootContextParameters.KILLER_ENTITY
static final LootContextParameter<PlayerEntity>
LootContextParameters.LAST_DAMAGE_PLAYER
static final LootContextParameter<Vec3d>
LootContextParameters.ORIGIN
private final LootContextParameter<? extends Entity>
LootContext.EntityTarget.parameter
static final LootContextParameter<Entity>
LootContextParameters.THIS_ENTITY
static final LootContextParameter<ItemStack>
LootContextParameters.TOOL
Modifier and TypeFieldDescriptionprivate final Set<LootContextParameter<?>>
LootContextType.allowed
private final Set<LootContextParameter<?>>
LootContextType.Builder.allowed
private final Map<LootContextParameter<?>,
Object> LootContext.Builder.parameters
private final Map<LootContextParameter<?>,
Object> LootContext.parameters
private final Set<LootContextParameter<?>>
LootContextType.Builder.required
private final Set<LootContextParameter<?>>
LootContextType.required
Modifier and TypeMethodDescriptionLootContextParameter<? extends Entity>
LootContext.EntityTarget.getParameter()
private static <T> LootContextParameter<T>
Modifier and TypeMethodDescriptionLootContextType.getAllowed()
LootContextType.getRequired()
default Set<LootContextParameter<?>>
LootContextAware.getRequiredParameters()
Modifier and TypeMethodDescriptionLootContextType.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) boolean
LootContextType.isAllowed
(LootContextParameter<?> parameter) LootContext.Builder.optionalParameter
(LootContextParameter<T> key, T value) LootContext.Builder.parameter
(LootContextParameter<T> key, T value) LootContextType.Builder.require
(LootContextParameter<?> parameter) <T> T
LootContext.requireParameter
(LootContextParameter<T> parameter) ModifierConstructorDescriptionprivate
EntityTarget
(String type, LootContextParameter<? extends Entity> parameter) ModifierConstructorDescription(package private)
LootContext
(Random random, float luck, ServerWorld world, Function<Identifier, LootTable> tableGetter, Function<Identifier, LootCondition> conditionGetter, Map<LootContextParameter<?>, Object> parameters, Map<Identifier, LootContext.Dropper> drops) (package private)
LootContextType
(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed) -
Uses of LootContextParameter in net.minecraft.loot.function
Modifier and TypeFieldDescriptionfinal LootContextParameter<?>
CopyNameLootFunction.Source.parameter
Modifier and TypeMethodDescriptionApplyBonusLootFunction.getRequiredParameters()
CopyNameLootFunction.getRequiredParameters()
CopyNbtLootFunction.getRequiredParameters()
CopyStateFunction.getRequiredParameters()
EnchantWithLevelsLootFunction.getRequiredParameters()
ExplorationMapLootFunction.getRequiredParameters()
FillPlayerHeadLootFunction.getRequiredParameters()
LimitCountLootFunction.getRequiredParameters()
LootingEnchantLootFunction.getRequiredParameters()
SetAttributesLootFunction.getRequiredParameters()
SetCountLootFunction.getRequiredParameters()
SetDamageLootFunction.getRequiredParameters()
SetEnchantmentsLootFunction.getRequiredParameters()
SetLoreLootFunction.getRequiredParameters()
SetNameLootFunction.getRequiredParameters()
SetStewEffectLootFunction.getRequiredParameters()
-
Uses of LootContextParameter in net.minecraft.loot.operator
-
Uses of LootContextParameter in net.minecraft.loot.provider.nbt
Modifier and TypeMethodDescriptionContextLootNbtProvider.getRequiredParameters()
ContextLootNbtProvider.Target.getRequiredParameters()
LootNbtProvider.getRequiredParameters()
StorageLootNbtProvider.getRequiredParameters()
-
Uses of LootContextParameter in net.minecraft.loot.provider.number
Modifier and TypeMethodDescriptionBinomialLootNumberProvider.getRequiredParameters()
ScoreLootNumberProvider.getRequiredParameters()
UniformLootNumberProvider.getRequiredParameters()
-
Uses of LootContextParameter in net.minecraft.loot.provider.score
Modifier and TypeMethodDescriptionContextLootScoreProvider.getRequiredParameters()
FixedLootScoreProvider.getRequiredParameters()
LootScoreProvider.getRequiredParameters()