Class CCFavoredColorizer

java.lang.Object
at.petrak.hexcasting.fabric.cc.CCFavoredColorizer
All Implemented Interfaces:
dev.onyxstudios.cca.api.v3.component.Component, dev.onyxstudios.cca.api.v3.component.sync.AutoSyncedComponent, dev.onyxstudios.cca.api.v3.component.sync.ComponentPacketWriter, dev.onyxstudios.cca.api.v3.component.sync.PlayerSyncPredicate

public class CCFavoredColorizer extends Object implements dev.onyxstudios.cca.api.v3.component.Component, dev.onyxstudios.cca.api.v3.component.sync.AutoSyncedComponent
Holds the colorizer item favored by the player
  • Field Summary

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

    Constructors
    Constructor
    Description
    CCFavoredColorizer(net.minecraft.world.entity.player.Player owner)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    at.petrak.hexcasting.api.misc.FrozenColorizer
     
    void
    readFromNbt(net.minecraft.nbt.CompoundTag tag)
     
    void
    setColorizer(at.petrak.hexcasting.api.misc.FrozenColorizer colorizer)
     
    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.sync.AutoSyncedComponent

    applySyncPacket, shouldSyncWith, writeSyncPacket

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

    equals
  • Field Details

  • Constructor Details

    • CCFavoredColorizer

      public CCFavoredColorizer(net.minecraft.world.entity.player.Player owner)
  • Method Details

    • getColorizer

      public at.petrak.hexcasting.api.misc.FrozenColorizer getColorizer()
    • setColorizer

      public void setColorizer(at.petrak.hexcasting.api.misc.FrozenColorizer colorizer)
    • 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