net.minecraft.world.item

public class LeadItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cxa
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(daj arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
public static InteractionResult
a(coy arg0, dgj arg1, ji 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(dgj arg0, ji arg1, Predicate<bvg> 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)