▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Radial Resource Gating
Radial Resource Gating

Radial Resource Gating

Configurable ore gating, limiting underground resources by dimension and distance from spawn.

Оцените первым
42
1

Radial Resource Gating

Radial Resource Gating is a NeoForge 1.21.1 mod made for modpack creators who want more control over where ores can generate.

The mod lets you define an allowed resource area around the world spawn, or around custom coordinates for each dimension. Inside that area, ore generation works normally. Outside of it, ore features are cancelled when they try to generate blocks matching the configured ore tags or block ids.

The idea is to make resource progression easier to control without changing how players interact with the world. In normal gameplay, the mod is meant to stay invisible. Everything is handled through the common TOML config.

How It Works

Radial Resource Gating can be enabled separately for the Overworld, the Nether, and the End. Each dimension has its own center mode, center coordinates, and range.

By default, the allowed area is centered around the saved world spawn. You can also switch a dimension to a fixed center and manually choose the X and Z coordinates.

The allowed area is a square. For example, with a range of 256, ores are allowed up to 256 blocks away from the center on each side.

When an ore feature starts generating, the mod checks the feature origin. If the origin is inside the allowed area, the whole feature is allowed to generate. If the origin is outside the allowed area, the whole feature is cancelled.

This keeps the system fast and simple, but it also means the border is not cut block by block. Ore features are allowed or blocked as a whole, based on where they start.

The mod only affects newly generated chunks. Existing chunks are not modified.

Configuration

After the mod runs once, NeoForge creates the config file here:

config/radialresourcegating-common.toml

The default config looks like this:

blockedTags = ["c:ores"]
additionalBlockedBlocks = []
outsideAllowedBlocks = []

[overworld]
enabled = true
centerMode = "world_spawn"
centerX = 0
centerZ = 0
range = 256

[nether]
enabled = true
centerMode = "world_spawn"
centerX = 0
centerZ = 0
range = 256

[end] enabled = true centerMode = "world_spawn" centerX = 0 centerZ = 0 range = 256


## Dimension Settings

Each dimension section controls the resource gate for that dimension.

The `enabled` option turns the gate on or off.

The `centerMode` option decides where the allowed area is centered. When set to `world_spawn`, the mod uses the saved Overworld spawn as the base center. When set to `fixed`, the mod uses the configured `centerX` and `centerZ` values instead.

The `range` option controls how far the allowed area extends from the center. With `centerX = 0`, `centerZ = 0`, and `range = 256`, ores are allowed from `X -256` to `X 256` and from `Z -256` to `Z 256`.

When using `centerMode = "world_spawn"` in scaled dimensions, the spawn position is converted using Minecraft's dimension coordinate scale. For example, if the Overworld spawn is at `X 4000`, `Z 800`, the Nether gate will be centered around `X 500`, `Z 100`.

## Ore Matching

By default, the mod blocks generated blocks tagged as `c:ores` outside the allowed area.

```toml
blockedTags = ["c:ores"]

You can add more exact blocks through additionalBlockedBlocks. This is useful for ores or ore-like blocks that are not covered by the configured tags.

additionalBlockedBlocks = ["examplemod:rich_copper_ore"]

You can also allow specific blocks to generate outside the area with outsideAllowedBlocks. This acts as an override. If a block is listed there, it can generate outside the allowed area even if it also matches a blocked tag or an additional blocked block entry.

outsideAllowedBlocks = ["minecraft:ancient_debris"]

Invalid block ids are ignored and logged once when the config is loaded. During normal world generation, the mod stays silent.

Notes For Modpack Creators

Radial Resource Gating only affects new world generation. It does not remove or replace ores in chunks that already exist.

When testing config changes, make sure to generate fresh chunks. If you test in terrain that was already generated, the old ore placement will still be there.

This mod is mainly intended for packs that want to make early-game resources local, controlled, or progression-based while keeping normal world generation outside the configured rules.

Bugs and Issues

For any problems or questions, feel free to join the discord by clicking on the image below

!Join Discord

Support us

Партнёрский материал

Как поиграть с друзьями с модом Radial Resource Gating?

Мод Radial Resource Gating куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Radial Resource Gating будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная