Skip to content

bdev42/lump-fabric

Repository files navigation

Less Ugly Mob-Proofing

Build CI
LUMP aims to eradicate torch spam around your base,
without affecting your mob grinders or other farms.

It achieves this by adding a craftable block, called the Amethyst Beacon, which blocks mob spawns within its range,
but only for blocks that would be otherwise safe during the day (it is skylight based).

This means:
✅ you only need to light up the interiors of your base
✅ your mob farms should still work (as long as they are dark)
caves are still dangerous until you light them up

✨ This mod also includes a color-coded light overlay to see which blocks are spawnable and which are safe,
the overlay is always displayed when you have the fashionable Amethyst Goggles equipped on your head.

⛏️ This mod aims to be 100% survival friendly.

Added blocks & items

Amethyst Beacon

amethyst_beacon
Prevents most hostile mob spawns within it's range of 128 blocks (horizontally*) from where it is placed .

You can craft Amethyst Beacons from:

  • 1 Block of Amethyst
  • 3 Gold Ingots

amethyst beacon crafting recipe

Amethyst Goggles

amethyst goggles
These goggles add a color-coded light overlay to the game, in an immersive & survival friendly way.

You can craft Amethyst Goggles from:

  • 2 Blocks of Amethyst
  • 3 pieces of Leather
  • 1 Gold Ingot

They do not stack, but can be equipped on the head.

amethyst goggles crafting recipe

When advanced tooltips are enabled (F3 + H), the item shows the legend for the light overlay: amethyst goggles advanced tooltip

Technical Details

Beacon Range

The range of the beacon is calculated horizontally, the height (y axis) is ignored.
(This effectively means that the "Area of Effect" for the beacons is shaped like a cylinder.)

From 0.3.0 the range can be configured using the in game mod menu, or by manually changing the "beaconProtectionRadius" inside lump-config.json5

Dimension Support

The beacons should work fine in any dimension with skylight, this means that out of the vanilla dimensions the mod is only effective in the overworld.

Two fields of the Dimension Type structure are relevant for this mod,
the monster_spawn_block_light_limit is taken into account for spawn blocking,
and as mentioned before has_skylight must be true for the beacons to have an effect.

Light Overlay Accuracy

The light overlay tests blocks for Creeper spawns specifically, this should be accurate for the vast majority of mobs in minecraft, but there might be some special cases here and there.

Point Of Interest

This mod uses the built-in PointOfInterestStorage just like lightning rods do for example, this means amethyst_beacons can also be found with the locate command:

/locate poi lump:amethyst_beacon

(It might be helpful if you want to measure the distance to the nearest beacon for example.)

Gallery

steve wearing amethyst goggles amethyst goggles in inventory light overlay without a beacon nearby light overlay with a beacon nearby

About

Less Ugly Mob Proofing mod for minecraft (fabric)

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages