
Modrinth · Minecraft mod
CraftDen1al
A plugin run on server-side, which allows you to refuse some crafting operations from client-side.
Quick answer
Which CraftDen1al release matches 1.9?
CraftDen1al 0.0.6 targets 1.7.10, 1.8, 1.8.3 with bukkit, paper, purpur. 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 CraftDen1al required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does CraftDen1al 0.0.6 need?
0.0.6 on 1.9. Every mod below is checked against that same setup.
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 CraftDen1al without breaking your instance.
Built for CraftDen1al 0.0.6 on 1.9. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.0.6. It targets 1.7.10, 1.8, 1.8.3 with bukkit, paper, purpur; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.0.6. It opens that exact file at the source.
About this project
What does CraftDen1al add?
Plugin Synopsis
This is a lightweight plugin run on server-side, which allows you to refuse certain crafting operations from client-side.
How to Use This Plugin
Loading world with this plugin loading, this plugin will not actively modify anything. You need to create and edit a file named craftden1al.json (case sensitive on Linux) in the root directory of the world (i.e. in the same directory as level.dat).
Example of craftden1al.json: (“//” comments for ease of understanding, actual JSON files do not allow comments)
{
"deny_mode": false, // defaults 'true'; 'true' for deny mode and 'false' for allow mode; accepts: 'true' | 'false'
"patterns": [
[
{
"type": "rege_s_simple_datapack:all", // a string represents a condiion type, registered in rege.rege.minecraftmod.craftden1al.util.ConditionRegistry
"data": [] // any element, depends on the type's requirement
}, // an object represents a conditional match, or 'null' represents an unconditional match; accepts: an object | 'null'
[
"minecraft:string", // a string(available on MC 1.7+) represents the resource location of the item, or a number represents the raw ID of the item, or an object(see below) represents a more detailed item, or 'null' represents an empty slot
"minecraft:string", // the same as the previous line
"minecraft:string", // the same as the previous line
"minecraft:string" // the same as the previous line
], // an array represents a shaped or shapeless recipe's ingredients, or 'null' represents that the ingredients are unimportant
{
"id": "minecraft:wool", // a string(available on MC 1.7+) represents the resource location of the item, or a number represents the raw ID of the item
"dv": 0, // a number represents the DV(Damage Value) of the item
"count": 1 // a number represents the count of the result item; won't be useful in ingredients' definitions
}, // a string(available on MC 1.7+) represents the resource location of the result item, or a number represents the raw ID of the result item, or an object represents a more detailed result item, or 'null' represents that the result item is unimportant
2, // an integer represents the width of the shaped recipe, or null represents that the width of the shaped recipe is unimportant; if both this and next element is absent, it represents that whether the recipe to match is shaped or not is unimportant
2 // an integer represents the height of the shaped recipe, or null represents that the height of the shaped recipe is unimportant; if this element is absent and the previous element is present, it represents that the recipe to match is shapeless
]
] // defaults '[]'; an array represents all recipe patterns to match
}
So, after editing the file and restarting the server / re-entering the world, the client player will find they are only able to craft 1 White Wool with 4 Strings, and when trying to craft other recipes, even though the result item is displayed on the right side of the crafting screen, when trying to take out the item, it will “bounce back”, thus refusing to craft certain recipes.
Notice
Please refer to the Minecraft Wiki's history for recipe lists, and the width and height of the shaped crafting patterns are strictly “source-code-based”.
For example, the width and height of Diamond Axe's are 2 and 3, not 3 and 3; and must be ["minecraft:diamond", "minecraft:diamond", "minecraft:diamond", "minecraft:stick", null, "minecraft:stick"], not its horizontal-mirrored form (i.e. ["minecraft:diamond", "minecraft:diamond", "minecraft:stick", "minecraft:diamond", "minecraft:stick", null]).
If you are not able to view the source code, the best way is to write both to the pattern.
FAQ
Q: Is it useful to run this mod on the client-side?
A: Client-side loading of this mod is useful for entering singleplayer worlds. It takes no effect for entering multiplayer games. Whether it takes effect depends on whether this mod is loaded on the server side.
Q:Seems that the pattern defined in craftden1al.json did not being loaded?
A:Please check whether the content of craftden1al.json conforms to the syntax of JSON (pay special attention to the presence or absence of commas, whether the symbols are halfwidth, and no comments allowed). If there is a syntax error, the game log will show Incorrect JSON syntax of craftden1al.json, giving up loading: reason. As well as confirming that the key names are spelled correctly (e.g. patterns is written as pattern causing no patterns to load), and that the recipe list is incorrect.
Q: In Creative Mode, I can press a number key to move an item from the result item slot out without bouncing it back?
A: This is a feature of Creative Mode, this won't happen in Survival/Adventure Mode.
Q: Will craftden1al.json be overwritten because it contains invalid item IDs, etc.?
A: No. This plugin will only read the file, not write to it.
Project description from Modrinth.
Pick your setup
CraftDen1al by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.12.1
1 loader build1.12-pre6
1 loader build1.12
1 loader build1.11.2
1 loader build1.11
1 loader build1.10.2
1 loader build1.10
1 loader build1.9.4
1 loader build1.9.2
1 loader build1.9
1 loader build1.8.9
1 loader buildShowing the newest 12 of 47 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
CraftDen1al versions and loaders
0.0.6
craftden1al-0.0.6.jar
8 Dec 2024
Looking for an older file? The official Modrinth project page is in Resources.