Skip to content

API Usage

iglée42 edited this page Oct 7, 2023 · 3 revisions

This page will describe how use the CreateCasingApi class


For each method in the class you will have a description what does it

Almost all methods requires a CreateRegistrate instance and a name

All methods have a documentation in the code if needed

Overview
createCasing Create a custom casing for Create
createEncasedShaft Create a custom encased shaft (the Create vanilla only)
createEncasedCogwheel Create a custom encased cogwheel (the Create vanilla only)
createEncasedLargeCogwheel Create a custom encased large cogwheel (the Create vanilla only)
createEncasedPipe Create a custom encased pipe (the Create vanilla only) (⚠️Warning This method doesn't create item)
createGearbox Create a custom gearbox (You can make the method doesn't create vertical item)
createDepot Create a custom depot
createMixer Create a custom mixer (There are no specificity)
createPress Create a custom press
forEachCustomShaft Execute the consumer for each Create Encased vanilla custom shaft (Doesn't support KubeJS custom shaft)
Clone this wiki locally