Posted in

Offhand Addon MCPE v1.2

๐Ÿ“– Overview

This addon brings full offhand functionality to Minecraft PE/BE, allowing you to use items from your offhand slot just like in Java Edition. The addon features a clean, readable codebase with comprehensive item support and intuitive controls.

๐ŸŽฎ How to Use

Basic Controls

  • Double-crouch (sneak twice quickly)ย – Swap items between main hand and offhand
  • Sneak + Right-click on blocksย – Use offhand items for specific interactions

Installation

  1. Download theย .mcpackย file
  2. Open it with Minecraft PE/BE
  3. Enable the addon in your world settings
  4. Make sure “Holiday Creator Features” and “Beta APIs” are enabled

โœ… Supported Items in Offhand

๐Ÿ›ก๏ธ Always Allowed Items

These items can always be placed in the offhand:

  • Shieldย – Full defensive functionality
  • Filled Mapย – Navigation and exploration
  • Firework Rocketย – Flight and celebration
  • Totem of Undyingย – Death protection

๐Ÿ—๏ธ Placeable Items

Items that can be placed from the offhand:

  • Carved Pumpkinย – Wearable and placeable
  • Flint and Steelย – Fire starting (with durability support)

๐ŸŒพ Farming & Food Items

  • Seedsย (wheat, carrot, potato, beetroot, melon, pumpkin, torchflower)
  • Bone Mealย – Crop growth acceleration
  • Food itemsย – When used on farmland for planting

๐Ÿชฃ Interactive Items

  • Bucketย – Milk cows and mooshrooms from offhand
  • Gold Ingotย – Trade with piglins from offhand

โŒ Restricted Items

The following items CANNOT be placed in the offhand for balance and gameplay reasons:

โš”๏ธ Combat Items

  • Swords, Axes, Tridents, Maces
  • Bows, Crossbows
  • Any weapon with durability or enchantments

๐Ÿ”ง Tools

  • Pickaxes, Shovels, Hoes
  • Shears, Fishing Rods
  • Any tool with durability

๐Ÿงช Complex Items

  • Potions (all types)
  • Shulker Boxes
  • Items with enchantments
  • Experience bottles

๐ŸŽ’ Utility Items

  • Leads, Name Tags, Clocks, Compasses
  • Spyglasses, Bottles, Maps
  • Snowballs, Wind Charges
  • Ender Pearls, Ender Eyes
  • Various crafting materials (sticks, feathers, etc.)

๐ŸŽฏ Special Features

๐Ÿ„ Entity Interactions

  • Cow Milking: Hold bucket in offhand, interact with cow
  • Mooshroom Milking: Same as cows, works with mooshrooms
  • Piglin Trading: Hold gold ingot in offhand, interact with piglin

๐ŸŒฑ Farming Support

  • Plant seeds directly from offhand on farmland
  • Use bone meal from offhand on crops
  • Automatic item consumption and sound effects

๐Ÿ”ฅ Fire Starting

  • Use flint and steel from offhand
  • Proper durability handling
  • Place fire on block surfaces

๐ŸŽจ Smart Logic

  • Prevents food items from being swapped (except seeds on farmland)
  • Maintains item durability and data values
  • Proper item stacking and consumption
  • Visual and audio feedback

๐Ÿ› ๏ธ Technical Information

Requirements

  • Minecraft PE/BE version: 1.20.0 or higher
  • Beta APIs: Must be enabled
  • Holiday Creator Features: Must be enabled

Dependencies

  • @minecraft/serverย v1.8.0
  • @minecraft/server-uiย v1.2.0

Performance

  • Lightweight system with minimal performance impact
  • Efficient player tracking and item management
  • Optimized event handling

๐Ÿ› Troubleshooting

Common Issues

Items disappearing when swapping:

  • This has been fixed in v1.2 – update to the latest version

Addon not working:

  • Ensure Beta APIs are enabled in world settings
  • Check that Holiday Creator Features are enabled
  • Restart the world after enabling the addon

Can’t swap certain items:

  • Check the restricted items list above
  • Some items are intentionally blocked for balance

Double-crouch not working:

  • Make sure you’re crouching twice quickly (within 10 ticks)
  • Try adjusting your timing – it should be a quick double-tap

๐Ÿ“ Version History

v1.2 (Current)

  • โœ… Fixed item disappearing bug
  • โœ… Clean, readable code structure
  • โœ… Improved item handling logic
  • โœ… Enhanced entity interactions
  • โœ… Better error handling

v1.1

  • Added basic offhand functionality
  • Double-crouch swapping system
  • Initial item restrictions

๐Ÿค Credits

Created by: spunkyinsaan

Special Thanks:

  • Minecraft Bedrock Edition community
  • Beta testers and feedback providers

๐Ÿ“„ License

This addon is provided as-is for educational and entertainment purposes. Feel free to modify and share, but please give credit to the original creator.


๐Ÿ”— Support

If you encounter any issues or have suggestions:

  1. Check the troubleshooting section above
  2. Ensure you’re using the latest version
  3. Verify your world settings match the requirements

Leave a Reply

Your email address will not be published. Required fields are marked *