public class ItemNetworkComponent extends net.minecraft.item.Item implements IProgrammable
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemNetworkComponent.NetworkComponentType |
BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, canRepair, category, randomNBT_WIDGETS| Constructor and Description |
|---|
ItemNetworkComponent(ItemNetworkComponent.NetworkComponentType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendHoverText(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
net.minecraft.client.util.ITooltipFlag extraInfo) |
boolean |
canProgram(net.minecraft.item.ItemStack stack)
When returned true, this stack may be programmed.
|
static ItemNetworkComponent.NetworkComponentType |
getType(net.minecraft.item.ItemStack stack) |
boolean |
onEntityItemUpdate(net.minecraft.item.ItemStack stack,
net.minecraft.entity.item.ItemEntity entity) |
boolean |
showProgramTooltip()
Check if the item should have a tooltip added detailing the puzzle piece used to program it.
|
boolean |
usesPieces(net.minecraft.item.ItemStack stack)
Check if Programming Puzzles are needed to program this item.
|
allowdedIn, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, fillItemCategory, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, useOn, useOnRelease, verifyTagAfterLoadgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic ItemNetworkComponent(ItemNetworkComponent.NetworkComponentType type)
public void appendHoverText(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
net.minecraft.client.util.ITooltipFlag extraInfo)
appendHoverText in class net.minecraft.item.Itempublic boolean onEntityItemUpdate(net.minecraft.item.ItemStack stack,
net.minecraft.entity.item.ItemEntity entity)
onEntityItemUpdate in interface net.minecraftforge.common.extensions.IForgeItempublic boolean canProgram(net.minecraft.item.ItemStack stack)
IProgrammablecanProgram in interface IProgrammablestack - the item stack to checkpublic boolean usesPieces(net.minecraft.item.ItemStack stack)
IProgrammableusesPieces in interface IProgrammablestack - the item stack to checkpublic boolean showProgramTooltip()
IProgrammableshowProgramTooltip in interface IProgrammablepublic static ItemNetworkComponent.NetworkComponentType getType(net.minecraft.item.ItemStack stack)