minecraft server init

This commit is contained in:
2025-07-23 08:37:00 +03:00
commit ccf1f5f4d0
2460 changed files with 291551 additions and 0 deletions

View File

@ -0,0 +1,38 @@
/*
SevTech: Ages Harvest Level Modification Script
This script allows for the modification of an ItemStack's Harvest Level.
Note: These scripts are created and for the usage in SevTech: Ages and other
modpacks curated by DarkPacks. You can use these scripts for reference and for
learning but not for copying and pasting and claiming as your own.
*/
import crafttweaker.block.IBlockDefinition;
import crafttweaker.item.IItemStack;
// Set block pickaxe harvest level
static pickaxeLevelPairs as IItemStack[][int] = {
1: [
<abyssalcraft:coraliumore:0>,
<bloodmagic:blood_rune:0>,
<geolosys:ore:3>,
<geolosys:ore:5>,
<poweradapters:mj:0>
],
3: [
<nex:quartz_ore:1>,
<nex:quartz_ore:2>,
<nex:quartz_ore:3>,
<nex:quartz_ore:0>
]
};
function init() {
for pickaxeLevel, items in pickaxeLevelPairs {
for item in items {
var blockDefinition as IBlockDefinition = item.asBlock().definition;
blockDefinition.setHarvestLevel("pickaxe", pickaxeLevel);
}
}
}