net.minecraft.world.item

public class CompassItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cwd
net.minecraft.world.item.CompassItem
net.minecraft.class_1759
net.minecraft.item.CompassItem
net.minecraft.world.item.ItemCompass

Field summary

Modifier and TypeField
private static final Component
a
LODESTONE_COMPASS_NAME
field_54114
LODESTONE_COMPASS_NAME

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static GlobalPos
a(dhi arg0)
getSpawnPosition(Level arg0)
method_43123(class_1937 arg0)
createSpawnPos(World world)
public boolean
c_(cxp arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasGlint(ItemStack arg0)
public void
a(cxp arg0, dhi arg1, bvk 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)
public InteractionResult
a(dbi arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
public Component
a(cxp arg0)
getName(ItemStack arg0)
method_7864(class_1799 arg0)
getName(ItemStack arg0)