modsmith Log in Log in Рус / Eng

ContentTweaker

contenttweaker · 130838 downloads · MIT

utility

client: required · server: required (declared by the mod author)

Allows you to add Items and Blocks

Description

This mod requires CraftTweaker to run

ContentTweaker is an addon for CraftTweaker. Crafttweaker lets you adjust recipes, remove them entirely, or add new recipes. One of the features that it lacks is the ability to create new items and blocks, ContentTweaker plans on allowing users to add more to their game, not only recipes but actual items and blocks.

Currently, with ContentTweaker, you can add the following:

 • New Items

 • New Blocks

 • New Creative Tabs

Due to the limitations enforced by Minetweaker, Scripts containing methods from this mod, should be treated differently from normal Minetweaker scripts, the most noticeable differences are:

• Scripts go in the "scripts" folder same as CraftTweaker, however they need to start with '#loader contenttweaker`' as the first line

You can find more information here:
You can find documentation for the mod on the official Minetweaker wiki here: ContentTweaker Wiki

How It Works:

Using a Zenscript Syntax you can create new items and blocks to the game rather simply.
These blocks are treated the same way as any other standard block, and thus requires a model(Supports .obj)/texture JSON and a texture. 

You'll find appropriate directories in the ACRONYM/ContentTweaker sub-folder in your config directory. More information on how to create your blocks and how to handle resources will be available on our GitHub wiki and hopefully soon on the official MineTweaker web page!

Here's one of the very basic test examples we currently feature on our GitHub wiki:

import mods.contenttweaker.VanillaFactory;
import mods.contenttweaker.Block;

var zsBlock = VanillaFactory.createBlock("zs_block", <blockmaterial:iron>); zsBlock.fullBlock = true; zsBlock.lightOpacity = 255; zsBlock.translucent = true; zsBlock.lightValue = 1.0; zsBlock.blockHardness = 5.0; zsBlock.blockResistance = 5.0; zsBlock.toolClass = "pickaxe"; zsBlock.toolLevel = 2; zsBlock.blockSoundType = <soundtype:metal>; zsBlock.register();

Want to do a mod spotlight? 
Would be awesome! Send us a link so we can check it out!

Modpack: 
You have our permission to use this mod in any private & publicly distributed mod pack.

Discord: 
Talk to the developers here!

Versions (21)

VersionMinecraftLoadersFile
1.0.0.develop.36 1.16.5 forge download
4.10.0 1.12.2 forge download
1.0.0.develop.19 1.16.5 forge download
1.0.0.develop.11 1.16.4, 1.16.5 forge download
4.9.1 1.12.2 forge download
4.9.0 1.12.2 forge download
4.8.0 1.12.2 forge download
4.7.0 1.12.2 forge download
4.6.0 1.12.2 forge download
4.5.0 1.12.2 forge download
4.4.1 1.12.2 forge download
4.4.0 1.12.2 forge download
4.3.0 1.12.2 forge download
4.2.0 1.12, 1.12.1, 1.12.2 forge download
4.1.0 1.12, 1.12.1, 1.12.2 forge download
4.0.0 1.12, 1.12.1 forge download
2.1.0 1.10.2 forge download
1.0.5 1.7.10 forge download
1.0.4 1.7.10 forge download
1.0.3 1.7.10 forge download
1.0.0 1.7.10 forge download

Modrinth page →