Vintage KubeJS
This mod provides integration between Create: Vintage Improvements and KubeJS, allowing you to create and customize recipes for all Vintage Improvements machinery using KubeJS scripts.
Supported Recipe Types
The mod supports all main processing types from Create: Vintage Improvements:
- Centrifugation - material separation in centrifuge with basins
- Coiling - spring creation on specialized machine
- Curving - part shaping using curving press
- Hammering - material processing with hammer on anvil
- Laser Cutting - precise material cutting with laser
- Polishing - surface polishing on belt grinder
- Pressurizing - material compression under pressure
- Turning - part creation on lathe
- Vacuumizing - processing in vacuum environment
- Vibrating - material separation on vibrating table
Working Features
Each recipe type supports various customization parameters including processing time, rotation speed requirements, temperature modes, and additional fluids. Also available is work with spring-type items where you can set their stiffness.
Usage Examples
// Centrifugation of honey block
ServerEvents.recipes(event => {
event.recipes.vintageimprovements.centrifugation(
Fluid.of('create:honey', 1000),
'minecraft:honey_block',
100,
64
)
})
// Creation of steel spring
ServerEvents.recipes(event => {
event.recipes.vintageimprovements.coiling(
'vintageimprovements:steel_spring',
'vintageimprovements:steel_rod'
).springColor("5D595E")
})
// Laser cutting of iron block
ServerEvents.recipes(event => {
event.recipes.vintageimprovements.laser_cutting(
Item.of('minecraft:iron_bars', 24),
'minecraft:iron_block'
).energyCost(5000).maxChargeRate(500)
})
Note: example scripts demonstrate syntax and are not intended for direct use with specified items.
Compatibility
The mod is fully compatible with Create: Vintage Improvements and KubeJS, providing flexible tools for gameplay customization through scripts.