Package at.petrak.hexcasting.fabric.cc
Class CCSentinel
java.lang.Object
at.petrak.hexcasting.fabric.cc.CCSentinel
- 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 CCSentinel
extends Object
implements dev.onyxstudios.cca.api.v3.component.Component, dev.onyxstudios.cca.api.v3.component.sync.AutoSyncedComponent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat.petrak.hexcasting.api.player.SentinelvoidreadFromNbt(net.minecraft.nbt.CompoundTag tag) voidsetSentinel(at.petrak.hexcasting.api.player.Sentinel sentinel) 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_HAS_SENTINEL
- See Also:
-
TAG_EXTENDS_RANGE
- See Also:
-
TAG_POSITION
- See Also:
-
TAG_DIMENSION
- See Also:
-
-
Constructor Details
-
CCSentinel
public CCSentinel(net.minecraft.world.entity.player.Player owner)
-
-
Method Details
-
getSentinel
public at.petrak.hexcasting.api.player.Sentinel getSentinel() -
setSentinel
public void setSentinel(at.petrak.hexcasting.api.player.Sentinel sentinel) -
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
-