This page relates to Create Automated, which has built-in support!
This page relates to Create Automated, which does not have built-in support, you will need to install ContentTweaker as well!
Drill Heads
Link to drill-heads
⚠ You can only do this with ContentTweaker installed!
Allows creating custom drill heads with custom durability, and custom partials (model displayed on the extractor block).
The DrillHead is a type of ItemTypeBuilder, so you obtain it by calling ItemBuilder#withType<DrillHeadBuilder>().
ZenScript Copy#loader contenttweaker
import mods.contenttweaker.item.ItemBuilder;
import mods.createautomated.item.DrillHeadBuilder;
new ItemBuilder()
.withType<DrillHeadBuilder>()
.durability(9898) // Sets the drill's durability, drill damage is defined in each extracting recipe
.partial("block/my_drill") // Sets the model displayed on the extractor block. See how the partials work below
.build("i_like_putting_jokes_in_ids"); // Registers the item with the id contenttweaker:i_like_putting_jokes_in_ids
The partials are the model displayed on the extractor block. If you don't register one, the default iron drill head will be used.
If your drill model is in assets/contenttweaker/models/block/my_drill.json
, you would use .partial("block/my_drill")
.