All Known Subinterfaces:
ISpellComponent, ISpellModifier, ISpellShape

public interface ISpellPart
Base interface for a spell part. A spell part can be a component of type ISpellComponent, a modifier of type ISpellModifier or a shape of type ISpellShape.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The types of the spell parts.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<ISpellPart>>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.resources.ResourceLocation
     
     
  • Field Details

    • REGISTRY_KEY

      static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<ISpellPart>> REGISTRY_KEY
  • Method Details

    • getType

      Returns:
      The type of this spell part.
    • getId

      default net.minecraft.resources.ResourceLocation getId()
      Returns:
      The id of this spell part.