Interface SpellFieldEffect
- All Known Subinterfaces:
SpellFieldBlockEffect, SpellFieldEntityEffect, SpellFieldVisualEffect, SpellFieldVolumeEffect
- All Known Implementing Classes:
AbsoluteStasisEffect, AirSupplyEffect, AmbientFieldVisualEffect, ApplyPotionEffect, BreakBlockEffect, BurstBlockVisualEffect, BurstEntityVisualEffect, ClearEffectsEffect, DamageEffect, DisarmEffect, ExplodeEffect, ExtinguishEffect, HealEffect, IgniteBlockEffect, IgniteEffect, ImpulseEffect, LightningStrikeEffect, OrbitEffect, PlaceBlockEffect, PlaceTemporaryBlockEffect, PlaySoundBlockEffect, PlaySoundEntityEffect, PlaySoundVolumeEffect, RandomTeleportEffect, ResetLifetimeEffect, SummonEntityEffect, SummonLingeringPotionEffect, SurfaceHazardEffect, TemporaryTransmuteBlockEffect, TransmuteBlockEffect, VectorFieldVisualEffect
public interface SpellFieldEffect
Root polymorphic interface for all data-driven spell field effects registered in
EnchantmentCoreRegistries.SPELL_FIELD_EFFECTS.-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends SpellFieldEffect> codec()Retrieves theMapCodecresponsible for serializing and deserializing this effect.
-
Method Details
-
codec
com.mojang.serialization.MapCodec<? extends SpellFieldEffect> codec()Retrieves theMapCodecresponsible for serializing and deserializing this effect.- Returns:
- The registered
MapCodecinstance.
-