Uses of Class
net.minecraft.util.context.ContextParameter
Package
Description
-
Uses of ContextParameter in net.minecraft.loot.condition
Modifier and TypeMethodDescriptionSet
<ContextParameter<?>> BlockStatePropertyLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> DamageSourcePropertiesLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> EnchantmentActiveCheckLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> EntityPropertiesLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> EntityScoresLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> InvertedLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> KilledByPlayerLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> LocationCheckLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> MatchToolLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> RandomChanceWithEnchantedBonusLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> SurvivesExplosionLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> TableBonusLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> TimeCheckLootCondition.getAllowedParameters()
Set
<ContextParameter<?>> ValueCheckLootCondition.getAllowedParameters()
-
Uses of ContextParameter in net.minecraft.loot.context
Modifier and TypeFieldDescriptionstatic final ContextParameter
<Entity> LootContextParameters.ATTACKING_ENTITY
static final ContextParameter
<BlockEntity> LootContextParameters.BLOCK_ENTITY
static final ContextParameter
<BlockState> LootContextParameters.BLOCK_STATE
static final ContextParameter
<DamageSource> LootContextParameters.DAMAGE_SOURCE
static final ContextParameter
<Entity> LootContextParameters.DIRECT_ATTACKING_ENTITY
static final ContextParameter
<Boolean> LootContextParameters.ENCHANTMENT_ACTIVE
static final ContextParameter
<Integer> LootContextParameters.ENCHANTMENT_LEVEL
static final ContextParameter
<Float> LootContextParameters.EXPLOSION_RADIUS
static final ContextParameter
<PlayerEntity> LootContextParameters.LAST_DAMAGE_PLAYER
static final ContextParameter
<Vec3d> LootContextParameters.ORIGIN
private final ContextParameter
<? extends Entity> LootContext.EntityTarget.parameter
static final ContextParameter
<Entity> LootContextParameters.THIS_ENTITY
static final ContextParameter
<ItemStack> LootContextParameters.TOOL
Modifier and TypeMethodDescriptionContextParameter
<? extends Entity> LootContext.EntityTarget.getParameter()
Modifier and TypeMethodDescriptiondefault Set
<ContextParameter<?>> LootContextAware.getAllowedParameters()
Modifier and TypeMethodDescriptionLootWorldContext.Builder.add
(ContextParameter<T> parameter, T value) LootWorldContext.Builder.addOptional
(ContextParameter<T> parameter, T value) <T> T
LootContext.get
(ContextParameter<T> parameter) <T> T
LootWorldContext.Builder.get
(ContextParameter<T> parameter) <T> T
LootWorldContext.Builder.getOptional
(ContextParameter<T> parameter) boolean
LootContext.hasParameter
(ContextParameter<?> parameter) <T> T
LootContext.requireParameter
(ContextParameter<T> parameter) ModifierConstructorDescriptionprivate
EntityTarget
(String type, ContextParameter<? extends Entity> parameter) -
Uses of ContextParameter in net.minecraft.loot.function
Modifier and TypeFieldDescription(package private) final ContextParameter
<?> CopyNameLootFunction.Source.parameter
Modifier and TypeMethodDescriptionSet
<ContextParameter<?>> ApplyBonusLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> CopyComponentsLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> CopyNameLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> CopyNbtLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> CopyStateLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> EnchantedCountIncreaseLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> EnchantWithLevelsLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> ExplorationMapLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> FillPlayerHeadLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> LimitCountLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetAttributesLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetCountLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetCustomModelDataLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetDamageLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetEnchantmentsLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetLoreLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetNameLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetOminousBottleAmplifierLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> SetStewEffectLootFunction.getAllowedParameters()
Set
<ContextParameter<?>> CopyComponentsLootFunction.Source.getRequiredParameters()
-
Uses of ContextParameter in net.minecraft.loot.operator
Modifier and TypeMethodDescriptionSet
<ContextParameter<?>> BoundedIntUnaryOperator.getRequiredParameters()
-
Uses of ContextParameter in net.minecraft.loot.provider.nbt
Modifier and TypeMethodDescriptionSet
<ContextParameter<?>> ContextLootNbtProvider.getRequiredParameters()
Set
<ContextParameter<?>> ContextLootNbtProvider.Target.getRequiredParameters()
Set
<ContextParameter<?>> LootNbtProvider.getRequiredParameters()
Set
<ContextParameter<?>> StorageLootNbtProvider.getRequiredParameters()
-
Uses of ContextParameter in net.minecraft.loot.provider.number
Modifier and TypeMethodDescriptionSet
<ContextParameter<?>> BinomialLootNumberProvider.getAllowedParameters()
Set
<ContextParameter<?>> ScoreLootNumberProvider.getAllowedParameters()
Set
<ContextParameter<?>> UniformLootNumberProvider.getAllowedParameters()
-
Uses of ContextParameter in net.minecraft.loot.provider.score
Modifier and TypeMethodDescriptionSet
<ContextParameter<?>> ContextLootScoreProvider.getRequiredParameters()
Set
<ContextParameter<?>> FixedLootScoreProvider.getRequiredParameters()
Set
<ContextParameter<?>> LootScoreProvider.getRequiredParameters()
-
Uses of ContextParameter in net.minecraft.recipe.display
Modifier and TypeFieldDescriptionstatic final ContextParameter
<FuelRegistry> SlotDisplayContexts.FUEL_REGISTRY
static final ContextParameter
<RegistryWrapper.WrapperLookup> SlotDisplayContexts.REGISTRIES
-
Uses of ContextParameter in net.minecraft.util.context
Modifier and TypeFieldDescriptionprivate final Set
<ContextParameter<?>> ContextType.allowed
private final Set
<ContextParameter<?>> ContextType.Builder.allowed
private final Map
<ContextParameter<?>, Object> ContextParameterMap.Builder.map
private final Map
<ContextParameter<?>, Object> ContextParameterMap.map
private final Set
<ContextParameter<?>> ContextType.Builder.required
private final Set
<ContextParameter<?>> ContextType.required
Modifier and TypeMethodDescriptionSet
<ContextParameter<?>> ContextType.getAllowed()
Set
<ContextParameter<?>> ContextType.getRequired()
Modifier and TypeMethodDescriptionContextParameterMap.Builder.add
(ContextParameter<T> parameter, T value) ContextParameterMap.Builder.addNullable
(ContextParameter<T> parameter, T value) ContextType.Builder.allow
(ContextParameter<?> parameter) boolean
ContextParameterMap.contains
(ContextParameter<?> parameter) <T> T
ContextParameterMap.Builder.getNullable
(ContextParameter<T> parameter) <T> T
ContextParameterMap.getNullable
(ContextParameter<T> parameter) <T> T
ContextParameterMap.getOrDefault
(ContextParameter<T> parameter, T defaultValue) <T> T
ContextParameterMap.Builder.getOrThrow
(ContextParameter<T> parameter) <T> T
ContextParameterMap.getOrThrow
(ContextParameter<T> parameter) ContextType.Builder.require
(ContextParameter<?> parameter) ModifierConstructorDescription(package private)
ContextParameterMap
(Map<ContextParameter<?>, Object> map) (package private)
ContextType
(Set<ContextParameter<?>> required, Set<ContextParameter<?>> allowed)