Check for Nearby Blocks or Mobs Before Allowing Crafting
Proximity-Based Crafting Requirements
Require specific blocks or mobs within a radius around your workstation to enable crafting. This mechanic encourages base building and creates environmental puzzles—for example, requiring a crafting station near lava for fire-themed upgrades.
Configuration Process
1. Access your schematic or effect configuration file
2. Add a proximity requirement condition
3. Specify the block or mob type you want to detect
4. Set the search radius (measured in blocks from the workstation)
5. Decide if the requirement is mandatory or optional
6. Build the required setup and test crafting
Practical Examples
- Require bookshelves nearby for knowledge-based upgrades
- Need enchanting tables for magical modifications
- Demand specific mobs (like blazes in a spawner) for nether equipment
- Require water or lava blocks for elemental upgrades
Design Tips
This requirement encourages intentional base design. Combine it with biome checks to create thematic crafting zones. You can stack multiple proximity checks to require complex setups—for instance, needing both a furnace and cauldron nearby creates a mini-factory feel for certain upgrades.