Class RadioItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.BlockItem
com.codinglitch.simpleradio.core.registry.items.RadioItem
- All Implemented Interfaces:
Frequencing,Alterable,net.fabricmc.fabric.api.item.v1.FabricItem,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike
-
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.BlockItem
BLOCK_ENTITY_TAG, BLOCK_STATE_TAGFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHoverText(net.minecraft.world.item.ItemStack stack, @Nullable net.minecraft.world.level.Level level, List<net.minecraft.network.chat.Component> components, net.minecraft.world.item.TooltipFlag tooltip) booleancanAcceptUpgrade(Module upgrade) voidinventoryTick(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity, int slot, boolean b) net.minecraft.world.InteractionResultplace(net.minecraft.world.item.context.BlockPlaceContext context) Methods inherited from class net.minecraft.world.item.BlockItem
canFitInsideContainerItems, canPlace, getBlock, getBlockEntityData, getDescriptionId, getPlacementState, getPlaceSound, mustSurvive, onDestroyed, placeBlock, registerBlocks, requiredFeatures, setBlockEntityData, updateCustomBlockEntityTag, updateCustomBlockEntityTag, updatePlacementContext, useOnMethods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isValidRepairItem, mineBlock, onCraftedBy, onCraftedPostProcess, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, useOnRelease, verifyTagAfterLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.codinglitch.simpleradio.core.central.Alterable
canAcceptUpgradeMethods inherited from interface net.fabricmc.fabric.api.item.v1.FabricItem
allowContinuingBlockBreaking, allowNbtUpdateAnimation, canBeEnchantedWith, getAttributeModifiers, getFoodComponent, getIntrinsicEnchantments, getRecipeRemainder, isSuitableForMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface com.codinglitch.simpleradio.api.central.Frequencing
appendTooltip, calculateAntennaPower, getAntennaBase, getAntennaPower, getDefaultFrequency, getDefaultModulation, getFrequency, getFrequency, markDirty, setFrequency, setFrequency, setFrequency, tick, validateLocation, validateLocation
-
Constructor Details
-
RadioItem
public RadioItem(net.minecraft.world.item.Item.Properties settings)
-
-
Method Details
-
appendHoverText
public void appendHoverText(net.minecraft.world.item.ItemStack stack, @Nullable @Nullable net.minecraft.world.level.Level level, List<net.minecraft.network.chat.Component> components, net.minecraft.world.item.TooltipFlag tooltip) - Overrides:
appendHoverTextin classnet.minecraft.world.item.BlockItem
-
inventoryTick
public void inventoryTick(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity, int slot, boolean b) - Overrides:
inventoryTickin classnet.minecraft.world.item.Item
-
place
public net.minecraft.world.InteractionResult place(net.minecraft.world.item.context.BlockPlaceContext context) - Overrides:
placein classnet.minecraft.world.item.BlockItem
-
canAcceptUpgrade
- Specified by:
canAcceptUpgradein interfaceAlterable
-