11d596b788
Features: - Added Diamond Shard armor set (helmet, chestplate, leggings, boots) - Added Diamond Shard tools (pickaxe, shovel, axe, paxel) - Created custom creative tab "Custom Ore Gen" with all mod items - Fixed armor texture loading with proper ArmorMaterial implementation - Updated diamond shard item texture to 32x32 - Fixed diamond shard ore textures (swapped surface/deepslate) - Disabled surface diamond shard ore generation (only deepslate remains) - Added KubeJS as mandatory dependency - Auto-create KubeJS startup script to remove vanilla ores Technical changes: - Created ShardDiamondArmorMaterial class with proper getName() format - Created KubeJSIntegration class for automatic script creation - Updated mods.toml with KubeJS dependency and version 2.1.5 - Removed ModArmorMaterials enum (replaced by class-based approach) - Updated CreativeTab to include all mod items in custom tab Textures: - New armor textures from new_armor folder - New diamond shard item texture - Fixed armor layer textures for proper rendering 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
55 lines
1.2 KiB
Groovy
55 lines
1.2 KiB
Groovy
plugins {
|
|
id 'eclipse'
|
|
id 'net.minecraftforge.gradle' version '[6.0.16,6.2)'
|
|
}
|
|
|
|
version = '2.1.5'
|
|
group = 'com.aulyrius.custom_ore_gen'
|
|
archivesBaseName = 'custom_ore_gen'
|
|
|
|
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
|
|
|
|
minecraft {
|
|
mappings channel: 'official', version: '1.20.1'
|
|
|
|
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
|
|
|
copyIdeResources = true
|
|
|
|
runs {
|
|
client {
|
|
def mcreatorJvmOptions = System.getenv('MCREATOR_JVM_OPTIONS')
|
|
if (mcreatorJvmOptions) {
|
|
jvmArgs += mcreatorJvmOptions.split("\\s+").findAll { it.trim() }.toList()
|
|
}
|
|
}
|
|
|
|
server {
|
|
}
|
|
|
|
configureEach {
|
|
workingDirectory project.file('run')
|
|
|
|
property 'forge.logging.markers', 'REGISTRIES'
|
|
property 'forge.logging.console.level', 'debug'
|
|
|
|
mods {
|
|
examplemod {
|
|
source sourceSets.main
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
minecraft 'net.minecraftforge:forge:1.20.1-47.3.0'
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
|
|
}
|
|
|
|
apply from: 'mcreator.gradle'
|
|
|