File Details
BedrockWorldBorder-v2.0.0.mcpack
- R
- Aug 4, 2025
- 18.65 KB
- 1.0K
- 1.21.94+3
File Name
BedrockWorldBorder-v2.0.0.mcpack
Supported Versions
- 1.21.94
- 1.21.93
- 1.21.92
- 1.21.90
BedrockWorldBorder v2.0.0 Release Notes
🎉 Major Update: Complete Rewrite with Modern Bedrock API
This is a complete rewrite of BedrockWorldBorder using the latest Minecraft Bedrock scripting APIs,
bringing professional-grade world border functionality to your server.
🚀 New Features
Modern Command System
- Proper Slash Commands: Replaced chat-based !wb commands with official /worldborder: slash commands
- Autocomplete Support: Full parameter suggestions for dimensions (all, overworld, nether, end) and
settings - No Cheats Required: Commands work with cheatsRequired: false - no need to enable cheats
Smart Teleportation System
- Sound Feedback: Players hear audio cues (random.orb) when hitting world borders
- Perfect Facing Direction: Players face toward world center (0,0) when teleported back
- Intelligent Y-Level Preservation:
- Maintains original Y coordinate when safe
- Searches for nearest safe air blocks when needed
- Respects players in void or above build height
- Never forces players to arbitrary "safe" elevations
Advanced Input Validation
- Minimum Border Size: 100 blocks minimum to prevent performance issues
- Maximum Warning Distance: 50 blocks maximum for optimal performance
- Cross-Validation: Prevents invalid configurations (e.g., warning distance larger than border size)
- Smart Error Messages: Clear feedback when settings conflict
🔧 Improvements
Permission System
- Op+ Permissions: Uses native Bedrock permission levels instead of tags
- No Setup Required: Works immediately without tag commands
- Better Security: Integrated with Minecraft's permission system
Performance & Reliability
- Optimized Checking: Monitors players every 0.5 seconds (10 ticks) for responsive enforcement
- Robust Persistence: Configuration saves reliably with error handling
- Clean Logging: Single success message on load, minimal console spam
User Experience
- Color-Coded Status: Green for enabled, red for disabled, blue for values
- Better Help System: Context-aware help showing available commands based on permissions
- Improved Feedback: Clear success/error messages for all operations
📋 Commands (Updated)
Everyone:
- /worldborder:help - Show available commands
- /worldborder:status - Display current configuration
Op+ Only:
- /worldborder:size - Set border size (min 100)
- /worldborder:toggle - Enable/disable borders
- /worldborder:warning <on|off> - Toggle warning system
- /worldborder:warndistance - Set warning distance (max 50)
🛠️ Technical Changes
- API Upgrade: Now uses @minecraft/server 2.1.0-beta with experimental features
- Custom Command Registration: Proper Bedrock command system with enum parameters
- Dynamic Properties: Reliable configuration persistence using Minecraft's world properties
- Block Safety Checking: Advanced logic for safe teleportation destinations
- Error Resilience: Comprehensive error handling throughout the system
📦 Installation
- Download the .mcpack file
- Import into Minecraft (double-click)
- Enable in world behavior packs
- Enable "Beta APIs" experiment in world settings
- Start your world!
Requirements: Minecraft Bedrock 1.21.0+, Beta APIs enabled
🔄 Migration from v1.x
v2.0 is a complete rewrite with different commands and systems:
- Commands Changed: !wb → /worldborder:
- Permissions Changed: admin tag → Op permission level
- No Data Migration: Previous settings will reset to defaults
- New Features: Many new validation and safety features
🐛 Bug Fixes
- Fixed teleportation Y-level issues
- Resolved configuration persistence problems
- Corrected permission checking logic
- Improved multiplayer stability
- Fixed dimension detection edge cases
💝 Acknowledgments
Thanks to the community for feedback and testing that made this major update possible

