Sprache

Area Light Up

Area Light Up

Modrinth

Automatically places torches in dark areas to prevent mob spawning. Preview scan, survival inventory support, and grid-based placement for efficiency.

428 Downloads 2 Follower aktualisiert 5mo ago
neueste v1.3.1 Modrinth
Fabric 1.21.11 – 1.21.11 Game-mechanicsMobsUtility

LightUp

Automatically places torches in dark areas within a radius around the player to prevent mob spawning. Uses an efficient grid-based placement system.

Commands

| Command | Description |
|---------|-------------|
| /lightup | Preview with default radius (64 blocks) |
| /lightup <radius> | Preview with custom radius (8-128 blocks) |
| /lightup stop | Stop the current task |
| /lightup help | Show all commands |

Features

Preview System

Before placing any torches, the mod scans the area and shows:

  • Torches needed with stack breakdown (e.g., "3840 (60 stacks)")
  • Inventory comparison (survival mode)
  • Crafting materials if you're short on torches
  • Click [START] to begin or do nothing to cancel

Game Modes

| Mode | Who | Behavior |
|------|-----|----------|
| OP Mode | Players with permission level 2+ | Unlimited torches |
| Survival Mode | Regular players | Uses torches from inventory |

How It Works

  1. Creates a grid of positions every 12 blocks apart (torch light reaches 14 blocks, ensuring overlap)
  2. Places ONE torch per tick to avoid server lag (~10 torches/second)
  3. After grid completion, does a cleanup scan for any missed dark spots
  4. Progress updates every 50 torches

Torch Placement Validation

A position is valid if:

  • Position is air
  • Block above is air (prevents underwater placement)
  • Block below is solid
  • Block light level is 0 (actually dark)

Technical Details

  • Minecraft: 1.21.11
  • Mod Loader: Fabric
  • Dependencies: Fabric API
  • Source: GitHub

Versionen

Release
1.3.1
fabric · 1.21.11 · 5mo ago
inital upload to modrinth
427

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.

Herunterladen Area Light Up

Dateien werden direkt von der Originalquelle bereitgestellt. Modgrid hostet oder verändert sie nicht.