net.minecraft.world.item

public class HangingEntityItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cfk
net.minecraft.world.item.HangingEntityItem
net.minecraft.class_1790
net.minecraft.unmapped.C_dkzfqzfz
net.minecraft.item.DecorationItem
net.minecraft.item.DecorationItem
net.minecraft.src.C_1377_
net.minecraft.world.item.ItemHanging

Field summary

Modifier and TypeField
private static final Component
a
TOOLTIP_RANDOM_VARIANT
field_42467
f_wcgltxzw
RANDOM_TEXT
RANDOM_PAINTING_TEXT
f_268736_
private final EntityType<? extends HangingEntity>
b
type
field_7999
f_tebxtjbx
entityType
entityType
f_41322_

Constructor summary

ModifierConstructor
public (EntityType<? extends HangingEntity> type, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cij 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)
protected boolean
a(byo arg0, ha arg1, cfz arg2, gu arg3)
mayPlace(Player arg0, Direction arg1, ItemStack arg2, BlockPos arg3)
method_7834(class_1657 arg0, class_2350 arg1, class_1799 arg2, class_2338 arg3)
m_eulfubtw(C_jzrpycqo arg0, C_xpuuihxf arg1, C_sddaxwyk arg2, C_hynzadkk arg3)
canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos)
canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos)
m_5595_(C_1141_ p_41327_, C_4687_ p_41328_, C_1391_ p_41329_, C_4675_ arg3)
public void
a(cfz arg0, cmm arg1, List<sw> arg2, chq arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_cdctfzbn arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
m_7373_(C_1391_ p_270688_, C_1596_ p_270630_, List<C_4996_> p_270170_, C_1431_ arg3)