Uses of Class
net.minecraft.util.Hand
-
-
Uses of Hand in net.minecraft.block
Methods in net.minecraft.block with parameters of type Hand Modifier and Type Method Description ActionResultType
AbstractBlock.AbstractBlockState. use(World p_227031_1_, PlayerEntity p_227031_2_, Hand p_227031_3_, BlockRayTraceResult p_227031_4_)
ActionResultType
AbstractBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
Deprecated.ActionResultType
AbstractButtonBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
AbstractFurnaceBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
AbstractSignBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
AnvilBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BarrelBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BeaconBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BedBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BeehiveBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BellBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BrewingStandBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CakeBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CampfireBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CartographyTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CauldronBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
ChestBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CommandBlockBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
ComparatorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
ComposterBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CraftingTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
DaylightDetectorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
DispenserBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
DoorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
DragonEggBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
EnchantingTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
EnderChestBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FenceBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FenceGateBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FletchingTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FlowerPotBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
GrindstoneBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
HopperBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
JigsawBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
JukeboxBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
LecternBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
LeverBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
LoomBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
MovingPistonBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
NoteBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
PumpkinBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
RedstoneOreBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
RedstoneWireBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
RepeaterBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
RespawnAnchorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
ShulkerBoxBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
SmithingTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
StairsBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
StonecutterBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
StructureBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
SweetBerryBushBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
TNTBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
TrapDoorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
-
Uses of Hand in net.minecraft.client.entity.player
Fields in net.minecraft.client.entity.player declared as Hand Modifier and Type Field Description private Hand
ClientPlayerEntity. usingItemHand
Methods in net.minecraft.client.entity.player that return Hand Modifier and Type Method Description Hand
ClientPlayerEntity. getUsedItemHand()
Methods in net.minecraft.client.entity.player with parameters of type Hand Modifier and Type Method Description void
ClientPlayerEntity. openItemGui(ItemStack p_184814_1_, Hand p_184814_2_)
void
ClientPlayerEntity. startUsingItem(Hand p_184598_1_)
void
ClientPlayerEntity. swing(Hand p_184609_1_)
-
Uses of Hand in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Hand Modifier and Type Field Description private Hand
EditBookScreen. hand
Constructors in net.minecraft.client.gui.screen with parameters of type Hand Constructor Description EditBookScreen(PlayerEntity p_i51100_1_, ItemStack p_i51100_2_, Hand p_i51100_3_)
-
Uses of Hand in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type Hand Modifier and Type Method Description ActionResultType
PlayerController. interact(PlayerEntity p_187097_1_, Entity p_187097_2_, Hand p_187097_3_)
ActionResultType
PlayerController. interactAt(PlayerEntity p_187102_1_, Entity p_187102_2_, EntityRayTraceResult p_187102_3_, Hand p_187102_4_)
ActionResultType
PlayerController. useItem(PlayerEntity p_187101_1_, World p_187101_2_, Hand p_187101_3_)
ActionResultType
PlayerController. useItemOn(ClientPlayerEntity p_217292_1_, ClientWorld p_217292_2_, Hand p_217292_3_, BlockRayTraceResult p_217292_4_)
-
Uses of Hand in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type Hand Modifier and Type Method Description void
FirstPersonRenderer. itemUsed(Hand p_187460_1_)
private void
FirstPersonRenderer. renderArmWithItem(AbstractClientPlayerEntity p_228405_1_, float p_228405_2_, float p_228405_3_, Hand p_228405_4_, float p_228405_5_, ItemStack p_228405_6_, float p_228405_7_, MatrixStack p_228405_8_, IRenderTypeBuffer p_228405_9_, int p_228405_10_)
-
Uses of Hand in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type Hand Modifier and Type Method Description private static BipedModel.ArmPose
PlayerRenderer. getArmPose(AbstractClientPlayerEntity p_241741_0_, Hand p_241741_1_)
-
Uses of Hand in net.minecraft.entity
Fields in net.minecraft.entity declared as Hand Modifier and Type Field Description Hand
LivingEntity. swingingArm
Methods in net.minecraft.entity that return Hand Modifier and Type Method Description Hand
LivingEntity. getUsedItemHand()
Methods in net.minecraft.entity with parameters of type Hand Modifier and Type Method Description void
LivingEntity. broadcastBreakEvent(Hand p_213334_1_)
private ActionResultType
MobEntity. checkAndHandleImportantInteractions(PlayerEntity p_233661_1_, Hand p_233661_2_)
ItemStack
LivingEntity. getItemInHand(Hand p_184586_1_)
ActionResultType
Entity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
MobEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
Entity. interactAt(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_)
protected ActionResultType
MobEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
void
LivingEntity. setItemInHand(Hand p_184611_1_, ItemStack p_184611_2_)
void
LivingEntity. startUsingItem(Hand p_184598_1_)
void
LivingEntity. swing(Hand p_184609_1_)
void
LivingEntity. swing(Hand p_226292_1_, boolean p_226292_2_)
-
Uses of Hand in net.minecraft.entity.item
Methods in net.minecraft.entity.item with parameters of type Hand Modifier and Type Method Description ActionResultType
BoatEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ItemFrameEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
LeashKnotEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ArmorStandEntity. interactAt(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_)
private boolean
ArmorStandEntity. swapItem(PlayerEntity p_226529_1_, EquipmentSlotType p_226529_2_, ItemStack p_226529_3_, Hand p_226529_4_)
-
Uses of Hand in net.minecraft.entity.item.minecart
Methods in net.minecraft.entity.item.minecart with parameters of type Hand Modifier and Type Method Description ActionResultType
CommandBlockMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ContainerMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
FurnaceMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
MinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
-
Uses of Hand in net.minecraft.entity.merchant.villager
Methods in net.minecraft.entity.merchant.villager with parameters of type Hand Modifier and Type Method Description ActionResultType
VillagerEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
WanderingTraderEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of Hand in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster with parameters of type Hand Modifier and Type Method Description protected ActionResultType
CreeperEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
HoglinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ZombieVillagerEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of Hand in net.minecraft.entity.monster.piglin
Methods in net.minecraft.entity.monster.piglin with parameters of type Hand Modifier and Type Method Description ActionResultType
PiglinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
static ActionResultType
PiglinTasks. mobInteract(PiglinEntity p_234471_0_, PlayerEntity p_234471_1_, Hand p_234471_2_)
-
Uses of Hand in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type Hand Modifier and Type Method Description ActionResultType
AnimalEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
CatEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
CowEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected ActionResultType
DolphinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected ActionResultType
IronGolemEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
MooshroomEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
OcelotEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
PandaEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ParrotEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
PigEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
SheepEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected ActionResultType
SnowGolemEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
StriderEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
WolfEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of Hand in net.minecraft.entity.passive.fish
Methods in net.minecraft.entity.passive.fish with parameters of type Hand Modifier and Type Method Description protected ActionResultType
AbstractFishEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of Hand in net.minecraft.entity.passive.horse
Methods in net.minecraft.entity.passive.horse with parameters of type Hand Modifier and Type Method Description ActionResultType
AbstractChestedHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
HorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
SkeletonHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ZombieHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
-
Uses of Hand in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type Hand Modifier and Type Method Description ActionResultType
PlayerEntity. interactOn(Entity p_190775_1_, Hand p_190775_2_)
void
PlayerEntity. openItemGui(ItemStack p_184814_1_, Hand p_184814_2_)
void
ServerPlayerEntity. openItemGui(ItemStack p_184814_1_, Hand p_184814_2_)
void
ServerPlayerEntity. swing(Hand p_184609_1_)
-
Uses of Hand in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return Hand Modifier and Type Method Description static Hand
ProjectileHelper. getWeaponHoldingHand(LivingEntity livingEntity, java.util.function.Predicate<Item> itemPredicate)
static Hand
ProjectileHelper. getWeaponHoldingHand(LivingEntity p_221274_0_, Item p_221274_1_)
Deprecated. -
Uses of Hand in net.minecraft.item
Fields in net.minecraft.item declared as Hand Modifier and Type Field Description private Hand
ItemUseContext. hand
Methods in net.minecraft.item that return Hand Modifier and Type Method Description Hand
ItemUseContext. getHand()
Methods in net.minecraft.item with parameters of type Hand Modifier and Type Method Description ActionResultType
DyeItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
Item. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
ItemStack. interactLivingEntity(PlayerEntity p_111282_1_, LivingEntity p_111282_2_, Hand p_111282_3_)
ActionResultType
NameTagItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
SaddleItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
ShearsItem. interactLivingEntity(ItemStack stack, PlayerEntity playerIn, LivingEntity entity, Hand hand)
static void
CrossbowItem. performShooting(World p_220014_0_, LivingEntity p_220014_1_, Hand p_220014_2_, ItemStack p_220014_3_, float p_220014_4_, float p_220014_5_)
private static void
CrossbowItem. shootProjectile(World p_220016_0_, LivingEntity p_220016_1_, Hand p_220016_2_, ItemStack p_220016_3_, ItemStack p_220016_4_, float p_220016_5_, boolean p_220016_6_, float p_220016_7_, float p_220016_8_, float p_220016_9_)
ActionResult<ItemStack>
ArmorItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BoatItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BowItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BucketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
CrossbowItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EggItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ElytraItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EnderEyeItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EnderPearlItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ExperienceBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
FireworkRocketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
FishingRodItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
GlassBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
HoneyBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
Item. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ItemStack. use(World p_77957_1_, PlayerEntity p_77957_2_, Hand p_77957_3_)
ActionResult<ItemStack>
KnowledgeBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
LilyPadItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
LingeringPotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
MapItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
MilkBucketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
OnAStickItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
PotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ShieldItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SnowballItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SpawnEggItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SplashPotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ThrowablePotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
TridentItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
WritableBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
WrittenBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
Constructors in net.minecraft.item with parameters of type Hand Constructor Description BlockItemUseContext(PlayerEntity p_i241237_1_, Hand p_i241237_2_, ItemStack p_i241237_3_, BlockRayTraceResult p_i241237_4_)
BlockItemUseContext(World p_i50056_1_, PlayerEntity p_i50056_2_, Hand p_i50056_3_, ItemStack p_i50056_4_, BlockRayTraceResult p_i50056_5_)
ItemUseContext(PlayerEntity p_i50033_1_, Hand p_i50033_2_, BlockRayTraceResult p_i50033_3_)
ItemUseContext(World p_i50034_1_, PlayerEntity p_i50034_2_, Hand p_i50034_3_, ItemStack p_i50034_4_, BlockRayTraceResult p_i50034_5_)
-
Uses of Hand in net.minecraft.network.play.client
Fields in net.minecraft.network.play.client declared as Hand Modifier and Type Field Description private Hand
CAnimateHandPacket. hand
private Hand
CPlayerTryUseItemOnBlockPacket. hand
private Hand
CPlayerTryUseItemPacket. hand
private Hand
CUseEntityPacket. hand
Methods in net.minecraft.network.play.client that return Hand Modifier and Type Method Description Hand
CAnimateHandPacket. getHand()
Hand
CPlayerTryUseItemOnBlockPacket. getHand()
Hand
CPlayerTryUseItemPacket. getHand()
Hand
CUseEntityPacket. getHand()
Constructors in net.minecraft.network.play.client with parameters of type Hand Constructor Description CAnimateHandPacket(Hand p_i46860_1_)
CPlayerTryUseItemOnBlockPacket(Hand p_i50756_1_, BlockRayTraceResult p_i50756_2_)
CPlayerTryUseItemPacket(Hand p_i46857_1_)
CUseEntityPacket(Entity p_i46878_1_, Hand p_i46878_2_, boolean p_i46878_3_)
CUseEntityPacket(Entity p_i47098_1_, Hand p_i47098_2_, Vector3d p_i47098_3_, boolean p_i47098_4_)
-
Uses of Hand in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as Hand Modifier and Type Field Description private Hand
SOpenBookWindowPacket. hand
Methods in net.minecraft.network.play.server that return Hand Modifier and Type Method Description Hand
SOpenBookWindowPacket. getHand()
Constructors in net.minecraft.network.play.server with parameters of type Hand Constructor Description SOpenBookWindowPacket(Hand p_i50770_1_)
-
Uses of Hand in net.minecraft.server.management
Methods in net.minecraft.server.management with parameters of type Hand Modifier and Type Method Description ActionResultType
DemoPlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)
ActionResultType
PlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)
ActionResultType
DemoPlayerInteractionManager. useItemOn(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_)
ActionResultType
PlayerInteractionManager. useItemOn(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_)
-
Uses of Hand in net.minecraft.util
Methods in net.minecraft.util that return Hand Modifier and Type Method Description static Hand
Hand. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Hand[]
Hand. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.util with parameters of type Hand Modifier and Type Method Description static ActionResult<ItemStack>
DrinkHelper. useDrink(World p_234707_0_, PlayerEntity p_234707_1_, Hand p_234707_2_)
-
Uses of Hand in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type Hand Modifier and Type Method Description static InputEvent.ClickInputEvent
ForgeHooksClient. onClickInput(int button, KeyBinding keyBinding, Hand hand)
static boolean
ForgeHooksClient. renderSpecificFirstPersonHand(Hand hand, MatrixStack mat, IRenderTypeBuffer buffers, int light, float partialTicks, float interpPitch, float swingProgress, float equipProgress, ItemStack stack)
-
Uses of Hand in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event declared as Hand Modifier and Type Field Description private Hand
InputEvent.ClickInputEvent. hand
private Hand
RenderHandEvent. hand
Methods in net.minecraftforge.client.event that return Hand Modifier and Type Method Description Hand
InputEvent.ClickInputEvent. getHand()
The hand which is causing the event to get triggered.Hand
RenderHandEvent. getHand()
Constructors in net.minecraftforge.client.event with parameters of type Hand Constructor Description ClickInputEvent(int button, KeyBinding keyBinding, Hand hand)
RenderHandEvent(Hand hand, MatrixStack mat, IRenderTypeBuffer buffers, int light, float partialTicks, float interpolatedPitch, float swingProgress, float equipProgress, ItemStack stack)
-
Uses of Hand in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type Hand Modifier and Type Method Description static void
ForgeHooks. onEmptyClick(PlayerEntity player, Hand hand)
static ActionResultType
ForgeHooks. onInteractEntity(PlayerEntity player, Entity entity, Hand hand)
static ActionResultType
ForgeHooks. onInteractEntityAt(PlayerEntity player, Entity entity, RayTraceResult ray, Hand hand)
static ActionResultType
ForgeHooks. onInteractEntityAt(PlayerEntity player, Entity entity, Vector3d vec3d, Hand hand)
static ActionResultType
ForgeHooks. onItemRightClick(PlayerEntity player, Hand hand)
static PlayerInteractEvent.RightClickBlock
ForgeHooks. onRightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, Direction face)
Deprecated.static PlayerInteractEvent.RightClickBlock
ForgeHooks. onRightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, BlockRayTraceResult hitVec)
-
Uses of Hand in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type Hand Modifier and Type Method Description ActionResultType
CustomRespawnTest.CustomRespawnBlock. use(BlockState p_225533_1_, World world, BlockPos pos, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FullPotsAccessorDemo.DioriteFlowerPotBlock. use(BlockState state, World level, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit)
-
Uses of Hand in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type Hand Modifier and Type Method Description static ActionResult<ItemStack>
ForgeEventFactory. onArrowNock(ItemStack item, World world, PlayerEntity player, Hand hand, boolean hasAmmo)
static void
ForgeEventFactory. onPlayerDestroyItem(PlayerEntity player, ItemStack stack, Hand hand)
-
Uses of Hand in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as Hand Modifier and Type Field Description private Hand
ArrowNockEvent. hand
private Hand
PlayerDestroyItemEvent. hand
private Hand
PlayerInteractEvent. hand
Methods in net.minecraftforge.event.entity.player that return Hand Modifier and Type Method Description Hand
ArrowNockEvent. getHand()
Hand
PlayerDestroyItemEvent. getHand()
Hand
PlayerInteractEvent. getHand()
Constructors in net.minecraftforge.event.entity.player with parameters of type Hand Constructor Description ArrowNockEvent(PlayerEntity player, ItemStack item, Hand hand, World world, boolean hasAmmo)
EntityInteract(PlayerEntity player, Hand hand, Entity target)
EntityInteractSpecific(PlayerEntity player, Hand hand, Entity target, Vector3d localPos)
PlayerDestroyItemEvent(PlayerEntity player, ItemStack original, Hand hand)
PlayerInteractEvent(PlayerEntity player, Hand hand, BlockPos pos, Direction face)
RightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, Direction face)
Deprecated.RightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, BlockRayTraceResult hitVec)
RightClickEmpty(PlayerEntity player, Hand hand)
RightClickItem(PlayerEntity player, Hand hand)
-
Uses of Hand in net.minecraftforge.fluids
Methods in net.minecraftforge.fluids with parameters of type Hand Modifier and Type Method Description static boolean
FluidUtil. interactWithFluidHandler(PlayerEntity player, Hand hand, World world, BlockPos pos, Direction side)
Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.static boolean
FluidUtil. interactWithFluidHandler(PlayerEntity player, Hand hand, IFluidHandler handler)
Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler.static FluidActionResult
FluidUtil. tryPlaceFluid(PlayerEntity player, World world, Hand hand, BlockPos pos, ItemStack container, FluidStack resource)
ItemStack version ofFluidUtil.tryPlaceFluid(PlayerEntity, World, Hand, BlockPos, IFluidHandler, FluidStack)
.static boolean
FluidUtil. tryPlaceFluid(PlayerEntity player, World world, Hand hand, BlockPos pos, IFluidHandler fluidSource, FluidStack resource)
Tries to place a fluid resource into the world as a block and drains the fluidSource.
-