Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 45 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,43 @@ if (System.getenv('MODRINTH_TOKEN') || project.hasProperty('modrinthToken')) {
minecraft {
mappings channel: 'official', version: "${mc_version}"
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')

runs {
client {
workingDirectory project.file('runs/client').canonicalPath
property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'
mods {
thermal_dynamics {
source sourceSets.main
}
}
}

server {
workingDirectory project.file('runs/server').canonicalPath
property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'
args '--nogui'
mods {
thermal_dynamics {
source sourceSets.main
}
}
}

data {
workingDirectory project.file('runs/data').canonicalPath
property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'
args '--mod', mod_id, '--all', '--output', file('src/main/generated/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
mods {
thermal_dynamics {
source sourceSets.main
}
}
}
}
}

processResources {
Expand All @@ -65,8 +102,8 @@ processResources {
'mc_version': mc_version,
'forge_version': forge_version,
'forge_major_version': forge_version.split('\\.')[0],
'cofh_core_version_range': "[${cofh_core_version.replace(".+", "")},${cofh_core_max_version})",
'thermal_core_version_range': "[${thermal_core_version.replace(".+", "")},${thermal_core_max_version})"
'cofh_core_version_range': "[11.0.0,${cofh_core_max_version})",
'thermal_core_version_range': "[11.0.0,${thermal_core_max_version})"
}
}

Expand All @@ -83,6 +120,7 @@ repositories {
maven { url 'https://dvs1.progwml6.com/files/maven/' }
maven { url 'https://maven.blamejared.com/' }
maven { url 'https://maven.theillusivec4.top/' }
maven { url 'https://api.modrinth.com/maven' } // Spark
}

dependencies {
Expand All @@ -91,8 +129,11 @@ dependencies {
shadowIn 'net.covers1624:Quack:0.4.0.42' // Quack :D
compileOnly 'org.jetbrains:annotations:22.0.0'

implementation fg.deobf("com.teamcofh:cofh_core:${mc_version}-${cofh_core_version}.+")
implementation fg.deobf("com.teamcofh:thermal_core:${mc_version}-${thermal_core_version}.+")
implementation fg.deobf("com.teamcofh:cofh_core:${mc_version}-${cofh_core_version}")
implementation fg.deobf("com.teamcofh:thermal_core:${mc_version}-${thermal_core_version}")

// Spark profiler for dev environment
runtimeOnly fg.deobf("maven.modrinth:spark:1.10.53-forge")

// implementation fg.deobf("com.simibubi.create:create-${create_minecraft_version}:${create_version}:slim") { transitive = false }
// implementation fg.deobf("com.jozufozu.flywheel:flywheel-forge-${flywheel_minecraft_version}:${flywheel_version}")
Expand Down
11 changes: 7 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Gradle Settings
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=1G -XX:+HeapDumpOnOutOfMemoryError

# Mod Properties
mod_id=thermal_dynamics
mod_name=Thermal Dynamics
Expand All @@ -10,11 +13,11 @@ forge_version=47.1.3
neoforge_version=47.1.65

# Dependency Properties
cofh_core_version=11.1.0
cofh_core_max_version=11.2.0
cofh_core_version=11.0.2.56
cofh_core_max_version=11.1.0

thermal_core_version=11.1.0
thermal_core_max_version=11.2.0
thermal_core_version=11.0.7.25
thermal_core_max_version=11.1.0

jei_version=15.2.0+

Expand Down
21 changes: 21 additions & 0 deletions src/main/generated/data/thermal/loot_tables/blocks/item_duct.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_dense"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_dense"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_dense_opaque"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_dense_opaque"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_impulse"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_impulse"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_impulse_dense"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_impulse_dense"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_impulse_dense_opaque"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_impulse_dense_opaque"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_impulse_opaque"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_impulse_opaque"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_impulse_vacuum"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_impulse_vacuum"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_impulse_vacuum_opaque"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_impulse_vacuum_opaque"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_opaque"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_opaque"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_signalum"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_signalum"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_signalum_dense"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_signalum_dense"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "thermal:item_duct_signalum_dense_opaque"
}
],
"rolls": 1.0
}
],
"random_sequence": "thermal:blocks/item_duct_signalum_dense_opaque"
}
Loading