Package gripe._90.megacells.item.cell
Class MEGAPortableCell
java.lang.Object
net.minecraft.world.item.Item
appeng.items.AEBaseItem
appeng.items.tools.powered.powersink.AEBasePoweredItem
appeng.items.tools.powered.PoweredContainerItem
appeng.items.tools.powered.AbstractPortableCell
appeng.items.tools.powered.PortableCellItem
gripe._90.megacells.item.cell.MEGAPortableCell
- All Implemented Interfaces:
appeng.api.implementations.items.IAEItemPowerStorage,appeng.api.implementations.menuobjects.IMenuItem,appeng.api.storage.cells.IBasicCellItem,appeng.api.storage.cells.ICellWorkbenchItem,appeng.api.upgrades.IUpgradeableItem,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IItemExtension
public class MEGAPortableCell
extends appeng.items.tools.powered.PortableCellItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item.TooltipContext -
Field Summary
Fields inherited from class net.minecraft.world.item.Item
ABSOLUTE_MAX_STACK_SIZE, BASE_ATTACK_DAMAGE_ID, BASE_ATTACK_SPEED_ID, BY_BLOCK, canRepair, DEFAULT_MAX_STACK_SIZE, MAX_BAR_WIDTHFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
ConstructorsConstructorDescriptionMEGAPortableCell(net.minecraft.world.item.Item.Properties props, appeng.items.storage.StorageTier tier, appeng.api.stacks.AEKeyType keyType, net.minecraft.world.inventory.MenuType<appeng.menu.me.common.MEStorageMenu> menu, int defaultColour) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAEMaxPower(net.minecraft.world.item.ItemStack stack) doublegetChargeRate(net.minecraft.world.item.ItemStack stack) doublenet.minecraft.resources.ResourceLocationMethods inherited from class appeng.items.tools.powered.PortableCellItem
appendHoverText, getBytes, getBytesPerType, getConfigInventory, getFuzzyMode, getKeyType, getTier, getTooltipImage, getTotalTypes, getUpgrades, setFuzzyModeMethods inherited from class appeng.items.tools.powered.AbstractPortableCell
getColor, getColor, getMenuHost, onItemUseFirst, onUpgradesChanged, openFromInventory, openFromInventory, useMethods inherited from class appeng.items.tools.powered.PoweredContainerItem
insert, overrideOtherStackedOnMe, overrideStackedOnOther, tryInsertFromPlayerOwnedItem, tryInsertFromPlayerOwnedItemMethods inherited from class appeng.items.tools.powered.powersink.AEBasePoweredItem
addToMainCreativeTab, extractAEPower, getAECurrentPower, getBarColor, getBarWidth, getPowerFlow, injectAEPower, isBarVisible, resetAEMaxPower, setAECurrentPower, setAEMaxPower, setAEMaxPowerMultiplier, shouldCauseReequipAnimationMethods inherited from class appeng.items.AEBaseItem
getRegistryName, toStringMethods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getId, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, isRepairable, isValidRepairItem, mineBlock, modifyDefaultComponentsFrom, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, postHurtEnemy, releaseUsing, requiredFeatures, useOn, useOnRelease, verifyComponentsAfterLoadMethods 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 appeng.api.storage.cells.IBasicCellItem
addCellInformationToTooltip, getCellTooltipImage, isBlackListed, isStorageCell, storableInStorageCellMethods inherited from interface appeng.api.storage.cells.ICellWorkbenchItem
isEditableMethods inherited from interface net.neoforged.neoforge.common.extensions.IItemExtension
applyEnchantments, canBeHurtBy, canContinueUsing, canDisableShield, canElytraFly, canEquip, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultAttributeModifiers, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, isPrimaryItemFor, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onEntitySwing, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, supportsEnchantmentMethods inherited from interface net.minecraft.world.level.ItemLike
asItem
-
Constructor Details
-
MEGAPortableCell
public MEGAPortableCell(net.minecraft.world.item.Item.Properties props, appeng.items.storage.StorageTier tier, appeng.api.stacks.AEKeyType keyType, net.minecraft.world.inventory.MenuType<appeng.menu.me.common.MEStorageMenu> menu, int defaultColour)
-
-
Method Details
-
getIdleDrain
public double getIdleDrain()- Specified by:
getIdleDrainin interfaceappeng.api.storage.cells.IBasicCellItem- Overrides:
getIdleDrainin classappeng.items.tools.powered.PortableCellItem
-
getRecipeId
public net.minecraft.resources.ResourceLocation getRecipeId()- Overrides:
getRecipeIdin classappeng.items.tools.powered.PortableCellItem
-
getChargeRate
public double getChargeRate(net.minecraft.world.item.ItemStack stack) - Specified by:
getChargeRatein interfaceappeng.api.implementations.items.IAEItemPowerStorage- Overrides:
getChargeRatein classappeng.items.tools.powered.PortableCellItem
-
getAEMaxPower
public double getAEMaxPower(net.minecraft.world.item.ItemStack stack) - Specified by:
getAEMaxPowerin interfaceappeng.api.implementations.items.IAEItemPowerStorage- Overrides:
getAEMaxPowerin classappeng.items.tools.powered.powersink.AEBasePoweredItem
-