net.minecraft.world.item

public class CompassItem

extends Item implements Vanishable

All mapped superinterfaces:

ItemLike, Vanishable

byk
net.minecraft.world.item.CompassItem
net.minecraft.class_1759
net.minecraft.unmapped.C_jetfzyyi
net.minecraft.item.CompassItem
net.minecraft.item.CompassItem
net.minecraft.src.C_1334_
net.minecraft.world.item.ItemCompass

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_24670
f_mguwsctk
LOGGER
LOGGER
f_40715_
public static final String
a
TAG_LODESTONE_POS
field_30860
f_hioqjzzk
LODESTONE_POS_KEY
LODESTONE_POS_KEY
f_150786_
public static final String
b
TAG_LODESTONE_DIMENSION
field_30861
f_scgvreun
LODESTONE_DIMENSION_KEY
LODESTONE_DIMENSION_KEY
f_150787_
public static final String
c
TAG_LODESTONE_TRACKED
field_30862
f_kxhidhak
LODESTONE_TRACKED_KEY
LODESTONE_TRACKED_KEY
f_150788_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static boolean
d(caa arg0)
isLodestoneCompass(ItemStack arg0)
method_26365(class_1799 arg0)
m_rlbiskbo(C_sddaxwyk arg0)
hasLodestone(ItemStack stack)
hasLodestone(ItemStack stack)
m_40736_(C_1391_ p_40737_)
private static Optional<ResourceKey<Level>>
c(pj arg0)
getLodestoneDimension(CompoundTag arg0)
method_26364(class_2487 arg0)
m_mqyuxqrl(C_hhlwcnih arg0)
getLodestoneDimension(NbtCompound nbt)
getLodestoneDimension(NbtCompound nbt)
m_40727_(C_4917_ p_40728_)
public static GlobalPos
a(pj arg0)
getLodestonePosition(CompoundTag arg0)
method_43124(class_2487 arg0)
m_ucwcymfo(C_hhlwcnih arg0)
createLodestonePos(NbtCompound nbt)
getLodestonePosition(NbtCompound nbt)
m_220021_(C_4917_ p_220022_)
public static GlobalPos
a(cga arg0)
getSpawnPosition(Level arg0)
method_43123(class_1937 arg0)
m_gyoellwj(C_cdctfzbn arg0)
createSpawnPos(World world)
getSpawnPosition(World world)
m_220019_(C_1596_ p_220020_)
public boolean
i(caa arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
m_pppzvkhc(C_sddaxwyk arg0)
hasGlint(ItemStack arg0)
hasGlint(ItemStack arg0)
m_5812_(C_1391_ arg0)
public void
a(caa arg0, cga arg1, baq 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)
m_qqswvlkq(C_sddaxwyk arg0, C_cdctfzbn arg1, C_astfners arg2, int arg3, boolean arg4)
inventoryTick(ItemStack arg0, World arg1, Entity 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(ccc arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
m_mtceqnlj(C_yyklzime arg0)
useOnBlock(ItemUsageContext arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
private void
a(aai<cga> arg0, gt arg1, pj arg2)
addLodestoneTags(ResourceKey<Level> arg0, BlockPos arg1, CompoundTag arg2)
method_27315(class_5321<class_1937> arg0, class_2338 arg1, class_2487 arg2)
m_xhxqdnuo(C_xhhleach<C_cdctfzbn> arg0, C_hynzadkk arg1, C_hhlwcnih arg2)
writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt)
writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt)
m_40732_(C_5264_<C_1596_> p_40734_, C_4675_ p_40735_, C_4917_ arg2)
public String
j(caa arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
m_qibylykw(C_sddaxwyk arg0)
getTranslationKey(ItemStack arg0)
getTranslationKey(ItemStack arg0)
m_5671_(C_1391_ arg0)