Back to mods
Restriction project artwork

CurseForge · Minecraft mod

Restriction

Restrict the placement and access of blocks and machines

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Restriction release matches 1.12.1?

Updated 8 years ago
Best match for your filters restriction-1.12.1-0.1.12.jar
Game version 1.12.1, 1.12.2
Loader Not required

restriction-1.12.1-0.1.12.jar targets 1.12.1, 1.12.2. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Restriction required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release No loader listed
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does restriction-1.12.1-0.1.12.jar need?

restriction-1.12.1-0.1.12.jar on 1.12.1. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Restriction without breaking your instance.

Built for restriction-1.12.1-0.1.12.jar on 1.12.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use restriction-1.12.1-0.1.12.jar. It targets 1.12.1, 1.12.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside restriction-1.12.1-0.1.12.jar. It opens that exact file at the source.

About this project

What does Restriction add?

This mod is made for modpack developers and not meant to be installed unconfigured. I made it for my modpack Exoria.

This mod restricts placement and interaction (right click) of blocks/machines. There are several criteria that can be used, such as being under an open sky, being in a closed room, having a special block nearby, being in a special dimension, being on a certain y level or needing a certain amount of experience.

On the first launch it will create an example json under config/restriction named restriction.json, you need to edit it and can use it as an example.

The structure of the json is the following:

  • "entries" is an array that defines the single restrictions

-- "block" define the block id to be restricted

-- "meta" define the meta data of the block

-- "ignoreMeta" set to true, if you want all blocks of the block id to be restricted no matter of the block id

-- "restrictions" array of restrictions that this block has

--- "type" CLOSEDROOM, DIMENSION, NEARBYBLOCKS, EXPERIENCE, MINHEIGHT

--- "reverse" set to true to invert the logic, this will turn MINHEIGHT for example to a max height requirement

--- "block" block id that is optional for CLOSEDROOM to define blocks that the room is made out of; and required for NEARBYBLOCKS

--- "meta" define the meta of above block

--- "ignoreMeta" set to true, if all blocks of the same block id are allowed and meta data doesn't matter

--- "amount" the minimum amount of blocks required that are defined above; or the XP level for EXPERIENCE; or the y level for MINHEIGHT

--- "size" min room size for CLOSEDROOM

--- "id" the dimension id for DIMENSION

Project description from CurseForge.

Pick your setup

Restriction by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Restriction versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.