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> LootContextParameterSet.Builder.parameters
private final Map<LootContextParameter<?>,
Object> LootContextParameterSet.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 TypeMethodDescriptionLootContextParameterSet.Builder.add
(LootContextParameter<T> parameter, T value) LootContextParameterSet.Builder.addOptional
(LootContextParameter<T> parameter, T value) LootContextType.Builder.allow
(LootContextParameter<?> parameter) boolean
LootContextParameterSet.contains
(LootContextParameter<?> parameter) <T> T
LootContext.get
(LootContextParameter<T> parameter) <T> T
LootContextParameterSet.Builder.get
(LootContextParameter<T> parameter) <T> T
LootContextParameterSet.get
(LootContextParameter<T> parameter) <T> T
LootContextParameterSet.Builder.getOptional
(LootContextParameter<T> parameter) <T> T
LootContextParameterSet.getOptional
(LootContextParameter<T> parameter) boolean
LootContext.hasParameter
(LootContextParameter<?> parameter) boolean
LootContextType.isAllowed
(LootContextParameter<?> parameter) <T> T
LootContextParameterSet.method_51868
(LootContextParameter<T> parameter) LootContextType.Builder.require
(LootContextParameter<?> parameter) <T> T
LootContext.requireParameter
(LootContextParameter<T> parameter) ModifierConstructorDescriptionprivate
EntityTarget
(String type, LootContextParameter<? extends Entity> parameter) ModifierConstructorDescriptionLootContextParameterSet
(ServerWorld world, Map<LootContextParameter<?>, Object> parameters, Map<Identifier, LootContextParameterSet.DynamicDrop> dynamicDrops, float luck) (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()