Class RadioactiveCellItem
java.lang.Object
net.minecraft.world.item.Item
appeng.items.AEBaseItem
gripe._90.megacells.integration.appmek.RadioactiveCellItem
- All Implemented Interfaces:
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 RadioactiveCellItem
extends appeng.items.AEBaseItem
implements appeng.api.storage.cells.ICellWorkbenchItem
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item.TooltipContext -
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHoverText(net.minecraft.world.item.ItemStack is, net.minecraft.world.item.Item.TooltipContext context, List<net.minecraft.network.chat.Component> lines, net.minecraft.world.item.TooltipFlag flag) appeng.util.ConfigInventorygetConfigInventory(net.minecraft.world.item.ItemStack is) appeng.api.config.FuzzyModegetFuzzyMode(net.minecraft.world.item.ItemStack itemStack) @NotNull Optional<net.minecraft.world.inventory.tooltip.TooltipComponent> getTooltipImage(@NotNull net.minecraft.world.item.ItemStack is) voidsetFuzzyMode(net.minecraft.world.item.ItemStack itemStack, appeng.api.config.FuzzyMode fuzzyMode) Methods inherited from class appeng.items.AEBaseItem
addToMainCreativeTab, getRegistryName, toStringMethods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getId, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, isRepairable, isValidRepairItem, mineBlock, modifyDefaultComponentsFrom, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, requiredFeatures, use, 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.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, onItemUseFirst, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, supportsEnchantmentMethods inherited from interface net.minecraft.world.level.ItemLike
asItemMethods inherited from interface appeng.api.upgrades.IUpgradeableItem
getUpgrades
-
Field Details
-
HANDLER
-
-
Constructor Details
-
RadioactiveCellItem
public RadioactiveCellItem(net.minecraft.world.item.Item.Properties properties)
-
-
Method Details
-
getConfigInventory
public appeng.util.ConfigInventory getConfigInventory(net.minecraft.world.item.ItemStack is) - Specified by:
getConfigInventoryin interfaceappeng.api.storage.cells.ICellWorkbenchItem
-
getFuzzyMode
public appeng.api.config.FuzzyMode getFuzzyMode(net.minecraft.world.item.ItemStack itemStack) - Specified by:
getFuzzyModein interfaceappeng.api.storage.cells.ICellWorkbenchItem
-
setFuzzyMode
public void setFuzzyMode(net.minecraft.world.item.ItemStack itemStack, appeng.api.config.FuzzyMode fuzzyMode) - Specified by:
setFuzzyModein interfaceappeng.api.storage.cells.ICellWorkbenchItem
-
appendHoverText
@ParametersAreNonnullByDefault public void appendHoverText(net.minecraft.world.item.ItemStack is, net.minecraft.world.item.Item.TooltipContext context, List<net.minecraft.network.chat.Component> lines, net.minecraft.world.item.TooltipFlag flag) - Overrides:
appendHoverTextin classnet.minecraft.world.item.Item
-
getTooltipImage
@NotNull public @NotNull Optional<net.minecraft.world.inventory.tooltip.TooltipComponent> getTooltipImage(@NotNull @NotNull net.minecraft.world.item.ItemStack is) - Overrides:
getTooltipImagein classnet.minecraft.world.item.Item
-