Package dev.architectury.core.item
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_NAMEFields 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_SIZEFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
ConstructorsConstructorDescriptionArchitecturyRecordItem(int analogOutput, RegistrySupplier<net.minecraft.sounds.SoundEvent> sound, net.minecraft.world.item.Item.Properties properties, int lengthInSeconds) -
Method Summary
Methods inherited from class net.minecraft.world.item.RecordItem
appendHoverText, getAnalogOutput, getBySound, getDisplayName, getLengthInTicks, useOnMethods 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, verifyTagAfterLoadMethods 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 dev.architectury.extensions.injected.InjectedItemExtension
arch$holderMethods 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:
getSoundin classnet.minecraft.world.item.RecordItem
-