Package at.petrak.hexcasting.fabric.cc
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat.petrak.hexcasting.api.misc.FrozenColorizervoidreadFromNbt(net.minecraft.nbt.CompoundTag tag) voidsetColorizer(at.petrak.hexcasting.api.misc.FrozenColorizer colorizer) voidwriteToNbt(net.minecraft.nbt.CompoundTag tag) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.onyxstudios.cca.api.v3.component.sync.AutoSyncedComponent
applySyncPacket, shouldSyncWith, writeSyncPacketMethods inherited from interface dev.onyxstudios.cca.api.v3.component.Component
equals
-
Field Details
-
TAG_COLORIZER
- See Also:
-
-
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:
readFromNbtin interfacedev.onyxstudios.cca.api.v3.component.Component
-
writeToNbt
public void writeToNbt(net.minecraft.nbt.CompoundTag tag) - Specified by:
writeToNbtin interfacedev.onyxstudios.cca.api.v3.component.Component
-