History - net.minecraft.item.ItemUsageContext
26.3-snapshot-3
Names
Fields
Constructors
Methods
26.3-snapshot-2
Names
Fields
Constructors
Methods
26.3-snapshot-1
Names
Fields
Constructors
Methods
26.2
Names
Fields
Constructors
Methods
26.1.2
Names
Fields
Constructors
Methods
26.1.1
Names
Fields
Constructors
Methods
26.1
Names
Fields
Constructors
Methods
1.21.11_unobfuscated
Names
net.minecraft.world.item.context.UseOnContext
net.minecraft.class_1838
net.minecraft.item.ItemUsageContext
Fields
PlayerEntity: player, field_8942, player
Hand: hand, field_19176, hand
BlockHitResult: hitResult, field_17543, hit
World: level, field_8945, world
ItemStack: itemStack, field_8941, stack
Constructors
(PlayerEntity, Hand, BlockHitResult)
(World, PlayerEntity, Hand, ItemStack, BlockHitResult)
Methods
BlockHitResult (): getHitResult, method_30344, getHitResult
BlockPos (): getClickedPos, method_8037, getBlockPos
Direction (): getClickedFace, method_8038, getSide
Vec3d (): getClickLocation, method_17698, getHitPos
boolean (): isInside, method_17699, hitsInsideBlock
ItemStack (): getItemInHand, method_8041, getStack
PlayerEntity (): getPlayer, method_8036, getPlayer
Hand (): getHand, method_20287, getHand
World (): getLevel, method_8045, getWorld
Direction (): getHorizontalDirection, method_8042, getHorizontalPlayerFacing
boolean (): isSecondaryUseActive, method_8046, shouldCancelInteraction
float (): getRotation, method_8044, getPlayerYaw