Package com.binaris.wizardry.cca.player
Class CastCommandDataHolder
java.lang.Object
com.binaris.wizardry.cca.player.CastCommandDataHolder
- All Implemented Interfaces:
CastCommandData,dev.onyxstudios.cca.api.v3.component.Component,dev.onyxstudios.cca.api.v3.component.ComponentV3,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 CastCommandDataHolder
extends Object
implements CastCommandData, dev.onyxstudios.cca.api.v3.component.ComponentV3, dev.onyxstudios.cca.api.v3.component.sync.AutoSyncedComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidreadFromNbt(@NotNull net.minecraft.nbt.CompoundTag tag) voidstartCastingContinuousSpell(Spell spell, SpellModifiers modifiers, int duration) voidvoidtick()voidwriteToNbt(@NotNull 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
-
Constructor Details
-
CastCommandDataHolder
public CastCommandDataHolder(net.minecraft.world.entity.player.Player provider)
-
-
Method Details
-
startCastingContinuousSpell
- Specified by:
startCastingContinuousSpellin interfaceCastCommandData
-
stopCastingContinuousSpell
public void stopCastingContinuousSpell()- Specified by:
stopCastingContinuousSpellin interfaceCastCommandData
-
tick
public void tick()- Specified by:
tickin interfaceCastCommandData
-
isCommandCasting
public boolean isCommandCasting()- Specified by:
isCommandCastingin interfaceCastCommandData
-
readFromNbt
public void readFromNbt(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag) - Specified by:
readFromNbtin interfacedev.onyxstudios.cca.api.v3.component.Component
-
writeToNbt
public void writeToNbt(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag) - Specified by:
writeToNbtin interfacedev.onyxstudios.cca.api.v3.component.Component
-