Package at.petrak.hexcasting.fabric.cc
Class CCDataHolder.ItemBased
java.lang.Object
dev.onyxstudios.cca.api.v3.item.ItemComponent
at.petrak.hexcasting.fabric.cc.CCDataHolder
at.petrak.hexcasting.fabric.cc.CCDataHolder.ItemBased
- All Implemented Interfaces:
at.petrak.hexcasting.api.addldata.DataHolder,dev.onyxstudios.cca.api.v3.component.Component,dev.onyxstudios.cca.api.v3.item.ItemTagInvalidationListener
- Enclosing class:
- CCDataHolder
-
Nested Class Summary
Nested classes/interfaces inherited from class at.petrak.hexcasting.fabric.cc.CCDataHolder
CCDataHolder.ItemBased, CCDataHolder.Static -
Field Summary
Fields inherited from class dev.onyxstudios.cca.api.v3.item.ItemComponent
stack -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.nbt.CompoundTagbooleanwriteDatum(@Nullable at.petrak.hexcasting.api.spell.SpellDatum<?> datum, boolean simulate) Methods inherited from class dev.onyxstudios.cca.api.v3.item.ItemComponent
equals, getBoolean, getCompound, getDouble, getFloat, getInt, getKeys, getList, getList, getLong, getOrCreateRootTag, getRootTag, getRootTagKey, getString, getTag, getTag, getTag, getUuid, hashCode, hasTag, hasTag, hasTag, onTagInvalidated, putBoolean, putCompound, putDouble, putFloat, putInt, putList, putLong, putString, putUuid, readFromNbt, remove, wrapFactory, writeToNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface at.petrak.hexcasting.api.addldata.DataHolder
emptyDatum, readDatum
-
Constructor Details
-
ItemBased
public ItemBased(net.minecraft.world.item.ItemStack stack)
-
-
Method Details
-
readRawDatum
@Nullable public @Nullable net.minecraft.nbt.CompoundTag readRawDatum() -
writeDatum
public boolean writeDatum(@Nullable @Nullable at.petrak.hexcasting.api.spell.SpellDatum<?> datum, boolean simulate)
-