Uses of Interface
net.minecraft.world.item.enchantment.effects.EnchantmentLocationBasedEffect
Package
Description
-
Uses of EnchantmentLocationBasedEffect in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> BuiltInRegistries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>> Registries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
-
Uses of EnchantmentLocationBasedEffect in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Reference2ObjectMap
<Enchantment, Set<EnchantmentLocationBasedEffect>> LivingEntity.activeLocationDependentEnchantments
-
Uses of EnchantmentLocationBasedEffect in net.minecraft.world.item.enchantment
Modifier and TypeFieldDescriptionstatic final DataComponentType
<List<ConditionalEffect<EnchantmentLocationBasedEffect>>> EnchantmentEffectComponents.LOCATION_CHANGED
-
Uses of EnchantmentLocationBasedEffect in net.minecraft.world.item.enchantment.effects
Modifier and TypeClassDescriptionstatic final record
static final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EnchantmentLocationBasedEffect> EnchantmentLocationBasedEffect.CODEC
private final List
<EnchantmentLocationBasedEffect> AllOf.LocationBasedEffects.effects
The field for theeffects
record component.Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentLocationBasedEffect> EnchantmentLocationBasedEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> p_344955_) com.mojang.serialization.MapCodec
<? extends EnchantmentLocationBasedEffect> EnchantmentLocationBasedEffect.codec()
AllOf.LocationBasedEffects.effects()
Returns the value of theeffects
record component.Modifier and TypeMethodDescriptionstatic AllOf.LocationBasedEffects
AllOf.locationBasedEffects
(EnchantmentLocationBasedEffect... p_345280_) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentLocationBasedEffect> EnchantmentLocationBasedEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> p_344955_) ModifierConstructorDescriptionCreates an instance of aLocationBasedEffects
record class.