net.minecraft.world.item

public class SpyglassItem

extends Item

All mapped superinterfaces:

ItemLike

cbf
net.minecraft.world.item.SpyglassItem
net.minecraft.class_5538
net.minecraft.item.SpyglassItem
net.minecraft.src.C_141175_
net.minecraft.world.item.SpyglassItem

Field summary

Modifier and TypeField
public static final int
a
USE_DURATION
field_30921
MAX_USE_TIME
f_151202_
public static final float
b
ZOOM_FOV_MODIFIER
field_30922
field_30922
f_151203_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public int
b(caa arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
m_8105_(C_1391_ arg0)
public UseAnim
c(caa arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public InteractionResultHolder<ItemStack>
a(cga arg0, btf arg1, azl arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_151219_, C_1141_ p_151220_, C_470_ arg2)
public ItemStack
a(caa arg0, cga arg1, bbf arg2)
finishUsingItem(ItemStack arg0, Level arg1, LivingEntity arg2)
method_7861(class_1799 arg0, class_1937 arg1, class_1309 arg2)
finishUsing(ItemStack arg0, World arg1, LivingEntity arg2)
m_5922_(C_1391_ p_151210_, C_1596_ p_151211_, C_524_ arg2)
public void
a(caa arg0, cga arg1, bbf arg2, int arg3)
releaseUsing(ItemStack arg0, Level arg1, LivingEntity arg2, int arg3)
method_7840(class_1799 arg0, class_1937 arg1, class_1309 arg2, int arg3)
onStoppedUsing(ItemStack arg0, World arg1, LivingEntity arg2, int arg3)
m_5551_(C_1391_ p_151214_, C_1596_ p_151215_, C_524_ p_151216_, int arg3)
private void
a(bbf arg0)
stopUsing(LivingEntity arg0)
method_31582(class_1309 arg0)
playStopUsingSound(LivingEntity user)
m_151206_(C_524_ arg0)