Skip to content

Commit 9de4ffc

Browse files
committed
GregTech Modern Utilities version 2.3.1
* fix model/datagen for sterile hatch, allowing proper formed look
1 parent cf38175 commit 9de4ffc

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

changelog.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# GregTech Modern Utilities version 2.3.0
1+
# GregTech Modern Utilities version 2.3.1
22

3-
* Update to GTm version 7.2.0
4-
* Add custom tool tiers for all electric tools, including new LuV and ZPM tools (all of which are opt-in)
3+
* fix model/datagen for sterile hatch, allowing proper formed look

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ org.gradle.jvmargs=-Xmx1G
1111
mapping_version=2023.09.03
1212

1313
# Mod Properties
14-
mod_version=2.3.0
14+
mod_version=2.3.1
1515
maven_group=net.neganote.gtmutils
1616
archives_base_name=gtmutils
1717
mod_id=gtmutils

src/generated/resources/assets/gtmutils/models/block/machine/sterile_cleaning_maintenance_hatch.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,17 @@
88
"side"
99
],
1010
"variants": {
11-
"": {
11+
"is_formed=false": {
12+
"model": {
13+
"parent": "gtmutils:block/machine/part/sterile_cleaning_maintenance_hatch",
14+
"textures": {
15+
"bottom": "gtceu:block/casings/voltage/uhv/bottom",
16+
"side": "gtceu:block/casings/voltage/uhv/side",
17+
"top": "gtceu:block/casings/voltage/uhv/top"
18+
}
19+
}
20+
},
21+
"is_formed=true": {
1222
"model": {
1323
"parent": "gtmutils:block/machine/part/sterile_cleaning_maintenance_hatch",
1424
"textures": {

src/main/java/net/neganote/gtutilities/common/machine/UtilMachines.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import com.gregtechceu.gtceu.api.machine.MultiblockMachineDefinition;
1111
import com.gregtechceu.gtceu.api.machine.multiblock.CleanroomType;
1212
import com.gregtechceu.gtceu.api.machine.multiblock.PartAbility;
13+
import com.gregtechceu.gtceu.api.machine.property.GTMachineModelProperties;
1314
import com.gregtechceu.gtceu.api.pattern.FactoryBlockPattern;
1415
import com.gregtechceu.gtceu.api.registry.registrate.MachineBuilder;
1516
import com.gregtechceu.gtceu.common.data.GTMaterials;
@@ -61,6 +62,7 @@ public class UtilMachines {
6162
.translatable(CleanroomType.STERILE_CLEANROOM.getTranslationKey())
6263
.withStyle(ChatFormatting.GREEN))))
6364
.tier(UHV)
65+
.modelProperty(GTMachineModelProperties.IS_FORMED, false)
6466
.overlayTieredHullModel(
6567
GregTechModernUtilities.id("block/machine/part/sterile_cleaning_maintenance_hatch"))
6668
// Tier can always be changed later

0 commit comments

Comments
 (0)