This mod has been updated from 1.7 to 1.10/1.11! As a result, much of the documentation and file format information has changed. Please be aware of this and read all the available documentation before reporting any issues/bugs!
In these days of MineTweaker and other mods that allow mod-pack creators to customize mods to their heart's content, there's one glaring gap in the tool-set that these authors have. Try as they might, the ability to simply add new items and blocks without knowledge of Java is something that has simply been lacking. Fortunately, that's exactly where Quadrum comes in. By itself, it provides a simple method to add blocks/items with custom properties. Combined with other tweak mods that exist, you have some endless possibilities.
Usage:
Full usage of this mod can get a little complex, so I encourage you to refer to the documentation on the wiki (Links bellow). In short though, upon first running your game, a block and an item directory can be found in your config folder inside the 'Quadrum' folder. Everything to do with Quadrum happens here.
Inside those block and item folders, you will store your JSON files that dictate what blocks/items should be created (info on that below)
If any part of this or the provided documentation is confusing, please, let me know!
To install the mod simply have forge installed and add it to the mods folder. Load up Minecraft and then look in the config folder to which you should see a 'Quadrum' folder in there is everything you need to start adding your own blocks and items. Need help doing so? Look at the documentation.
Changelog:
0.8.0
Initial update for 1.12
0.7.2 Fixed creative tab definition crashing servers (#35, no, really)
0.7.1 Temporarily disable ability to define custom creative tab. (#35)
0.7.0
Additions:
Added Block Trait for defining Item drops
Added Block Trait for defining required Harvest Level (Tool type and Tool strength)
0.6.0
Additions:
Added Redstone Trait for Blocks
Added Visual Trait for Blocks
Added Particle Trait for Blocks
0.5.0:
Additions:
Added Visual trait for Items
Added gravity tag to Block's Physical trait, allowing it to fall like Sand or Gravel
Changes:
Edible is now Consumable, and supports more generic options like whether it's a food source, and what Item it returns after consumption
0.4.0:
Additions:
Added the edible trait for items, to allow for creating new food sources
Changes:
Re-wrote the internal trait system, again. No changes to file format, but traits can have a defined directly with no variants instead of explicitly defining the default tag. Check the wiki for information
Expanded the Bounding Box trait, now allows for setting both the collision bounding box and the selection bounding box
0.3.0:
Changes: Behind the scenes changes on how traits are handled, shouldn't affect end user experience Removed the hard dependency on ResourceLoader as it was causing issues
0.2.0:
Additions:
Added Lore support to blocks
Added Ore Dictionary support to blocks and items
Changes:
File format changes, documentation can be found on the GitHub Wiki
Changed Lore to be an actual trait, with support for variations
Okaydokie! Things should all be in order now. To make up for the issues, I've added the ability to define an item as a food source. The documentation for that has been added to the wiki.
Okaydokie! Things should all be in order now. To make up for the issues, I've added the ability to define an item as a food source. The documentation for that has been added to the wiki.
Have fun!
nice! i think i should mention, bothyour main download and your alternate lead to curseforge :/
Like I said, I have no idea how to have multiple blocks in a single JSON file, or how your mod reads these files. I've been using this to check it, and only using stuff that it said was okay: http://jsonlint.com/
I also wanted to point out that names show up like this ingame:
You need to list out possible values for each category. It took me a bit to figure out some of them required "true" or "false"
I couldn't figure out how to use the "ore-dictionary" category.
It should be listed somewhere how to have multiple blocks or items in a single json file
Alright, so I'm trying to make some extra ore blocks to be spawned on the moon with cofhcore.
...
Yeah, I definitely need to work on the documentation. At the moment, only one block/item can be added per file. As for the block name, you need to add localization. Documentation for that is also linked in the main post.
This mod has been updated from 1.7 to 1.10/1.11! As a result, much of the documentation and file format information has changed. Please be aware of this and read all the available documentation before reporting any issues/bugs!
In these days of MineTweaker and other mods that allow mod-pack creators to customize mods to their heart's content, there's one glaring gap in the tool-set that these authors have. Try as they might, the ability to simply add new items and blocks without knowledge of Java is something that has simply been lacking. Fortunately, that's exactly where Quadrum comes in. By itself, it provides a simple method to add blocks/items with custom properties. Combined with other tweak mods that exist, you have some endless possibilities.
THIS MOD CURRENTLY REQUIRES ResourceLoader!
Usage:
Full usage of this mod can get a little complex, so I encourage you to refer to the documentation on the wiki (Links bellow). In short though, upon first running your game, a block and an item directory can be found in your config folder inside the 'Quadrum' folder. Everything to do with Quadrum happens here.
Inside those block and item folders, you will store your JSON files that dictate what blocks/items should be created (info on that below)
If any part of this or the provided documentation is confusing, please, let me know!
Documentation: PLEASE READ THIS FIRST!
I also have a Trello board setup for Quadrum! Come take a look at where we're headed
Have issues or suggestions? The GitHub Issue Tracker is the place for you!
Installation:
To install the mod simply have forge installed and add it to the mods folder. Load up Minecraft and then look in the config folder to which you should see a 'Quadrum' folder in there is everything you need to start adding your own blocks and items. Need help doing so? Look at the documentation.
Changelog:
0.8.0
Initial update for 1.12
0.7.2
Fixed creative tab definition crashing servers (#35, no, really)
0.7.1
Temporarily disable ability to define custom creative tab. (#35)
0.7.0
Additions:
Added Block Trait for defining Item drops
Added Block Trait for defining required Harvest Level (Tool type and Tool strength)
0.6.0
Additions:
Added Redstone Trait for Blocks
Added Visual Trait for Blocks
Added Particle Trait for Blocks
0.5.0:
Additions:
Added Visual trait for Items
Added gravity tag to Block's Physical trait, allowing it to fall like Sand or Gravel
Changes:
Edible is now Consumable, and supports more generic options like whether it's a food source, and what Item it returns after consumption
0.4.0:
Additions:
Added the edible trait for items, to allow for creating new food sources
Changes:
Re-wrote the internal trait system, again. No changes to file format, but traits can have a defined directly with no variants instead of explicitly defining the default tag. Check the wiki for information
Expanded the Bounding Box trait, now allows for setting both the collision bounding box and the selection bounding box
0.3.0:
Changes:
Behind the scenes changes on how traits are handled, shouldn't affect end user experience
Removed the hard dependency on ResourceLoader as it was causing issues
0.2.0:
Additions:
Added Lore support to blocks
Added Ore Dictionary support to blocks and items
Changes:
File format changes, documentation can be found on the GitHub Wiki
Changed Lore to be an actual trait, with support for variations
0.1.0:
* Initial release
Download for MC1.10
Download for MC1.11
Download for MC1.12
Downloads: The latest version can be found here
Mod Packs:
* Inclusion in mod packs is allowed by default. I only ask for a link back to this thread.
Like what I do here? You can support me in many ways!
* Follow me on Twitter (@dylantweets)
* Support me on Patreon
My fml log. :/
[20:25:54] [main/INFO]: Setting user: qazplm601
[20:25:57] [Client thread/INFO]: LWJGL Version: 2.9.1
yep, thats it.
O_o
Unfortunately, I can't reproduce the problem. Minecraft/Forge version?
left my com alone for 5 minutes to see if it would load past this. nope.
1208
Yeah, looks like I messed up on compilation. Re-uploading now.Go ahead and re-downloadI LIED! HOLD ON!
yay, i helped bugtest!
Have fun!
nice! i think i should mention, bothyour main download and your alternate lead to curseforge :/
I know. The widget doesn't update immediately, so the alternate page is just the full list of files.
agreed!
This works:
{
"name": "moonAnorthite",
"default-texture": "moonore_anorthite",
"material": "stone",
"hardness": 1.5,
"resistance": 10,
"mining-level": 2
}
This doesn't work:
{
"Anorthite Ore": {
"name": "moonAnorthite",
"default-texture": "moonore_anorthite",
"material": "stone",
"hardness": 1.5,
"resistance": 10,
"mining-level": 2
},
"Cyanite Ore": {
"name": "moonCyanite",
"default-texture": "moonore_cyanite",
"material": "stone",
"hardness": 1.5,
"resistance": 10,
"mining-level": 2
}
}
Like I said, I have no idea how to have multiple blocks in a single JSON file, or how your mod reads these files. I've been using this to check it, and only using stuff that it said was okay: http://jsonlint.com/
I also wanted to point out that names show up like this ingame:
Yeah, I definitely need to work on the documentation. At the moment, only one block/item can be added per file. As for the block name, you need to add localization. Documentation for that is also linked in the main post.