Skip to content

Commit b2a4375

Browse files
committed
MCreator 2025.3 port
1 parent 5f165fb commit b2a4375

File tree

229 files changed

+1575
-943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+1575
-943
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
repository: MCreator/MCreator
25-
ref: 2025.2.28610
25+
ref: master
2626
path: mcreator
2727
- name: Set up JDK 21
2828
uses: actions/setup-java@v4

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ tasks.register('runMCreatorWithPlugin', JavaExec) {
2222
dependsOn(processResources, jar)
2323

2424
environment("MCREATOR_PLUGINS_FOLDER", file("./build/libs"))
25-
environment("MCREATOR_PLUGINS_DEV", "")
2625

2726
jvmArgs '--add-opens', 'java.base/java.lang=ALL-UNNAMED'
2827

@@ -43,7 +42,6 @@ subprojects { subproject ->
4342
dependsOn rootProject.jar
4443

4544
environment("MCREATOR_PLUGINS_FOLDER", new File(rootProject.projectDir, "/build/libs"))
46-
environment("MCREATOR_PLUGINS_DEV", "")
4745
environment("MCREATOR_TEST_GENERATORS", "neoforge-${version}, datapack-${version}, resourcepack-${version}")
4846

4947
workingDir = mcreator_path

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mcreatorVersionShort=2025.2
2-
pluginVersion=1.5
1+
mcreatorVersionShort=2025.3
2+
pluginVersion=1.6
33
version=1.20.4
44
mcreator_path=unassigned

gradle/wrapper/gradle-wrapper.jar

1.96 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

src/main/resources/datapack-1.20.4/biome.definition.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,36 +47,36 @@ tags:
4747
- tag: BIOMES:minecraft:has_structure/end_city
4848
condition: spawnEndCity
4949
- tag: BIOMES:minecraft:has_structure/village_desert
50-
condition: "${data.villageType == 'desert'}"
50+
condition: "villageType %= desert"
5151
- tag: BIOMES:minecraft:has_structure/village_plains
52-
condition: "${data.villageType == 'plains'}"
52+
condition: "villageType %= plains"
5353
- tag: BIOMES:minecraft:has_structure/village_savanna
54-
condition: "${data.villageType == 'savanna'}"
54+
condition: "villageType %= savanna"
5555
- tag: BIOMES:minecraft:has_structure/village_snowy
56-
condition: "${data.villageType == 'snowy'}"
56+
condition: "villageType %= snowy"
5757
- tag: BIOMES:minecraft:has_structure/village_taiga
58-
condition: "${data.villageType == 'taiga'}"
58+
condition: "villageType %= taiga"
5959
- tag: BIOMES:minecraft:has_structure/ocean_ruin_cold
60-
condition: "${data.oceanRuinType == 'COLD'}"
60+
condition: "oceanRuinType %= COLD"
6161
- tag: BIOMES:minecraft:has_structure/ocean_ruin_warm
62-
condition: "${data.oceanRuinType == 'WARM'}"
62+
condition: "oceanRuinType %= WARM"
6363
- tag: BIOMES:minecraft:has_structure/ruined_portal_standard
64-
condition: "${data.spawnRuinedPortal == 'STANDARD'}"
64+
condition: "spawnRuinedPortal %= STANDARD"
6565
- tag: BIOMES:minecraft:has_structure/ruined_portal_desert
66-
condition: "${data.spawnRuinedPortal == 'DESERT'}"
66+
condition: "spawnRuinedPortal %= DESERT"
6767
- tag: BIOMES:minecraft:has_structure/ruined_portal_jungle
68-
condition: "${data.spawnRuinedPortal == 'JUNGLE'}"
68+
condition: "spawnRuinedPortal %= JUNGLE"
6969
- tag: BIOMES:minecraft:has_structure/ruined_portal_swamp
70-
condition: "${data.spawnRuinedPortal == 'SWAMP'}"
70+
condition: "spawnRuinedPortal %= SWAMP"
7171
- tag: BIOMES:minecraft:has_structure/ruined_portal_mountain
72-
condition: "${data.spawnRuinedPortal == 'MOUNTAIN'}"
72+
condition: "spawnRuinedPortal %= MOUNTAIN"
7373
- tag: BIOMES:minecraft:has_structure/ruined_portal_ocean
74-
condition: "${data.spawnRuinedPortal == 'OCEAN'}"
74+
condition: "spawnRuinedPortal %= OCEAN"
7575
- tag: BIOMES:minecraft:has_structure/ruined_portal_nether
76-
condition: "${data.spawnRuinedPortal == 'NETHER'}"
76+
condition: "spawnRuinedPortal %= NETHER"
7777

7878
field_exclusions: [name, coverageEstimate, treeVines, treeFruits, spawnBiome, spawnInCaves, spawnBiomeNether]
7979

8080
localizationkeys:
8181
- key: biome.@modid.@registryname
82-
mapto: name
82+
mapto: name

src/main/resources/datapack-1.20.4/generator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Data Pack for Java Edition @minecraft
22
status: deprecated
3-
buildfileversion: 20.4.250
3+
buildfileversion: 20.4.251
44

55
# gradle task definitions
66
gradle:
@@ -14,7 +14,7 @@ mod_assets_root: "@RESROOT/assets/@modid"
1414
mod_data_root: "@RESROOT/data/@modid"
1515

1616
# specific resource folders
17-
structures_dir: "@MODDATAROOT/structures"
17+
structures_dir: "@MODDATAROOT/structure"
1818

1919
base_templates:
2020
- template: pack.mcmeta.ftl
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"${generator.map(field$effect, "effects", 1)}": {
2+
"amplifier": {
3+
"min": ${input$minAmplifier}
4+
},
5+
"duration": {
6+
"min": ${input$minDuration}
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"${generator.map(field$enchantment, "enchantments", 1)}": {
3+
"levels": {
4+
"min": ${field$min},
5+
"max": ${field$max}
6+
}
7+
}
8+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"${registryname}_${cbi}": {
2+
"trigger": "minecraft:enchanted_item",
3+
"conditions": {
4+
"item": {
5+
"items": "${input$item}",
6+
"predicates": {
7+
"enchantments": [
8+
<#list input_list$enchantment as enchantment>
9+
${enchantment}<#sep>,
10+
</#list>
11+
]
12+
}
13+
},
14+
"levels": {
15+
"min": ${input$levelsSpent}
16+
}
17+
}
18+
},

0 commit comments

Comments
 (0)