Skip to content

Commit ad9b07c

Browse files
initial commit
0 parents  commit ad9b07c

File tree

1,314 files changed

+55591
-0
lines changed

Some content is hidden

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

1,314 files changed

+55591
-0
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Disable autocrlf on generated files, they always generate with LF
2+
# Add any extra files or paths here to make git stop saying they
3+
# are changed when only line endings change.
4+
src/generated/**/.cache/cache text eol=lf
5+
src/generated/**/*.json text eol=lf

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
fetch-tags: true
14+
15+
- name: Setup JDK 21
16+
uses: actions/setup-java@v4
17+
with:
18+
java-version: '21'
19+
distribution: 'temurin'
20+
21+
- name: Setup Gradle
22+
uses: gradle/actions/setup-gradle@v4
23+
24+
- name: Build with Gradle
25+
run: ./gradlew build

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# eclipse
2+
bin
3+
*.launch
4+
.settings
5+
.metadata
6+
.classpath
7+
.project
8+
9+
# idea
10+
out
11+
*.ipr
12+
*.iws
13+
*.iml
14+
.idea
15+
16+
# gradle
17+
build
18+
.gradle
19+
20+
# other
21+
eclipse
22+
run
23+
runs
24+
run-data
25+
26+
repo

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
![Creating Space Logo](https://realantengineer.github.io//assets/images/logo/creatingspace_text.png)
2+
3+
----
4+
5+
![GitHub commit activity](https://img.shields.io/github/commit-activity/t/RealAntEngineer/creating_space?style=for-the-badge)
6+
![GitHub last commit](https://img.shields.io/github/last-commit/RealAntEngineer/creating_space?style=for-the-badge)
7+
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/RealAntEngineer/creating_space?style=for-the-badge)
8+
![GitHub forks](https://img.shields.io/github/forks/RealAntEngineer/creating_space?style=for-the-badge)
9+
![GitHub Repo stars](https://img.shields.io/github/stars/RealAntEngineer/creating_space?style=for-the-badge)
10+
11+
<a href="https://www.curseforge.com/minecraft/mc-mods/create-creating-space"><img src="https://realantengineer.github.io//assets/images/Available_on_Curseforge.png" width=24.25% height=24.25% /></a>
12+
<a href="https://modrinth.com/mod/creating-space"><img src="https://realantengineer.github.io//assets/images/Available_on_Modrinth.png" width=24.25% height=24.25% /></a>
13+
<a href="https://discord.gg/Dn9DhTqarH"><img src="https://realantengineer.github.io//assets/images/Chat_With_Us_on_discord.png" width=24.25% height=24.25% /></a>
14+
<a href="https://creating-space.fandom.com/wiki/Creating_Space_Wiki"><img src="https://realantengineer.github.io//assets/images/Check_the_wiki.png" width=24.25% height=24.25% /></a>
15+
16+
----
17+
18+
### Creating Space is a mod that allow you to create rocket using contraptions and go to other planets. Be prepared to design a rocket inspired by realistic science.
19+
20+
----
21+
22+
## Contributing
23+
24+
We welcome contributions from the community! To contribute:
25+
26+
1. Fork the repository.
27+
2. Create a new branch (`git checkout -b feature/YourFeature`).
28+
3. Commit your changes (`git commit -am 'Add a new feature'`).
29+
4. Push to the branch (`git push origin feature/YourFeature`).
30+
5. Open a Pull Request.
31+
32+
Please read the [CONTRIBUTING](CONTRIBUTING.md) file for more details.

TEMPLATE_LICENSE.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
MIT License
2+
3+
Copyright (c) 2023 NeoForged project
4+
5+
This license applies to the template files as supplied by github.com/NeoForged/MDK
6+
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be included in all
16+
copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
SOFTWARE.

build.gradle

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
plugins {
2+
id 'idea'
3+
id 'java-library'
4+
id 'maven-publish'
5+
id 'net.neoforged.moddev' version '2.0.78'
6+
}
7+
8+
tasks.named('wrapper', Wrapper).configure {
9+
// Define wrapper values here so as to not have to always do so when updating gradlew.properties.
10+
// Switching this to Wrapper.DistributionType.ALL will download the full gradle sources that comes with
11+
// documentation attached on cursor hover of gradle classes and methods. However, this comes with increased
12+
// file size for Gradle. If you do switch this to ALL, run the Gradle wrapper task twice afterwards.
13+
// (Verify by checking gradle/wrapper/gradle-wrapper.properties to see if distributionUrl now points to `-all`)
14+
distributionType = Wrapper.DistributionType.BIN
15+
}
16+
17+
version = mod_version
18+
19+
group = mod_group_id
20+
21+
22+
23+
base {
24+
archivesName = mod_id
25+
}
26+
27+
// Mojang ships Java 21 to end users starting in 1.20.5, so mods should target Java 21.
28+
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
29+
30+
31+
neoForge {
32+
// Specify the version of NeoForge to use.
33+
version = project.neo_version
34+
35+
parchment {
36+
mappingsVersion = project.parchment_mappings_version
37+
minecraftVersion = project.parchment_minecraft_version
38+
}
39+
40+
validateAccessTransformers = true
41+
42+
// This line is optional. Access Transformers are automatically detected
43+
// accessTransformers = project.files('src/main/resources/META-INF/accesstransformer.cfg')
44+
45+
// Default run configurations.
46+
// These can be tweaked, removed, or duplicated as needed.
47+
runs {
48+
client {
49+
client()
50+
51+
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
52+
systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
53+
}
54+
55+
server {
56+
server()
57+
programArgument '--nogui'
58+
systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
59+
}
60+
61+
// This run config launches GameTestServer and runs all registered gametests, then exits.
62+
// By default, the server will crash when no gametests are provided.
63+
// The gametest system is also enabled by default for other run configs under the /test command.
64+
gameTestServer {
65+
type = "gameTestServer"
66+
systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
67+
}
68+
69+
data {
70+
data()
71+
72+
// example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it
73+
// gameDirectory = project.file('run-data')
74+
75+
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
76+
programArguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
77+
}
78+
79+
// applies to all the run configs above
80+
configureEach {
81+
// Recommended logging data for a userdev environment
82+
// The markers can be added/remove as needed separated by commas.
83+
// "SCAN": For mods scan.
84+
// "REGISTRIES": For firing of registry events.
85+
// "REGISTRYDUMP": For getting the contents of all registries.
86+
systemProperty 'forge.logging.markers', 'REGISTRIES'
87+
88+
// Recommended logging level for the console
89+
// You can set various levels here.
90+
// Please read: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels
91+
logLevel = org.slf4j.event.Level.WARN
92+
93+
94+
}
95+
}
96+
97+
mods {
98+
// define mod <-> source bindings
99+
// these are used to tell the game which sources are for which mod
100+
// mostly optional in a single mod project
101+
// but multi mod projects should define one per mod
102+
"${mod_id}" {
103+
sourceSet(sourceSets.main)
104+
}
105+
}
106+
}
107+
// Include resources generated by data generators.
108+
sourceSets.main.resources { srcDir 'src/generated/resources' }
109+
110+
// Sets up a dependency configuration called 'localRuntime'.
111+
// This configuration should be used instead of 'runtimeOnly' to declare
112+
// a dependency that will be present for runtime testing but that is
113+
// "optional", meaning it will not be pulled by dependents of this mod.
114+
configurations {
115+
runtimeClasspath.extendsFrom localRuntime
116+
}
117+
118+
repositories {
119+
mavenLocal()
120+
121+
maven { url = "https://maven.createmod.net" } // Create, Ponder, Flywheel
122+
maven { url = "https://mvn.devos.one/snapshots" } // Registrate
123+
//JEI
124+
125+
maven {
126+
127+
name = "Jared's maven"
128+
url = "https://maven.blamejared.com/"
129+
}
130+
maven {
131+
// location of a maven mirror for JEI files, as a fallback
132+
name = "ModMaven"
133+
url = "https://modmaven.dev"
134+
}
135+
136+
maven {
137+
name = "Modrinth"
138+
url = "https://api.modrinth.com/maven"
139+
}
140+
141+
//curios
142+
maven {
143+
url = "https://maven.theillusivec4.top/"
144+
}
145+
146+
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" } // ForgeConfigAPIPort
147+
148+
}
149+
150+
dependencies {
151+
implementation("com.simibubi.create:create-${minecraft_version}:${create_version}:slim"){ transitive = false }
152+
implementation("net.createmod.ponder:Ponder-NeoForge-${minecraft_version}:${ponder_version}")
153+
compileOnly("dev.engine-room.flywheel:flywheel-neoforge-api-${minecraft_version}:${flywheel_version}")
154+
runtimeOnly("dev.engine-room.flywheel:flywheel-neoforge-${minecraft_version}:${flywheel_version}")
155+
implementation("com.tterrag.registrate:Registrate:${registrate_version}")
156+
157+
// JEI
158+
compileOnly("mezz.jei:jei-${minecraft_version}-common-api:${jei_version}")
159+
compileOnly("mezz.jei:jei-${minecraft_version}-neoforge-api:${jei_version}")
160+
runtimeOnly("mezz.jei:jei-${minecraft_version}-neoforge:${jei_version}")
161+
162+
}
163+
164+
// This block of code expands all declared replace properties in the specified resource targets.
165+
// A missing property will result in an error. Properties are expanded using ${} Groovy notation.
166+
// When "copyIdeResources" is enabled, this will also run before the game launches in IDE environments.
167+
// See https://docs.gradle.org/current/dsl/org.gradle.language.jvm.tasks.ProcessResources.html
168+
tasks.withType(ProcessResources).configureEach {
169+
var replaceProperties = [
170+
minecraft_version : minecraft_version,
171+
minecraft_version_range: minecraft_version_range,
172+
neo_version : neo_version,
173+
neo_version_range : neo_version_range,
174+
loader_version_range : loader_version_range,
175+
mod_id : mod_id,
176+
mod_name : mod_name,
177+
mod_license : mod_license,
178+
mod_version : mod_version,
179+
mod_authors : mod_authors,
180+
mod_description : mod_description
181+
]
182+
inputs.properties replaceProperties
183+
184+
filesMatching(['META-INF/neoforge.mods.toml']) {
185+
expand replaceProperties
186+
}
187+
}
188+
189+
// Example configuration to allow publishing using the maven-publish plugin
190+
publishing {
191+
publications {
192+
register('mavenJava', MavenPublication) {
193+
from components.java
194+
}
195+
}
196+
repositories {
197+
maven {
198+
url "file://${project.projectDir}/repo"
199+
}
200+
}
201+
}
202+
203+
tasks.withType(JavaCompile).configureEach {
204+
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
205+
}
206+
207+
// IDEA no longer automatically downloads sources/javadoc jars for dependencies, so we need to explicitly enable the behavior.
208+
idea {
209+
module {
210+
downloadSources = true
211+
downloadJavadoc = true
212+
}
213+
}

gradle.properties

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
2+
org.gradle.jvmargs=-Xmx2G
3+
org.gradle.daemon=true
4+
org.gradle.parallel=true
5+
org.gradle.caching=true
6+
org.gradle.configuration-cache=true
7+
8+
#read more on this at https://github.com/neoforged/NeoGradle/blob/NG_7.0/README.md#apply-parchment-mappings
9+
# you can also find the latest versions at: https://parchmentmc.org/docs/getting-started
10+
parchment_minecraft_version=1.21.1
11+
parchment_mappings_version=2024.11.17
12+
# Environment Properties
13+
# You can find the latest versions here: https://projects.neoforged.net/neoforged/neoforge
14+
# The Minecraft version must agree with the Neo version to get a valid artifact
15+
minecraft_version=1.21.1
16+
# The Minecraft version range can use any release version of Minecraft as bounds.
17+
# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly
18+
# as they do not follow standard versioning conventions.
19+
minecraft_version_range=[1.21.1,1.22)
20+
# The Neo version must agree with the Minecraft version to get a valid artifact
21+
neo_version=21.1.138
22+
# The Neo version range can use any version of Neo as bounds
23+
neo_version_range=[21.1.0,)
24+
# The loader version range can only use the major version of FML as bounds
25+
loader_version_range=[1,)
26+
27+
## Mod Properties
28+
29+
# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63}
30+
# Must match the String constant located in the main mod class annotated with @Mod.
31+
mod_id=creatingspace
32+
# The human-readable display name for the mod.
33+
mod_name=Creating Space
34+
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
35+
mod_license=MIT
36+
# The mod version. See https://semver.org/
37+
mod_version=1.21.1_1.7.10
38+
39+
40+
create_version = 6.0.4-55
41+
flywheel_version = 1.0.2
42+
ponder_version = 1.0.46
43+
registrate_version = MC1.21-1.3.0+62
44+
jei_version=19.10.0.126
45+
46+
47+
curios_version = 5.2.0-beta.3+1.20.1
48+
49+
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
50+
# This should match the base package used for the mod sources.
51+
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
52+
mod_group_id=com.rae.creatingspace
53+
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
54+
mod_authors=YourNameHere, OtherNameHere
55+
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
56+
mod_description=Example mod description.\nNewline characters can be used and will be replaced properly.

gradle/wrapper/gradle-wrapper.jar

42.6 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)