mirror of
https://git.fellies.tech/minecraft/fellies.git
synced 2021-02-13 10:18:48 +00:00
18 lines
690 B
JavaScript
18 lines
690 B
JavaScript
|
//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);
|
||
|
// }
|
||
|
// }
|
||
|
// });
|