net.minecraft.world.item

public class HangingEntityItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cyg
net.minecraft.world.item.HangingEntityItem
net.minecraft.class_1790
net.minecraft.item.DecorationItem

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public InteractionResult
a(dcn arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
protected boolean
a(cqs arg0, ja arg1, cys arg2, iu arg3)
mayPlace(Player arg0, Direction arg1, ItemStack arg2, BlockPos arg3)
method_7834(class_1657 arg0, class_2350 arg1, class_1799 arg2, class_2338 arg3)
canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos)
public void
a(cys arg0, cyo$b arg1, dbw arg2, Consumer<ww> arg3, dah arg4)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, TooltipDisplay arg2, Consumer<Component> arg3, TooltipFlag arg4)
method_67187(class_1799 arg0, class_1792$class_9635 arg1, class_10712 arg2, Consumer<class_2561> arg3, class_1836 arg4)
method_67187(ItemStack arg0, Item$TooltipContext arg1, class_10712 arg2, Consumer<Text> arg3, TooltipType arg4)