net.minecraft.world.item

public class LeadItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cxz
net.minecraft.world.item.LeadItem
net.minecraft.class_1804
net.minecraft.item.LeadItem
net.minecraft.world.item.ItemLeash

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public InteractionResult
a(dbi arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
public static InteractionResult
a(cpx arg0, dhi arg1, jh arg2)
bindPlayerMobs(Player arg0, Level arg1, BlockPos arg2)
method_7994(class_1657 arg0, class_1937 arg1, class_2338 arg2)
attachHeldMobsToBlock(PlayerEntity player, World world, BlockPos pos)
public static List<Leashable>
a(dhi arg0, jh arg1, Predicate<bwe> arg2)
leashableInArea(Level arg0, BlockPos arg1, Predicate<Leashable> arg2)
method_61166(class_1937 arg0, class_2338 arg1, Predicate<class_9817> arg2)
collectLeashablesAround(World world, BlockPos pos, Predicate<Leashable> predicate)