Package at.petrak.hexcasting.fabric.cc
Class CCHarness
java.lang.Object
at.petrak.hexcasting.fabric.cc.CCHarness
- All Implemented Interfaces:
dev.onyxstudios.cca.api.v3.component.Component
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat.petrak.hexcasting.api.spell.casting.CastingHarnessgetHarness(net.minecraft.world.InteractionHand hand) voidreadFromNbt(net.minecraft.nbt.CompoundTag tag) voidsetHarness(@Nullable at.petrak.hexcasting.api.spell.casting.CastingHarness harness) 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.Component
equals
-
Field Details
-
TAG_HARNESS
- See Also:
-
-
Constructor Details
-
CCHarness
public CCHarness(net.minecraft.server.level.ServerPlayer owner)
-
-
Method Details
-
getHarness
public at.petrak.hexcasting.api.spell.casting.CastingHarness getHarness(net.minecraft.world.InteractionHand hand) -
setHarness
public void setHarness(@Nullable @Nullable at.petrak.hexcasting.api.spell.casting.CastingHarness harness) -
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
-