Class CCPatterns

java.lang.Object
at.petrak.hexcasting.fabric.cc.CCPatterns
All Implemented Interfaces:
dev.onyxstudios.cca.api.v3.component.Component

public class CCPatterns extends Object implements dev.onyxstudios.cca.api.v3.component.Component
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CCPatterns(net.minecraft.server.level.ServerPlayer owner)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<at.petrak.hexcasting.api.spell.casting.ResolvedPattern>
     
    void
    readFromNbt(net.minecraft.nbt.CompoundTag tag)
     
    void
    setPatterns(List<at.petrak.hexcasting.api.spell.casting.ResolvedPattern> patterns)
     
    void
    writeToNbt(net.minecraft.nbt.CompoundTag tag)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.onyxstudios.cca.api.v3.component.Component

    equals
  • Field Details

  • Constructor Details

    • CCPatterns

      public CCPatterns(net.minecraft.server.level.ServerPlayer owner)
  • Method Details

    • getPatterns

      public List<at.petrak.hexcasting.api.spell.casting.ResolvedPattern> getPatterns()
    • setPatterns

      public void setPatterns(List<at.petrak.hexcasting.api.spell.casting.ResolvedPattern> patterns)
    • readFromNbt

      public void readFromNbt(net.minecraft.nbt.CompoundTag tag)
      Specified by:
      readFromNbt in interface dev.onyxstudios.cca.api.v3.component.Component
    • writeToNbt

      public void writeToNbt(net.minecraft.nbt.CompoundTag tag)
      Specified by:
      writeToNbt in interface dev.onyxstudios.cca.api.v3.component.Component