Skip to content

Commit 9a97988

Browse files
authored
Merge branch 'Creators-of-Create:mc1.21.1/dev' into mc1.20.1/peculiar-transformation
2 parents 5c33ac5 + 965d3e2 commit 9a97988

9,135 files changed

Lines changed: 147741 additions & 106047 deletions

File tree

Some content is hidden

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

‎.editorconfig‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ charset = utf-8
99
trim_trailing_whitespace = true
1010
insert_final_newline = true
1111

12+
[{*.markdown,*.md}]
13+
ij_markdown_wrap_text_if_long = false
14+
1215
[*.yml]
1316
indent_size = 2
1417

@@ -25,5 +28,5 @@ ij_java_blank_lines_before_method_body = 0
2528
ij_java_else_on_new_line = false
2629
ij_java_class_count_to_use_import_on_demand = 999
2730
ij_java_names_count_to_use_import_on_demand = 999
28-
ij_java_imports_layout = $*,|,java.**,|,javax.**,|,org.**,|,com.**,|,*,|,net.minecraftforge.**
31+
ij_java_imports_layout = $*, |, java.**, |, javax.**, |, org.**, |, com.**, |, *, |, net.neoforged.**
2932
ij_java_insert_inner_class_imports = true

‎.github/workflows/build.yml‎

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Build
2-
3-
on: [ workflow_dispatch, pull_request ]
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
inputs:
7+
is-release:
8+
description: 'Publish release to Modrinth, Curseforge and Github'
9+
required: false
10+
default: false
11+
type: boolean
412

513
jobs:
614
build:
@@ -9,14 +17,26 @@ jobs:
917
- name: Checkout Repository
1018
uses: actions/checkout@v4
1119

12-
- name: Setup Java
13-
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> "$GITHUB_ENV"
20+
- name: Setup Java 21
21+
run: echo "JAVA_HOME=$JAVA_HOME_21_X64" >> "$GITHUB_ENV"
1422

1523
- name: Setup Gradle
1624
uses: gradle/actions/setup-gradle@v4
17-
18-
- name: Validate Gradle Wrapper Integrity
19-
uses: gradle/actions/wrapper-validation@v3
25+
with:
26+
cache-disabled: ${{ inputs.is-release }}
27+
cache-read-only: false
2028

2129
- name: Build
2230
run: ./gradlew build
31+
32+
- name: Run Gametests
33+
if: ${{ !inputs.is-release }}
34+
run: ./gradlew runGameTestServer
35+
36+
- name: Publish
37+
if: ${{ inputs.is-release }}
38+
env:
39+
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
40+
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
run: ./gradlew publishMods

‎.github/workflows/localization.yml‎

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,36 @@
11
# This workflow will run Crowdin Action that will upload new texts to Crowdin, download the newest translations and create a PR
22
# For more information see: https://github.com/crowdin/github-action
33
name: Crowdin Action
4-
on: workflow_dispatch
4+
5+
on:
6+
workflow_dispatch:
7+
inputs:
8+
uploadTranslations:
9+
description: "Set to true to upload (changed) translations to Crowdin"
10+
type: boolean
11+
required: true
12+
default: false
513

614
jobs:
715
synchronize-with-crowdin:
816
runs-on: ubuntu-latest
17+
918
steps:
1019
- name: Checkout
11-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
1221

1322
- name: crowdin action
14-
uses: crowdin/github-action@1.4.9
23+
uses: crowdin/github-action@v2
1524
with:
16-
# Upload sources to Crowdin
1725
upload_sources: true
18-
# Upload translations to Crowdin, only use true at initial run
19-
upload_translations: false
20-
# Make pull request of Crowdin translations
26+
upload_translations: ${{ github.event.inputs.uploadTranslations }}
2127
download_translations: true
22-
# To download translations to the specified version branch
2328
localization_branch_name: l10n_crowdin_translations
24-
# Create pull request after pushing to branch
2529
create_pull_request: true
2630
pull_request_title: 'New Crowdin translations'
2731
pull_request_body: 'New Crowdin pull request with translations'
2832
pull_request_base_branch_name: 'mc1.20.1/dev'
2933
env:
30-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3135
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
3236
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

