Class StopUsingItemTest.InvertedTelescope

java.lang.Object
net.minecraft.world.item.Item
net.neoforged.neoforge.oldtest.item.StopUsingItemTest.InvertedTelescope
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, IItemExtension
Enclosing class:
StopUsingItemTest

private abstract static class StopUsingItemTest.InvertedTelescope extends net.minecraft.world.item.Item
  • Constructor Details

    • InvertedTelescope

      public InvertedTelescope(net.minecraft.world.item.Item.Properties props)
  • Method Details

    • getUseDuration

      public int getUseDuration(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity entity)
      Overrides:
      getUseDuration in class net.minecraft.world.item.Item
    • getUseAnimation

      public net.minecraft.world.item.ItemUseAnimation getUseAnimation(net.minecraft.world.item.ItemStack stack)
      Overrides:
      getUseAnimation in class net.minecraft.world.item.Item
    • use

      public net.minecraft.world.InteractionResult use(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
      Overrides:
      use in class net.minecraft.world.item.Item
    • removeFov

      public static void removeFov(net.minecraft.world.entity.LivingEntity living)