Class ItemThoughtKnot
java.lang.Object
net.minecraft.world.item.Item
at.petrak.hexcasting.common.items.storage.ItemThoughtKnot
- All Implemented Interfaces:
IotaHolderItem,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final net.minecraft.resources.ResourceLocationFields inherited from class net.minecraft.world.item.Item
BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZEFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIESFields inherited from interface at.petrak.hexcasting.api.item.IotaHolderItem
TAG_OVERRIDE_VISUALLY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHoverText(net.minecraft.world.item.ItemStack pStack, @Nullable net.minecraft.world.level.Level pLevel, List<net.minecraft.network.chat.Component> pTooltipComponents, net.minecraft.world.item.TooltipFlag pIsAdvanced) booleanWritenullto indicate erasing@Nullable net.minecraft.nbt.CompoundTagreadIotaTag(net.minecraft.world.item.ItemStack stack) booleanwriteable(net.minecraft.world.item.ItemStack stack) voidwriteDatum(net.minecraft.world.item.ItemStack stack, @Nullable Iota iota) Writenullto indicate erasingMethods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isValidRepairItem, mineBlock, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, use, useOn, useOnRelease, verifyTagAfterLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface at.petrak.hexcasting.api.item.IotaHolderItem
emptyIota, getColor, readIota
-
Field Details
-
WRITTEN_PRED
public static final net.minecraft.resources.ResourceLocation WRITTEN_PRED -
TAG_DATA
- See Also:
-
-
Constructor Details
-
ItemThoughtKnot
public ItemThoughtKnot(net.minecraft.world.item.Item.Properties properties)
-
-
Method Details
-
readIotaTag
@Nullable public @Nullable net.minecraft.nbt.CompoundTag readIotaTag(net.minecraft.world.item.ItemStack stack) - Specified by:
readIotaTagin interfaceIotaHolderItem
-
writeable
public boolean writeable(net.minecraft.world.item.ItemStack stack) - Specified by:
writeablein interfaceIotaHolderItem- Returns:
- whether it is possible to write to this IotaHolder
-
canWrite
Description copied from interface:IotaHolderItemWritenullto indicate erasing- Specified by:
canWritein interfaceIotaHolderItem
-
writeDatum
Description copied from interface:IotaHolderItemWritenullto indicate erasing- Specified by:
writeDatumin interfaceIotaHolderItem
-
appendHoverText
public void appendHoverText(net.minecraft.world.item.ItemStack pStack, @Nullable @Nullable net.minecraft.world.level.Level pLevel, List<net.minecraft.network.chat.Component> pTooltipComponents, net.minecraft.world.item.TooltipFlag pIsAdvanced) - Overrides:
appendHoverTextin classnet.minecraft.world.item.Item
-