Uses of Enum Class
net.minecraft.util.Hand
Packages that use Hand
Package
Description
-
Uses of Hand in net.minecraft.block
Methods in net.minecraft.block with parameters of type HandModifier and TypeMethodDescriptionAbstractBlock.AbstractBlockState.onUse
(World world, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Deprecated.AbstractButtonBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractCauldronBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractFurnaceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AnvilBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BarrelBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeaconBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BedBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeehiveBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BellBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BrewingStandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CampfireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleCakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CartographyTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesBodyBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesHeadBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CommandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComparatorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComposterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CraftingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DaylightDetectorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DispenserBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DragonEggBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnchantingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnderChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceGateBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FletchingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FlowerPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.GrindstoneBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HopperBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JigsawBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JukeboxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LecternBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LeverBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LightBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LoomBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.NoteBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PistonExtensionBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PumpkinBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneOreBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneWireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RepeaterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RespawnAnchorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ShulkerBoxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SmithingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StairsBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StonecutterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StructureBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SweetBerryBushBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TntBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TrapdoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player. -
Uses of Hand in net.minecraft.block.cauldron
Methods in net.minecraft.block.cauldron with parameters of type HandModifier and TypeMethodDescriptionstatic ActionResult
CauldronBehavior.emptyCauldron
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent) static ActionResult
CauldronBehavior.fillCauldron
(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) CauldronBehavior.interact
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) -
Uses of Hand in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as HandConstructors in net.minecraft.client.gui.screen.ingame with parameters of type HandModifierConstructorDescriptionBookEditScreen
(PlayerEntity player, ItemStack itemStack, Hand hand) -
Uses of Hand in net.minecraft.client.network
Fields in net.minecraft.client.network declared as HandMethods in net.minecraft.client.network that return HandMethods in net.minecraft.client.network with parameters of type HandModifier and TypeMethodDescriptionClientPlayerInteractionManager.interactBlock
(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult) private ActionResult
ClientPlayerInteractionManager.interactBlockInternal
(ClientPlayerEntity player, Hand hand, BlockHitResult hitResult) ClientPlayerInteractionManager.interactEntity
(PlayerEntity player, Entity entity, Hand hand) ClientPlayerInteractionManager.interactEntityAtLocation
(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand) ClientPlayerInteractionManager.interactItem
(PlayerEntity player, Hand hand) void
ClientPlayerEntity.setCurrentHand
(Hand hand) void
void
Called when the player uses (defaults to right click) a writable or written book item. -
Uses of Hand in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type HandModifier and TypeMethodDescriptionprivate static BipedEntityModel.ArmPose
PlayerEntityRenderer.getArmPose
(AbstractClientPlayerEntity player, Hand hand) -
Uses of Hand in net.minecraft.client.render.item
Methods in net.minecraft.client.render.item with parameters of type HandModifier and TypeMethodDescriptionprivate void
HeldItemRenderer.renderFirstPersonItem
(AbstractClientPlayerEntity player, float tickDelta, float pitch, Hand hand, float swingProgress, ItemStack item, float equipProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) void
HeldItemRenderer.resetEquipProgress
(Hand hand) HeldItemRenderer.HandRenderType.shouldOnlyRender
(Hand hand) -
Uses of Hand in net.minecraft.entity
Fields in net.minecraft.entity declared as HandMethods in net.minecraft.entity that return HandMethods in net.minecraft.entity with parameters of type HandModifier and TypeMethodDescriptionLivingEntity.getStackInHand
(Hand hand) Entity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.Entity.interactAt
(PlayerEntity player, Vec3d hitPos, Hand hand) void
LivingEntity.sendToolBreakStatus
(Hand hand) void
LivingEntity.setCurrentHand
(Hand hand) void
LivingEntity.setStackInHand
(Hand hand, ItemStack stack) void
void
static <T extends LivingEntity & Bucketable>
Optional<ActionResult>Bucketable.tryBucket
(PlayerEntity player, Hand hand, T entity) -
Uses of Hand in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type HandModifier and TypeMethodDescriptionprivate boolean
ArmorStandEntity.equip
(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand) ItemFrameEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.LeashKnotEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.ArmorStandEntity.interactAt
(PlayerEntity player, Vec3d hitPos, Hand hand) -
Uses of Hand in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type HandModifier and TypeMethodDescriptionfinal ActionResult
MobEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.protected ActionResult
CreeperEntity.interactMob
(PlayerEntity player, Hand hand) HoglinEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
MobEntity.interactMob
(PlayerEntity player, Hand hand) PiglinEntity.interactMob
(PlayerEntity player, Hand hand) SkeletonHorseEntity.interactMob
(PlayerEntity player, Hand hand) ZombieHorseEntity.interactMob
(PlayerEntity player, Hand hand) ZombieVillagerEntity.interactMob
(PlayerEntity player, Hand hand) private ActionResult
MobEntity.interactWithItem
(PlayerEntity player, Hand hand) static ActionResult
PiglinBrain.playerInteract
(PiglinEntity piglin, PlayerEntity player, Hand hand) -
Uses of Hand in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type HandModifier and TypeMethodDescriptionprotected void
AnimalEntity.eat
(PlayerEntity player, Hand hand, ItemStack stack) protected void
AxolotlEntity.eat
(PlayerEntity player, Hand hand, ItemStack stack) protected void
CatEntity.eat
(PlayerEntity player, Hand hand, ItemStack stack) protected void
FoxEntity.eat
(PlayerEntity player, Hand hand, ItemStack stack) AbstractDonkeyEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
AllayEntity.interactMob
(PlayerEntity player, Hand hand) AnimalEntity.interactMob
(PlayerEntity player, Hand hand) AxolotlEntity.interactMob
(PlayerEntity player, Hand hand) CatEntity.interactMob
(PlayerEntity player, Hand hand) CowEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
DolphinEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
FishEntity.interactMob
(PlayerEntity player, Hand hand) GoatEntity.interactMob
(PlayerEntity player, Hand hand) HorseEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
IronGolemEntity.interactMob
(PlayerEntity player, Hand hand) MooshroomEntity.interactMob
(PlayerEntity player, Hand hand) OcelotEntity.interactMob
(PlayerEntity player, Hand hand) PandaEntity.interactMob
(PlayerEntity player, Hand hand) ParrotEntity.interactMob
(PlayerEntity player, Hand hand) PigEntity.interactMob
(PlayerEntity player, Hand hand) SheepEntity.interactMob
(PlayerEntity player, Hand hand) protected ActionResult
SnowGolemEntity.interactMob
(PlayerEntity player, Hand hand) StriderEntity.interactMob
(PlayerEntity player, Hand hand) TadpoleEntity.interactMob
(PlayerEntity player, Hand hand) VillagerEntity.interactMob
(PlayerEntity player, Hand hand) WanderingTraderEntity.interactMob
(PlayerEntity player, Hand hand) WolfEntity.interactMob
(PlayerEntity player, Hand hand) -
Uses of Hand in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type Hand -
Uses of Hand in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return HandModifier and TypeMethodDescriptionstatic Hand
ProjectileUtil.getHandPossiblyHolding
(LivingEntity entity, Item item) -
Uses of Hand in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type HandModifier and TypeMethodDescriptionBoatEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.ChestBoatEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.CommandBlockMinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.FurnaceMinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.MinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.StorageMinecartEntity.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity. -
Uses of Hand in net.minecraft.item
Fields in net.minecraft.item declared as HandMethods in net.minecraft.item that return HandMethods in net.minecraft.item with parameters of type HandModifier and TypeMethodDescriptionstatic TypedActionResult<ItemStack>
ItemUsage.consumeHeldItem
(World world, PlayerEntity player, Hand hand) private static void
CrossbowItem.shoot
(World world, LivingEntity shooter, Hand hand, ItemStack crossbow, ItemStack projectile, float soundPitch, boolean creative, float speed, float divergence, float simulated) static void
CrossbowItem.shootAll
(World world, LivingEntity entity, Hand hand, ItemStack stack, float speed, float divergence) ArmorItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.BoatItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.BowItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.BucketItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.BundleItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.CrossbowItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.EggItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ElytraItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.EmptyMapItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.EnderEyeItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.EnderPearlItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ExperienceBottleItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.FireworkRocketItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.FishingRodItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.GlassBottleItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.GoatHornItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.HoneyBottleItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.Item.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ItemStack.use
(World world, PlayerEntity user, Hand hand) KnowledgeBookItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.LingeringPotionItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.MilkBucketItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.OnAStickItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.PlaceableOnWaterItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.PotionItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ShieldItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.SnowballItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.SpawnEggItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.SplashPotionItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.SpyglassItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ThrowablePotionItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.TridentItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.WritableBookItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.WrittenBookItem.use
(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.DyeItem.useOnEntity
(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) Item.useOnEntity
(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) ItemStack.useOnEntity
(PlayerEntity user, LivingEntity entity, Hand hand) NameTagItem.useOnEntity
(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) SaddleItem.useOnEntity
(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand) Constructors in net.minecraft.item with parameters of type HandModifierConstructorDescriptionItemPlacementContext
(PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hitResult) protected
ItemPlacementContext
(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) ItemUsageContext
(PlayerEntity player, Hand hand, BlockHitResult hit) protected
ItemUsageContext
(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) -
Uses of Hand in net.minecraft.network.packet.c2s.play
Fields in net.minecraft.network.packet.c2s.play declared as HandModifier and TypeFieldDescriptionprivate final Hand
HandSwingC2SPacket.hand
private final Hand
PlayerInteractBlockC2SPacket.hand
private final Hand
PlayerInteractEntityC2SPacket.InteractAtHandler.hand
private final Hand
PlayerInteractEntityC2SPacket.InteractHandler.hand
private final Hand
PlayerInteractItemC2SPacket.hand
Methods in net.minecraft.network.packet.c2s.play that return HandModifier and TypeMethodDescriptionHandSwingC2SPacket.getHand()
PlayerInteractBlockC2SPacket.getHand()
PlayerInteractItemC2SPacket.getHand()
Methods in net.minecraft.network.packet.c2s.play with parameters of type HandModifier and TypeMethodDescriptionvoid
void
PlayerInteractEntityC2SPacket.Handler.interactAt
(Hand hand, Vec3d pos) PlayerInteractEntityC2SPacket.interactAt
(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos) Constructors in net.minecraft.network.packet.c2s.play with parameters of type HandModifierConstructorDescriptionHandSwingC2SPacket
(Hand hand) (package private)
InteractAtHandler
(Hand hand, Vec3d pos) (package private)
InteractHandler
(Hand hand) PlayerInteractBlockC2SPacket
(Hand hand, BlockHitResult blockHitResult, int sequence) PlayerInteractItemC2SPacket
(Hand hand, int sequence) -
Uses of Hand in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as HandMethods in net.minecraft.network.packet.s2c.play that return HandConstructors in net.minecraft.network.packet.s2c.play with parameters of type Hand -
Uses of Hand in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type HandModifier and TypeMethodDescriptionDemoServerPlayerInteractionManager.interactBlock
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult) ServerPlayerInteractionManager.interactBlock
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult) DemoServerPlayerInteractionManager.interactItem
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand) ServerPlayerInteractionManager.interactItem
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand) ServerPlayNetworkHandler.Interaction.run
(ServerPlayerEntity player, Entity entity, Hand hand) void
void
Called when the player uses (defaults to right click) a writable or written book item. -
Uses of Hand in net.minecraft.util
Methods in net.minecraft.util that return Hand
AbstractBlock.AbstractBlockState.onUse(net.minecraft.world.World, net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand, net.minecraft.util.hit.BlockHitResult)
instead.