‎.github/workflows/release.yml‎

Lines changed: 0 additions & 27 deletions
This file was deleted.

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ local.properties
2929
.classpath
3030
.settings/
3131
.loadpath
32+
.factorypath
3233

3334
# External tool builders
3435
.externalToolBuilders/

‎Jenkinsfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pipeline {
55
agent any
66

77
tools {
8-
jdk "jdk-17.0.1"
8+
jdk "jdk-21"
99
}
1010

1111
stages {

‎LICENSE‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

‎LICENSE.md‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# License Overview
2+
3+
## Assets License (All Rights Reserved)
4+
5+
All Rights Reserved
6+
7+
Copyright (c) The Create Team / The Creators of Create
8+
9+
This license applies to any files under the following directories:
10+
11+
- ./src/main/resources/assets/
12+
13+
---
14+
15+
## Code License (MIT)
16+
17+
All other files are licensed under the MIT License:
18+
19+
MIT License
20+
21+
Copyright (c) The Create Team / The Creators of Create
22+
23+
Permission is hereby granted, free of charge, to any person obtaining a copy
24+
of this software and associated documentation files (the "Software"), to deal
25+
in the Software without restriction, including without limitation the rights
26+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
27+
copies of the Software, and to permit persons to whom the Software is
28+
furnished to do so, subject to the following conditions:
29+
30+
The above copyright notice and this permission notice shall be included in all
31+
copies or substantial portions of the Software.
32+
33+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
36+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
38+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
39+
SOFTWARE.

‎README.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<p align="center"><img src="./.idea/icon.png" alt="Logo" width="200"></p>
22
<h1 align="center">Create <br>
3-
<a href="https://www.patreon.com/simibubi"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dsimibubi%26type%3Dpatrons&style=flat&label=Supporters&color=ff5733" alt="Patreon"></a>
4-
<a href="https://www.curseforge.com/minecraft/mc-mods/create/files"><img src="https://cf.way2muchnoise.eu/versions/328085(c70039).svg" alt="Supported Versions"></a>
5-
<a href="https://github.com/Creators-of-Create/Create/blob/master/LICENSE"><img src="https://img.shields.io/github/license/Creators-of-Create/Create?style=flat&color=900c3f" alt="License"></a>
6-
<a href="https://discord.gg/hmaD7Se"><img src="https://img.shields.io/discord/620934202875183104?color=5865f2&label=Discord&style=flat" alt="Discord"></a>
7-
<a href="https://www.curseforge.com/minecraft/mc-mods/create"><img src="http://cf.way2muchnoise.eu/328085.svg" alt="CF"></a>
8-
<a href="https://modrinth.com/mod/create"><img src="https://img.shields.io/modrinth/dt/create?logo=modrinth&label=&suffix=%20&style=flat&color=242629&labelColor=5ca424&logoColor=1c1c1c" alt="Modrinth"></a>
3+
<a href="https://r.createmod.net/p"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dsimibubi%26type%3Dpatrons&style=flat&label=Supporters&color=FF5733" alt="Patreon"></a>
4+
<a href="https://r.createmod.net/d"><img src="https://img.shields.io/discord/620934202875183104?color=5865F2&label=Discord&style=flat" alt="Discord"></a>
5+
<a href="https://r.createmod.net/cf"><img src="https://img.shields.io/curseforge/dt/328085?logo=curseforge&label=&suffix=%20&style=flat&color=242629&labelColor=F16436&logoColor=1C1C1C" alt="CurseForge"></a>
6+
<a href="https://r.createmod.net/mr"><img src="https://img.shields.io/modrinth/dt/create?logo=modrinth&label=&suffix=%20&style=flat&color=242629&labelColor=5CA424&logoColor=1C1C1C" alt="Modrinth"></a>
97
<br><br>
108
</h1>
119

‎SECURITY.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
The versions currently supported can be found [here](https://wiki.createmod.net/users/development-status)
6+
7+
## Reporting a Vulnerability
8+
9+
To report a vulnerability please head [here](https://github.com/Creators-of-Create/Create/security/advisories/new)

0 commit comments

Comments
 (0)