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 ActionResultAbstractBlock.AbstractBlockState. onUse(World world, PlayerEntity player, Hand hand, BlockHitResult hit)ActionResultAbstractBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Deprecated.ActionResultAbstractButtonBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractCauldronBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractFurnaceBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractSignBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAnvilBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBarrelBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBeaconBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBedBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBeehiveBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBellBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBrewingStandBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCakeBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCampfireBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCandleBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCandleCakeBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCartographyTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCaveVinesBodyBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCaveVinesHeadBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultChestBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCommandBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultComparatorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultComposterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCraftingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDaylightDetectorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDispenserBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDoorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDragonEggBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultEnchantingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultEnderChestBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFenceBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFenceGateBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFletchingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFlowerPotBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultGrindstoneBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultHopperBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultJigsawBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultJukeboxBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLecternBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLeverBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLightBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLoomBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultNoteBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultPistonExtensionBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultPumpkinBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRedstoneOreBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRedstoneWireBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRepeaterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRespawnAnchorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultShulkerBoxBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultSmithingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStairsBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStonecutterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStructureBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultSweetBerryBushBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultTntBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultTrapdoorBlock. 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 Hand Modifier and Type Method Description static ActionResultCauldronBehavior. emptyCauldron(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent)static ActionResultCauldronBehavior. fillCauldron(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent)ActionResultCauldronBehavior. 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 Hand Modifier and Type Field Description private HandBookEditScreen. handConstructors in net.minecraft.client.gui.screen.ingame with parameters of type Hand Constructor Description BookEditScreen(PlayerEntity player, ItemStack itemStack, Hand hand) -
Uses of Hand in net.minecraft.client.network
Fields in net.minecraft.client.network declared as Hand Modifier and Type Field Description private HandClientPlayerEntity. activeHandMethods in net.minecraft.client.network that return Hand Modifier and Type Method Description HandClientPlayerEntity. getActiveHand()Methods in net.minecraft.client.network with parameters of type Hand Modifier and Type Method Description ActionResultClientPlayerInteractionManager. interactBlock(ClientPlayerEntity player, ClientWorld world, Hand hand, BlockHitResult hitResult)ActionResultClientPlayerInteractionManager. interactEntity(PlayerEntity player, Entity entity, Hand hand)ActionResultClientPlayerInteractionManager. interactEntityAtLocation(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand)ActionResultClientPlayerInteractionManager. interactItem(PlayerEntity player, World world, Hand hand)voidClientPlayerEntity. setCurrentHand(Hand hand)voidClientPlayerEntity. swingHand(Hand hand)voidClientPlayerEntity. useBook(ItemStack book, Hand hand)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 Hand Modifier and Type Method Description private static BipedEntityModel.ArmPosePlayerEntityRenderer. 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 Hand Modifier and Type Method Description private voidHeldItemRenderer. renderFirstPersonItem(AbstractClientPlayerEntity player, float tickDelta, float pitch, Hand hand, float swingProgress, ItemStack item, float equipProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)voidHeldItemRenderer. resetEquipProgress(Hand hand)static HeldItemRenderer.HandRenderTypeHeldItemRenderer.HandRenderType. shouldOnlyRender(Hand hand) -
Uses of Hand in net.minecraft.entity
Fields in net.minecraft.entity declared as Hand Modifier and Type Field Description HandLivingEntity. preferredHandMethods in net.minecraft.entity that return Hand Modifier and Type Method Description HandLivingEntity. getActiveHand()Methods in net.minecraft.entity with parameters of type Hand Modifier and Type Method Description ItemStackLivingEntity. getStackInHand(Hand hand)ActionResultEntity. interact(PlayerEntity player, Hand hand)Called when a player interacts with this entity.ActionResultEntity. interactAt(PlayerEntity player, Vec3d hitPos, Hand hand)voidLivingEntity. sendToolBreakStatus(Hand hand)voidLivingEntity. setCurrentHand(Hand hand)voidLivingEntity. setStackInHand(Hand hand, ItemStack stack)voidLivingEntity. swingHand(Hand hand)voidLivingEntity. swingHand(Hand hand, boolean bool)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 Hand Modifier and Type Method Description private booleanArmorStandEntity. equip(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand)ActionResultItemFrameEntity. interact(PlayerEntity player, Hand hand)Called when a player interacts with this entity.ActionResultLeashKnotEntity. interact(PlayerEntity player, Hand hand)Called when a player interacts with this entity.ActionResultArmorStandEntity. 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 Hand Modifier and Type Method Description ActionResultMobEntity. interact(PlayerEntity player, Hand hand)Called when a player interacts with this entity.protected ActionResultCreeperEntity. interactMob(PlayerEntity player, Hand hand)ActionResultHoglinEntity. interactMob(PlayerEntity player, Hand hand)protected ActionResultMobEntity. interactMob(PlayerEntity player, Hand hand)ActionResultPiglinEntity. interactMob(PlayerEntity player, Hand hand)ActionResultSkeletonHorseEntity. interactMob(PlayerEntity player, Hand hand)ActionResultZombieHorseEntity. interactMob(PlayerEntity player, Hand hand)ActionResultZombieVillagerEntity. interactMob(PlayerEntity player, Hand hand)private ActionResultMobEntity. interactWithItem(PlayerEntity player, Hand hand)static ActionResultPiglinBrain. 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 Hand Modifier and Type Method Description protected voidAnimalEntity. eat(PlayerEntity player, Hand hand, ItemStack stack)protected voidAxolotlEntity. eat(PlayerEntity player, Hand hand, ItemStack stack)protected voidCatEntity. eat(PlayerEntity player, Hand hand, ItemStack stack)protected voidFoxEntity. eat(PlayerEntity player, Hand hand, ItemStack stack)ActionResultAbstractDonkeyEntity. interactMob(PlayerEntity player, Hand hand)ActionResultAnimalEntity. interactMob(PlayerEntity player, Hand hand)ActionResultAxolotlEntity. interactMob(PlayerEntity player, Hand hand)ActionResultCatEntity. interactMob(PlayerEntity player, Hand hand)ActionResultCowEntity. interactMob(PlayerEntity player, Hand hand)protected ActionResultDolphinEntity. interactMob(PlayerEntity player, Hand hand)protected ActionResultFishEntity. interactMob(PlayerEntity player, Hand hand)ActionResultGoatEntity. interactMob(PlayerEntity player, Hand hand)ActionResultHorseEntity. interactMob(PlayerEntity player, Hand hand)protected ActionResultIronGolemEntity. interactMob(PlayerEntity player, Hand hand)ActionResultMooshroomEntity. interactMob(PlayerEntity player, Hand hand)ActionResultOcelotEntity. interactMob(PlayerEntity player, Hand hand)ActionResultPandaEntity. interactMob(PlayerEntity player, Hand hand)ActionResultParrotEntity. interactMob(PlayerEntity player, Hand hand)ActionResultPigEntity. interactMob(PlayerEntity player, Hand hand)ActionResultSheepEntity. interactMob(PlayerEntity player, Hand hand)protected ActionResultSnowGolemEntity. interactMob(PlayerEntity player, Hand hand)ActionResultStriderEntity. interactMob(PlayerEntity player, Hand hand)ActionResultVillagerEntity. interactMob(PlayerEntity player, Hand hand)ActionResultWanderingTraderEntity. interactMob(PlayerEntity player, Hand hand)ActionResultWolfEntity. interactMob(PlayerEntity player, Hand hand) -
Uses of Hand in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type Hand Modifier and Type Method Description ActionResultPlayerEntity. interact(Entity entity, Hand hand)voidPlayerEntity. useBook(ItemStack book, Hand hand)Called when the player uses (defaults to right click) a writable or written book item. -
Uses of Hand in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return Hand Modifier and Type Method Description static HandProjectileUtil. getHandPossiblyHolding(LivingEntity entity, Item item) -
Uses of Hand in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type Hand Modifier and Type Method Description ActionResultBoatEntity. interact(PlayerEntity player, Hand hand)Called when a player interacts with this entity.ActionResultCommandBlockMinecartEntity. interact(PlayerEntity player, Hand hand)Called when a player interacts with this entity.ActionResultFurnaceMinecartEntity. interact(PlayerEntity player, Hand hand)Called when a player interacts with this entity.ActionResultMinecartEntity. interact(PlayerEntity player, Hand hand)Called when a player interacts with this entity.ActionResultStorageMinecartEntity. 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 Hand Modifier and Type Field Description private HandItemUsageContext. handMethods in net.minecraft.item that return Hand Modifier and Type Method Description HandItemUsageContext. getHand()Methods in net.minecraft.item with parameters of type Hand Modifier and Type Method Description static TypedActionResult<ItemStack>ItemUsage. consumeHeldItem(World world, PlayerEntity player, Hand hand)private static voidCrossbowItem. shoot(World world, LivingEntity shooter, Hand hand, ItemStack crossbow, ItemStack projectile, float soundPitch, boolean creative, float speed, float divergence, float simulated)static voidCrossbowItem. shootAll(World world, LivingEntity entity, Hand hand, ItemStack stack, float speed, float divergence)TypedActionResult<ItemStack>ArmorItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BoatItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BowItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BucketItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BundleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>CrossbowItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EggItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ElytraItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EmptyMapItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EnderEyeItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EnderPearlItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ExperienceBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>FireworkItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>FishingRodItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>GlassBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>HoneyBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>Item. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ItemStack. use(World world, PlayerEntity user, Hand hand)TypedActionResult<ItemStack>KnowledgeBookItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>LilyPadItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>LingeringPotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>MilkBucketItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>OnAStickItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>PotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ShieldItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SnowballItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SpawnEggItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SplashPotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SpyglassItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ThrowablePotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>TridentItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>WritableBookItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>WrittenBookItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.ActionResultDyeItem. useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand)ActionResultItem. useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand)ActionResultItemStack. useOnEntity(PlayerEntity user, LivingEntity entity, Hand hand)ActionResultNameTagItem. useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand)ActionResultSaddleItem. useOnEntity(ItemStack stack, PlayerEntity user, LivingEntity entity, Hand hand)Constructors in net.minecraft.item with parameters of type Hand Constructor Description ItemPlacementContext(PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hitResult)ItemPlacementContext(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit)ItemUsageContext(PlayerEntity player, Hand hand, BlockHitResult hit)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 Hand Modifier and Type Field Description private HandHandSwingC2SPacket. handprivate HandPlayerInteractBlockC2SPacket. handprivate HandPlayerInteractEntityC2SPacket.InteractAtHandler. handprivate HandPlayerInteractEntityC2SPacket.InteractHandler. handprivate HandPlayerInteractItemC2SPacket. handMethods in net.minecraft.network.packet.c2s.play that return Hand Modifier and Type Method Description HandHandSwingC2SPacket. getHand()HandPlayerInteractBlockC2SPacket. getHand()HandPlayerInteractItemC2SPacket. getHand()Methods in net.minecraft.network.packet.c2s.play with parameters of type Hand Modifier and Type Method Description voidPlayerInteractEntityC2SPacket.Handler. interact(Hand hand)static PlayerInteractEntityC2SPacketPlayerInteractEntityC2SPacket. interact(Entity entity, boolean playerSneaking, Hand hand)voidPlayerInteractEntityC2SPacket.Handler. interactAt(Hand hand, Vec3d pos)static PlayerInteractEntityC2SPacketPlayerInteractEntityC2SPacket. interactAt(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos)Constructors in net.minecraft.network.packet.c2s.play with parameters of type Hand Constructor Description HandSwingC2SPacket(Hand hand)InteractAtHandler(Hand hand, Vec3d pos)InteractHandler(Hand hand)PlayerInteractBlockC2SPacket(Hand hand, BlockHitResult blockHitResult)PlayerInteractItemC2SPacket(Hand hand) -
Uses of Hand in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as Hand Modifier and Type Field Description private HandOpenWrittenBookS2CPacket. handMethods in net.minecraft.network.packet.s2c.play that return Hand Modifier and Type Method Description HandOpenWrittenBookS2CPacket. getHand()Constructors in net.minecraft.network.packet.s2c.play with parameters of type Hand Constructor Description OpenWrittenBookS2CPacket(Hand hand) -
Uses of Hand in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type Hand Modifier and Type Method Description ActionResultDemoServerPlayerInteractionManager. interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)ActionResultServerPlayerInteractionManager. interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)ActionResultDemoServerPlayerInteractionManager. interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)ActionResultServerPlayerInteractionManager. interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)ActionResultServerPlayNetworkHandler.Interaction. run(ServerPlayerEntity player, Entity entity, Hand hand)voidServerPlayerEntity. swingHand(Hand hand)voidServerPlayerEntity. useBook(ItemStack book, Hand hand)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 Modifier and Type Method Description static HandHand. valueOf(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.