1
0
mirror of https://git.fellies.tech/minecraft/fellies.git synced 2021-02-13 10:18:48 +00:00
Fellies/kubejs[e6]/startup_scripts/factory/blocks.js

18 lines
690 B
JavaScript
Raw Normal View History

2021-01-28 22:28:10 +00:00
//TODO: Remove in 0.4.0
// events.listen('block.registry', function (event) {
// for (var i = 0; i < materials.length; i++) {
// for (var j = 0; j < materials[i].blockParts.length; j++) {
// var block = materials[i].blockParts[j];
// var registryName = materials[i].name + '_' + block.name;
// event
// .create(registryName)
// .texture('kubejs:block/' + registryName)
// .material(block.material)
// .harvestTool(block.harvestTool, block.harvestLevel)
// .hardness(block.hardness)
// .resistance(block.resistance);
// }
// }
// });