public class LinkedControllerItem
extends net.minecraft.item.Item
implements net.minecraft.inventory.container.INamedContainerProvider
| Constructor and Description |
|---|
LinkedControllerItem(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.inventory.container.Container |
createMenu(int id,
net.minecraft.entity.player.PlayerInventory inv,
net.minecraft.entity.player.PlayerEntity player) |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
static net.minecraftforge.items.ItemStackHandler |
getFrequencyItems(net.minecraft.item.ItemStack stack) |
net.minecraft.util.ActionResultType |
onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemUseContext ctx) |
static Couple<RedstoneLinkNetworkHandler.Frequency> |
toFrequency(net.minecraft.item.ItemStack controller,
int slot) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
use(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
allowdedIn, appendHoverText, 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, 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, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic LinkedControllerItem(net.minecraft.item.Item.Properties properties)
public net.minecraft.util.ActionResultType onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemUseContext ctx)
onItemUseFirst in interface net.minecraftforge.common.extensions.IForgeItempublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
use in class net.minecraft.item.Itempublic static net.minecraftforge.items.ItemStackHandler getFrequencyItems(net.minecraft.item.ItemStack stack)
public static Couple<RedstoneLinkNetworkHandler.Frequency> toFrequency(net.minecraft.item.ItemStack controller, int slot)
public net.minecraft.inventory.container.Container createMenu(int id,
net.minecraft.entity.player.PlayerInventory inv,
net.minecraft.entity.player.PlayerEntity player)
createMenu in interface net.minecraft.inventory.container.IContainerProviderpublic net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.inventory.container.INamedContainerProvider