Package at.petrak.hexcasting.fabric.cc
Class CCHexHolder.ItemBased
java.lang.Object
dev.onyxstudios.cca.api.v3.item.ItemComponent
at.petrak.hexcasting.fabric.cc.CCHexHolder
at.petrak.hexcasting.fabric.cc.CCHexHolder.ItemBased
- All Implemented Interfaces:
at.petrak.hexcasting.api.addldata.HexHolder,dev.onyxstudios.cca.api.v3.component.Component,dev.onyxstudios.cca.api.v3.item.ItemTagInvalidationListener
- Enclosing class:
- CCHexHolder
-
Nested Class Summary
Nested classes/interfaces inherited from class at.petrak.hexcasting.fabric.cc.CCHexHolder
CCHexHolder.ItemBased -
Field Summary
Fields inherited from class dev.onyxstudios.cca.api.v3.item.ItemComponent
stack -
Constructor Summary
Constructors -
Method Summary
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, writeToNbt
-
Constructor Details
-
ItemBased
public ItemBased(net.minecraft.world.item.ItemStack owner)
-
-
Method Details
-
canDrawManaFromInventory
public boolean canDrawManaFromInventory() -
hasHex
public boolean hasHex() -
getHex
@Nullable public @Nullable List<at.petrak.hexcasting.api.spell.SpellDatum<?>> getHex(net.minecraft.server.level.ServerLevel level) -
writeHex
-
clearHex
public void clearHex()
-