net.minecraft.world.item

public class SpyglassItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

czb
net.minecraft.world.item.SpyglassItem
net.minecraft.class_5538
net.minecraft.item.SpyglassItem
net.minecraft.world.item.SpyglassItem

Field summary

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

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public int
a(cxp arg0, bwg arg1)
getUseDuration(ItemStack arg0, LivingEntity arg1)
method_7881(class_1799 arg0, class_1309 arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
public ItemUseAnimation
b(cxp arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
public InteractionResult
a(dhi arg0, cpx arg1, bti 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)
public ItemStack
a(cxp arg0, dhi arg1, bwg 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)
public boolean
a(cxp arg0, dhi arg1, bwg 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)
private void
b(bwg arg0)
stopUsing(LivingEntity arg0)
method_31582(class_1309 arg0)
playStopUsingSound(LivingEntity user)