Creating custom gears using CogwheelTweaker - kotakotik22/create-gears GitHub Wiki
OUTDATED: missing new wrapper workaround
Requires CogwheelTweaker and its dependencies, Create, ContentTweaker, and CraftTweaker
For custom assets (models/textures/blockstates) you'll need a loader like Open Loader
Note: Legacy models are not supported with templates so you will have to create your own assets for any gears using legacy models
Note: This doesn't show how to make custom assets or show all ways to configure your gears because it's the same as cogwheel tweaker
Note: CogwheelTweaker and our CogwheelTweaker compat will not work on ContentTweaker versions above 1.0.0.develop.11
Code examples:
#loader contenttweaker
import mods.contenttweaker.block.BlockBuilder;
import mods.cogweeltweaker.block.cogwheel.CoTWheelBuilder;
import mods.creategears.block.gear.GearBuilder;
// Create both the gear and the cog
// The cog's name will be just like the gear name but gear is replaced with cog (automatically replaced)
new BlockBuilder()
.withType<GearBuilder>().new()
.build("my_gear");
// Creating them in different builders
new BlockBuilder()
.withType<GearBuilder>()
.noGear() // tells the mod to not create a cog block
.build("svelte_gear");
new BlockBuilder()
.withType<CoTWheelBuilder>()
.build("svelte_cog");
// Creating only the gear
new BlockBuilder()
.withType<GearBuilder>()
.noGear() // tells the mod to not create a cog block
.build("lonely_gear");
// Anything else is configured just like regular CogwheelTweaker
// If you create both the cog and the gear in the same place, all of their properties will be the same
// Otherwise they will not