Class ArchitecturyRecordItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.RecordItem
dev.architectury.core.item.ArchitecturyRecordItem
All Implemented Interfaces:
InjectedItemExtension, InjectedRegistryEntryExtension<net.minecraft.world.item.Item>, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike

public class ArchitecturyRecordItem extends net.minecraft.world.item.RecordItem
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.item.Item

    net.minecraft.world.item.Item.Properties
  • Field Summary

    Fields inherited from class net.minecraft.world.item.RecordItem

    BY_NAME

    Fields inherited from class net.minecraft.world.item.Item

    BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZE

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArchitecturyRecordItem(int analogOutput, RegistrySupplier<net.minecraft.sounds.SoundEvent> sound, net.minecraft.world.item.Item.Properties properties, int lengthInSeconds)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.sounds.SoundEvent
     

    Methods inherited from class net.minecraft.world.item.RecordItem

    appendHoverText, getAnalogOutput, getBySound, getDisplayName, getLengthInTicks, useOn

    Methods inherited from class net.minecraft.world.item.Item

    asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isValidRepairItem, mineBlock, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, use, useOnRelease, verifyTagAfterLoad

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.flag.FeatureElement

    isEnabled

    Methods inherited from interface dev.architectury.extensions.injected.InjectedItemExtension

    arch$holder

    Methods inherited from interface dev.architectury.extensions.injected.InjectedRegistryEntryExtension

    arch$registryName
  • Constructor Details

    • ArchitecturyRecordItem

      public ArchitecturyRecordItem(int analogOutput, RegistrySupplier<net.minecraft.sounds.SoundEvent> sound, net.minecraft.world.item.Item.Properties properties, int lengthInSeconds)
  • Method Details

    • getSound

      public net.minecraft.sounds.SoundEvent getSound()
      Overrides:
      getSound in class net.minecraft.world.item.RecordItem