net.minecraft.world.item

public class CompassItem

extends Item implements Vanishable

All mapped superinterfaces:

ItemLike, Vanishable

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

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
d
LOGGER
field_24670
LOGGER
f_40715_
public static final String
a
TAG_LODESTONE_POS
field_30860
LODESTONE_POS_KEY
f_150786_
public static final String
b
TAG_LODESTONE_DIMENSION
field_30861
LODESTONE_DIMENSION_KEY
f_150787_
public static final String
c
TAG_LODESTONE_TRACKED
field_30862
LODESTONE_TRACKED_KEY
f_150788_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static boolean
d(bue arg0)
isLodestoneCompass(ItemStack arg0)
method_26365(class_1799 arg0)
hasLodestone(ItemStack stack)
m_40736_(C_1391_ p_40737_)
public boolean
i(bue arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasGlint(ItemStack arg0)
m_5812_(C_1391_ arg0)
public static Optional<ResourceKey<Level>>
a(oc arg0)
getLodestoneDimension(CompoundTag arg0)
method_26364(class_2487 arg0)
getLodestoneDimension(NbtCompound nbt)
m_40727_(C_4917_ p_40728_)
public void
a(bue arg0, cad arg1, awt 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(bwg arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
private void
a(yg<cad> arg0, gh arg1, oc arg2)
addLodestoneTags(ResourceKey<Level> arg0, BlockPos arg1, CompoundTag arg2)
method_27315(class_5321<class_1937> arg0, class_2338 arg1, class_2487 arg2)
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(bue arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
getTranslationKey(ItemStack arg0)
m_5671_(C_1391_ arg0)