net.minecraft.world.item

public class CompassItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cta
net.minecraft.world.item.CompassItem
net.minecraft.class_1759
net.minecraft.item.CompassItem
net.minecraft.src.C_1334_
net.minecraft.world.item.ItemCompass

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static GlobalPos
a(dca arg0)
getSpawnPosition(Level arg0)
method_43123(class_1937 arg0)
createSpawnPos(World world)
m_220019_(C_1596_ p_220020_)
public boolean
d_(cur arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasGlint(ItemStack arg0)
m_5812_(C_1391_ arg0)
public void
a(cur arg0, dca arg1, bsw arg2, int arg3, boolean arg4)
inventoryTick(ItemStack arg0, Level arg1, Entity arg2, int arg3, boolean arg4)
method_7888(class_1799 arg0, class_1937 arg1, class_1297 arg2, int arg3, boolean arg4)
inventoryTick(ItemStack arg0, World arg1, Entity arg2, int arg3, boolean arg4)
m_6883_(C_1391_ p_40721_, C_1596_ p_40722_, C_507_ p_40723_, int p_40724_, boolean arg4)
public InteractionResult
a(cye arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public String
i(cur arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
getTranslationKey(ItemStack arg0)
m_5671_(C_1391_ arg0)