Community listing page, reviews here may not be monitored by the author.
CTKor NoPlace
No reviews yet
This mod provides a config to restrict blocks from being placed in dimensions.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
This mod provides a config to restrict blocks from being placed in dimensions.
Dependencies
This mod requires CTKor Library. Please make sure it is installed along with this mod.
Overview
Let's say you have a portal block that you want the player to have to place in the Nether. Simply add the block to the config file and whitelist dimension -1 and you're good to go.
Configuration
A simple example configuration is provided:
{
"blocks": {
"minecraft:stone:0": {
"dimensionIdWhiteList": [],
"dimensionIdBlackList": [
0
],
"returnedItem": "minecraft:stone:0",
"message": "As an example, stone has been blacklisted for dimension 0 (Overworld)."
}
}
}
The .json is pretty straightforward, but there are a couple of things to note here.
Whitelist and Blacklist Logic
The whitelist and blacklist logic works as follows:
- If the whitelist is NOT empty and the placed block is in the whitelist for the dimension, it gets placed.
- If the blacklist is NOT empty and the placed block is NOT in the blacklist for the dimension, it gets placed.
Therefore, if you were to whitelist and blacklist the same dimension, the block would still be placed because the whitelist is checked first.
Returned Item
If the returned item is left blank or omitted entirely, the mod will return to the player the item that is normally given when the block is broken. This works for most blocks, however, it does not work for blocks that return something different. Stone is a good example of this. When the stone block is broken, cobblestone is returned. The returnedItem parameter allows you to override the returned item, like we did in the example above.
Message
If the message parameter is provided, and not left blank, the player will see this message when they try to place a restricted block. This serves to notify and inform the player, optionally giving hints as to where the block can be placed. Without this information the player might think that something is bugged or glitched.
You can use this mod in any modpack provided you do not host the file elsewhere.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
(opens in a new tab)
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers