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 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
Modifier and TypeFieldDescriptionprivate 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
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)
<T> T
LootContext.method_35508(LootContextParameter<T> lootContextParameter)
LootContext.Builder.optionalParameter(LootContextParameter<T> key, T value)
LootContext.Builder.parameter(LootContextParameter<T> key, T value)
LootContextType.Builder.require(LootContextParameter<?> parameter)
ModifierConstructorDescriptionprivate
EntityTarget(String type, LootContextParameter<? extends Entity> parameter)
ModifierConstructorDescription(package private)
LootContext(Random random, float float2, ServerWorld serverWorld, Function<Identifier,LootTable> function, Function<Identifier,LootCondition> function2, Map<LootContextParameter<?>,Object> map, Map<Identifier,LootContext.Dropper> map2)
(package private)
LootContextType(Set<LootContextParameter<?>> set, Set<LootContextParameter<?>> set2)
-
Uses of LootContextParameter in net.minecraft.loot.function
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()