MatterStorageCell

class MatterStorageCell(properties: Item.Properties, tier: StorageTier) : BasicStorageCell(source)

Constructors

Link copied to clipboard
constructor(properties: Item.Properties, tier: StorageTier)

Properties

Link copied to clipboard
open val breakingSound: SoundEvent?
Link copied to clipboard
@get:Nullable
val craftingRemainingItem: Item?
Link copied to clipboard
open val defaultAttributeModifiers: ItemAttributeModifiers?
Link copied to clipboard
open val defaultInstance: ItemStack?
Link copied to clipboard
Link copied to clipboard
open val description: Component?
Link copied to clipboard
Link copied to clipboard
open val drinkingSound: SoundEvent?
Link copied to clipboard
open val eatingSound: SoundEvent?
Link copied to clipboard
Link copied to clipboard
open val idleDrain: Double
Link copied to clipboard
open val isComplex: Boolean
Link copied to clipboard
open val keyType: AEKeyType?
Link copied to clipboard
@get:Nullable
open val registryName: @Nullable ResourceLocation?

Functions

Link copied to clipboard
open fun addCellInformationToTooltip(is: ItemStack?, lines: List<Component?>?)
Link copied to clipboard
open fun addToMainCreativeTab(parameters: CreativeModeTab.ItemDisplayParameters?, output: CreativeModeTab.Output?)
Link copied to clipboard
open fun appendHoverText(stack: ItemStack?, context: Item.TooltipContext?, lines: List<Component?>?, advancedTooltips: TooltipFlag?)
Link copied to clipboard
open fun applyEnchantments(stack: ItemStack?, enchantments: List<EnchantmentInstance?>?): ItemStack?
Link copied to clipboard
open fun asItem(): Item?
Link copied to clipboard
open fun builtInRegistryHolder(): Holder.Reference<Item?>?
Link copied to clipboard
open fun canAttackBlock(p_41441_: BlockState?, p_41442_: Level?, p_41443_: BlockPos?, p_41444_: Player?): Boolean
Link copied to clipboard
open fun canBeHurtBy(stack: ItemStack?, source: DamageSource?): Boolean
Link copied to clipboard
open fun canContinueUsing(oldStack: ItemStack?, newStack: ItemStack?): Boolean
Link copied to clipboard
open fun canDisableShield(stack: ItemStack?, shield: ItemStack?, entity: LivingEntity?, attacker: LivingEntity?): Boolean
Link copied to clipboard
open fun canElytraFly(stack: ItemStack?, entity: LivingEntity?): Boolean
Link copied to clipboard
open fun canEquip(stack: ItemStack?, armorType: EquipmentSlot?, entity: LivingEntity?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun canGrindstoneRepair(stack: ItemStack?): Boolean
Link copied to clipboard
open fun canPerformAction(stack: ItemStack?, itemAbility: ItemAbility?): Boolean
Link copied to clipboard
open fun canWalkOnPowderedSnow(stack: ItemStack?, wearer: LivingEntity?): Boolean
Link copied to clipboard
open fun components(): DataComponentMap?
Link copied to clipboard
@Nullable
open fun createEntity(level: Level?, location: Entity?, stack: ItemStack?): @Nullable Entity?
Link copied to clipboard
open fun <T : LivingEntity?> damageItem(stack: ItemStack?, amount: Int, @Nullable entity: @Nullable T?, onBroken: Consumer<Item?>?): Int
Link copied to clipboard
open fun doesSneakBypassUse(stack: ItemStack?, level: LevelReader?, pos: BlockPos?, player: Player?): Boolean
Link copied to clipboard
open fun elytraFlightTick(stack: ItemStack?, entity: LivingEntity?, flightTicks: Int): Boolean
Link copied to clipboard
open fun finishUsingItem(p_41409_: ItemStack?, p_41410_: Level?, p_41411_: LivingEntity?): ItemStack?
Link copied to clipboard
@ApiStatus.OverrideOnly
open fun getAllEnchantments(stack: ItemStack?, lookup: HolderLookup.RegistryLookup<Enchantment?>?): ItemEnchantments?
Link copied to clipboard
@Nullable
open fun getArmorTexture(stack: ItemStack?, entity: Entity?, slot: EquipmentSlot?, layer: ArmorMaterial.Layer?, innerModel: Boolean): @Nullable ResourceLocation?
Link copied to clipboard
open fun getAttackDamageBonus(p_345249_: Entity?, p_336179_: Float, p_345403_: DamageSource?): Float
Link copied to clipboard
open fun getBarColor(p_150901_: ItemStack?): Int
Link copied to clipboard
open fun getBarWidth(p_150900_: ItemStack?): Int
Link copied to clipboard
@ApiStatus.OverrideOnly
open fun getBurnTime(itemStack: ItemStack?, @Nullable recipeType: @Nullable RecipeType<*>?): Int
Link copied to clipboard
open fun getBytes(cellItem: ItemStack?): Int
Link copied to clipboard
open fun getBytesPerType(cellItem: ItemStack?): Int
Link copied to clipboard
open fun getCellTooltipImage(is: ItemStack?): Optional<TooltipComponent?>?
Link copied to clipboard
open fun getConfigInventory(is: ItemStack?): ConfigInventory?
Link copied to clipboard
open fun getCraftingRemainingItem(itemStack: ItemStack?): ItemStack?
Link copied to clipboard
@Nullable
open fun getCreatorModId(itemStack: ItemStack?): @Nullable String?
Link copied to clipboard
open fun getDamage(stack: ItemStack?): Int
Link copied to clipboard
open fun getDefaultAttributeModifiers(stack: ItemStack?): ItemAttributeModifiers?
Link copied to clipboard
open fun getDestroySpeed(p_41425_: ItemStack?, p_41426_: BlockState?): Float
Link copied to clipboard
@ApiStatus.OverrideOnly
open fun getEnchantmentLevel(stack: ItemStack?, enchantment: Holder<Enchantment?>?): Int
Link copied to clipboard
open fun getEnchantmentValue(stack: ItemStack?): Int
Link copied to clipboard
open fun getEntityLifespan(itemStack: ItemStack?, level: Level?): Int
Link copied to clipboard
@Nullable
open fun getEquipmentSlot(stack: ItemStack?): @Nullable EquipmentSlot?
Link copied to clipboard
@Nullable
open fun getFoodProperties(stack: ItemStack?, @Nullable entity: @Nullable LivingEntity?): @Nullable FoodProperties?
Link copied to clipboard
open fun getFuzzyMode(is: ItemStack?): FuzzyMode?
Link copied to clipboard
open fun getHighlightTip(item: ItemStack?, displayName: Component?): Component?
Link copied to clipboard
open fun getMaxDamage(stack: ItemStack?): Int
Link copied to clipboard
open fun getMaxStackSize(stack: ItemStack?): Int
Link copied to clipboard
open fun getName(p_41458_: ItemStack?): Component?
Link copied to clipboard
open fun getSweepHitBox(stack: ItemStack?, player: Player?, target: Entity?): AABB?
Link copied to clipboard
open fun getTooltipImage(stack: ItemStack?): Optional<TooltipComponent?>?
Link copied to clipboard
open fun getTotalTypes(cellItem: ItemStack?): Int
Link copied to clipboard
open fun getUpgrades(is: ItemStack?): IUpgradeInventory?
Link copied to clipboard
open fun getUseAnimation(p_41452_: ItemStack?): UseAnim?
Link copied to clipboard
open fun getUseDuration(p_41454_: ItemStack?, p_344979_: LivingEntity?): Int
Link copied to clipboard
open fun getXpRepairRatio(stack: ItemStack?): Float
Link copied to clipboard
open fun hasCraftingRemainingItem(stack: ItemStack?): Boolean
Link copied to clipboard
open fun hasCustomEntity(stack: ItemStack?): Boolean
Link copied to clipboard
open fun hurtEnemy(p_41395_: ItemStack?, p_41396_: LivingEntity?, p_41397_: LivingEntity?): Boolean
Link copied to clipboard
open fun initializeClient(consumer: Consumer<IClientItemExtensions?>?)
Link copied to clipboard
open fun interactLivingEntity(p_41398_: ItemStack?, p_41399_: Player?, p_41400_: LivingEntity?, p_41401_: InteractionHand?): InteractionResult?
Link copied to clipboard
open fun inventoryTick(p_41404_: ItemStack?, p_41405_: Level?, p_41406_: Entity?, p_41407_: Int, p_41408_: Boolean)
Link copied to clipboard
open fun isBarVisible(p_150899_: ItemStack?): Boolean
Link copied to clipboard
open fun isBlackListed(cellItem: ItemStack?, requestedAddition: AEKey?): Boolean
Link copied to clipboard
open fun isBookEnchantable(stack: ItemStack?, book: ItemStack?): Boolean
Link copied to clipboard
open fun isCorrectToolForDrops(p_336002_: ItemStack?, p_41450_: BlockState?): Boolean
Link copied to clipboard
open fun isDamageable(stack: ItemStack?): Boolean
Link copied to clipboard
open fun isDamaged(stack: ItemStack?): Boolean
Link copied to clipboard
open fun isEditable(is: ItemStack?): Boolean
Link copied to clipboard
open fun isEnabled(p_249172_: FeatureFlagSet?): Boolean
Link copied to clipboard
open fun isEnchantable(p_41456_: ItemStack?): Boolean
Link copied to clipboard
open fun isEnderMask(stack: ItemStack?, player: Player?, endermanEntity: EnderMan?): Boolean
Link copied to clipboard
open fun isFoil(p_41453_: ItemStack?): Boolean
Link copied to clipboard
open fun isNotReplaceableByPickAction(stack: ItemStack?, player: Player?, inventorySlot: Int): Boolean
Link copied to clipboard
open fun isPiglinCurrency(stack: ItemStack?): Boolean
Link copied to clipboard
@ApiStatus.OverrideOnly
open fun isPrimaryItemFor(stack: ItemStack?, enchantment: Holder<Enchantment?>?): Boolean
Link copied to clipboard
open fun isRepairable(stack: ItemStack?): Boolean
Link copied to clipboard
open fun isStorageCell(i: ItemStack?): Boolean
Link copied to clipboard
open fun isValidRepairItem(p_41402_: ItemStack?, p_41403_: ItemStack?): Boolean
Link copied to clipboard
open fun makesPiglinsNeutral(stack: ItemStack?, wearer: LivingEntity?): Boolean
Link copied to clipboard
open fun mineBlock(p_41416_: ItemStack?, p_41417_: Level?, p_41418_: BlockState?, p_41419_: BlockPos?, p_41420_: LivingEntity?): Boolean
Link copied to clipboard
@ApiStatus.Internal
open fun modifyDefaultComponentsFrom(patch: DataComponentPatch?)
Link copied to clipboard
@ApiStatus.OverrideOnly
open fun onAnimalArmorTick(stack: ItemStack?, level: Level?, horse: Mob?)
Link copied to clipboard
open fun onCraftedBy(p_41447_: ItemStack?, p_41448_: Level?, p_41449_: Player?)
Link copied to clipboard
open fun onCraftedPostProcess(p_307483_: ItemStack?, p_307537_: Level?)
Link copied to clipboard
open fun onDestroyed(p_150887_: ItemEntity?)
open fun onDestroyed(itemEntity: ItemEntity?, damageSource: DamageSource?)
Link copied to clipboard
open fun onDroppedByPlayer(item: ItemStack?, player: Player?): Boolean
Link copied to clipboard
open fun onEntityItemUpdate(stack: ItemStack?, entity: ItemEntity?): Boolean
Link copied to clipboard
open fun onEntitySwing(stack: ItemStack?, entity: LivingEntity?): Boolean
open fun onEntitySwing(stack: ItemStack?, entity: LivingEntity?, hand: InteractionHand?): Boolean
Link copied to clipboard
open fun onItemUseFirst(stack: ItemStack?, context: UseOnContext?): InteractionResult?
Link copied to clipboard
open fun onLeftClickEntity(stack: ItemStack?, player: Player?, entity: Entity?): Boolean
Link copied to clipboard
open fun onStopUsing(stack: ItemStack?, entity: LivingEntity?, count: Int)
Link copied to clipboard
open fun onUseTick(p_41428_: Level?, p_41429_: LivingEntity?, p_41430_: ItemStack?, p_41431_: Int)
Link copied to clipboard
open fun overrideOtherStackedOnMe(p_150892_: ItemStack?, p_150893_: ItemStack?, p_150894_: Slot?, p_150895_: ClickAction?, p_150896_: Player?, p_150897_: SlotAccess?): Boolean
Link copied to clipboard
open fun overrideStackedOnOther(p_150888_: ItemStack?, p_150889_: Slot?, p_150890_: ClickAction?, p_150891_: Player?): Boolean
Link copied to clipboard
open fun postHurtEnemy(p_346136_: ItemStack?, p_346250_: LivingEntity?, p_346014_: LivingEntity?)
Link copied to clipboard
open fun releaseUsing(p_41412_: ItemStack?, p_41413_: Level?, p_41414_: LivingEntity?, p_41415_: Int)
Link copied to clipboard
open fun requiredFeatures(): FeatureFlagSet?
Link copied to clipboard
open fun setDamage(stack: ItemStack?, damage: Int)
Link copied to clipboard
open fun setFuzzyMode(is: ItemStack?, fzMode: FuzzyMode?)
Link copied to clipboard
open fun shouldCauseBlockBreakReset(oldStack: ItemStack?, newStack: ItemStack?): Boolean
Link copied to clipboard
open fun shouldCauseReequipAnimation(oldStack: ItemStack?, newStack: ItemStack?, slotChanged: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
@ApiStatus.OverrideOnly
open fun supportsEnchantment(stack: ItemStack?, enchantment: Holder<Enchantment?>?): Boolean
Link copied to clipboard
open fun use(level: Level?, player: Player?, hand: InteractionHand?): InteractionResultHolder<ItemStack?>?
Link copied to clipboard
open fun useOn(p_41427_: UseOnContext?): InteractionResult?
Link copied to clipboard
open fun useOnRelease(p_41464_: ItemStack?): Boolean
Link copied to clipboard
open fun verifyComponentsAfterLoad(p_331627_: ItemStack?)