Class TransmitterItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.BlockItem
com.codinglitch.simpleradio.core.registry.items.TransmitterItem
All Implemented Interfaces:
Frequencing, Alterable, net.fabricmc.fabric.api.item.v1.FabricItem, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike

public class TransmitterItem extends net.minecraft.world.item.BlockItem implements Frequencing, Alterable
  • 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_TAG

    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
    TransmitterItem(net.minecraft.world.item.Item.Properties settings)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendHoverText(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)
     
    boolean
     
    void
    inventoryTick(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.InteractionResult
    place(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, useOn

    Methods 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, verifyTagAfterLoad

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.codinglitch.simpleradio.core.central.Alterable

    canAcceptUpgrade

    Methods inherited from interface net.fabricmc.fabric.api.item.v1.FabricItem

    allowContinuingBlockBreaking, allowNbtUpdateAnimation, canBeEnchantedWith, getAttributeModifiers, getFoodComponent, getIntrinsicEnchantments, getRecipeRemainder, isSuitableFor

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

    isEnabled
  • Constructor Details

    • TransmitterItem

      public TransmitterItem(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:
      appendHoverText in class net.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:
      inventoryTick in class net.minecraft.world.item.Item
    • place

      public net.minecraft.world.InteractionResult place(net.minecraft.world.item.context.BlockPlaceContext context)
      Overrides:
      place in class net.minecraft.world.item.BlockItem
    • canAcceptUpgrade

      public boolean canAcceptUpgrade(Module upgrade)
      Specified by:
      canAcceptUpgrade in interface Alterable