Skip to content

Commit 93d6a87

Browse files
committed
1.20.4 port
0 parents  commit 93d6a87

File tree

615 files changed

+26221
-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.

615 files changed

+26221
-0
lines changed

.gitattributes

+5
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

.gitignore

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
runs/
23+
run-data/
24+
src/generated/resources/.cache/
25+
26+
# Files from Forge MDK
27+
forge*changelog.txt

LICENSE.txt

+165
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
GNU LESSER GENERAL PUBLIC LICENSE
2+
Version 3, 29 June 2007
3+
4+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5+
Everyone is permitted to copy and distribute verbatim copies
6+
of this license document, but changing it is not allowed.
7+
8+
9+
This version of the GNU Lesser General Public License incorporates
10+
the terms and conditions of version 3 of the GNU General Public
11+
License, supplemented by the additional permissions listed below.
12+
13+
0. Additional Definitions.
14+
15+
As used herein, "this License" refers to version 3 of the GNU Lesser
16+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
17+
General Public License.
18+
19+
"The Library" refers to a covered work governed by this License,
20+
other than an Application or a Combined Work as defined below.
21+
22+
An "Application" is any work that makes use of an interface provided
23+
by the Library, but which is not otherwise based on the Library.
24+
Defining a subclass of a class defined by the Library is deemed a mode
25+
of using an interface provided by the Library.
26+
27+
A "Combined Work" is a work produced by combining or linking an
28+
Application with the Library. The particular version of the Library
29+
with which the Combined Work was made is also called the "Linked
30+
Version".
31+
32+
The "Minimal Corresponding Source" for a Combined Work means the
33+
Corresponding Source for the Combined Work, excluding any source code
34+
for portions of the Combined Work that, considered in isolation, are
35+
based on the Application, and not on the Linked Version.
36+
37+
The "Corresponding Application Code" for a Combined Work means the
38+
object code and/or source code for the Application, including any data
39+
and utility programs needed for reproducing the Combined Work from the
40+
Application, but excluding the System Libraries of the Combined Work.
41+
42+
1. Exception to Section 3 of the GNU GPL.
43+
44+
You may convey a covered work under sections 3 and 4 of this License
45+
without being bound by section 3 of the GNU GPL.
46+
47+
2. Conveying Modified Versions.
48+
49+
If you modify a copy of the Library, and, in your modifications, a
50+
facility refers to a function or data to be supplied by an Application
51+
that uses the facility (other than as an argument passed when the
52+
facility is invoked), then you may convey a copy of the modified
53+
version:
54+
55+
a) under this License, provided that you make a good faith effort to
56+
ensure that, in the event an Application does not supply the
57+
function or data, the facility still operates, and performs
58+
whatever part of its purpose remains meaningful, or
59+
60+
b) under the GNU GPL, with none of the additional permissions of
61+
this License applicable to that copy.
62+
63+
3. Object Code Incorporating Material from Library Header Files.
64+
65+
The object code form of an Application may incorporate material from
66+
a header file that is part of the Library. You may convey such object
67+
code under terms of your choice, provided that, if the incorporated
68+
material is not limited to numerical parameters, data structure
69+
layouts and accessors, or small macros, inline functions and templates
70+
(ten or fewer lines in length), you do both of the following:
71+
72+
a) Give prominent notice with each copy of the object code that the
73+
Library is used in it and that the Library and its use are
74+
covered by this License.
75+
76+
b) Accompany the object code with a copy of the GNU GPL and this license
77+
document.
78+
79+
4. Combined Works.
80+
81+
You may convey a Combined Work under terms of your choice that,
82+
taken together, effectively do not restrict modification of the
83+
portions of the Library contained in the Combined Work and reverse
84+
engineering for debugging such modifications, if you also do each of
85+
the following:
86+
87+
a) Give prominent notice with each copy of the Combined Work that
88+
the Library is used in it and that the Library and its use are
89+
covered by this License.
90+
91+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
92+
document.
93+
94+
c) For a Combined Work that displays copyright notices during
95+
execution, include the copyright notice for the Library among
96+
these notices, as well as a reference directing the user to the
97+
copies of the GNU GPL and this license document.
98+
99+
d) Do one of the following:
100+
101+
0) Convey the Minimal Corresponding Source under the terms of this
102+
License, and the Corresponding Application Code in a form
103+
suitable for, and under terms that permit, the user to
104+
recombine or relink the Application with a modified version of
105+
the Linked Version to produce a modified Combined Work, in the
106+
manner specified by section 6 of the GNU GPL for conveying
107+
Corresponding Source.
108+
109+
1) Use a suitable shared library mechanism for linking with the
110+
Library. A suitable mechanism is one that (a) uses at run time
111+
a copy of the Library already present on the user's computer
112+
system, and (b) will operate properly with a modified version
113+
of the Library that is interface-compatible with the Linked
114+
Version.
115+
116+
e) Provide Installation Information, but only if you would otherwise
117+
be required to provide such information under section 6 of the
118+
GNU GPL, and only to the extent that such information is
119+
necessary to install and execute a modified version of the
120+
Combined Work produced by recombining or relinking the
121+
Application with a modified version of the Linked Version. (If
122+
you use option 4d0, the Installation Information must accompany
123+
the Minimal Corresponding Source and Corresponding Application
124+
Code. If you use option 4d1, you must provide the Installation
125+
Information in the manner specified by section 6 of the GNU GPL
126+
for conveying Corresponding Source.)
127+
128+
5. Combined Libraries.
129+
130+
You may place library facilities that are a work based on the
131+
Library side by side in a single library together with other library
132+
facilities that are not Applications and are not covered by this
133+
License, and convey such a combined library under terms of your
134+
choice, if you do both of the following:
135+
136+
a) Accompany the combined library with a copy of the same work based
137+
on the Library, uncombined with any other library facilities,
138+
conveyed under the terms of this License.
139+
140+
b) Give prominent notice with the combined library that part of it
141+
is a work based on the Library, and explaining where to find the
142+
accompanying uncombined form of the same work.
143+
144+
6. Revised Versions of the GNU Lesser General Public License.
145+
146+
The Free Software Foundation may publish revised and/or new versions
147+
of the GNU Lesser General Public License from time to time. Such new
148+
versions will be similar in spirit to the present version, but may
149+
differ in detail to address new problems or concerns.
150+
151+
Each version is given a distinguishing version number. If the
152+
Library as you received it specifies that a certain numbered version
153+
of the GNU Lesser General Public License "or any later version"
154+
applies to it, you have the option of following the terms and
155+
conditions either of that published version or of any later version
156+
published by the Free Software Foundation. If the Library as you
157+
received it does not specify a version number of the GNU Lesser
158+
General Public License, you may choose any version of the GNU Lesser
159+
General Public License ever published by the Free Software Foundation.
160+
161+
If the Library as you received it specifies that a proxy can decide
162+
whether future versions of the GNU Lesser General Public License shall
163+
apply, that proxy's public statement of acceptance of any version is
164+
permanent authorization for you to choose that version for the
165+
Library.

README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<img alt="logo" height="128" src="https://github.com/GlodBlock/ExPatternProvider/blob/1.19.2-forge/logo.png?raw=true" width="128"/>
2+
3+
[![Downloads](https://cf.way2muchnoise.eu/full_892005_downloads.svg)](https://www.curseforge.com/minecraft/mc-mods/ex-pattern-provider) ![MCVsrsion](https://cf.way2muchnoise.eu/versions/892005.svg)
4+
5+
## Features
6+
7+
- 36 slots pattern provider
8+
9+
<img alt="epp" src="https://github.com/GlodBlock/AE2FluidCraft-Rework/blob/pic/epp.png?raw=true" width="250" height="304"/>
10+
11+
- 36 slots interface
12+
13+
<img alt="ei" src="https://github.com/GlodBlock/AE2FluidCraft-Rework/blob/pic/2.png?raw=true" width="250" height="304"/>
14+
15+
- infinity water/cobblestone cell
16+
17+
<img alt="cell2" src="https://github.com/GlodBlock/AE2FluidCraft-Rework/blob/pic/cell2.png?raw=true" width="180" height="60"/>
18+
<img alt="cell1" src="https://github.com/GlodBlock/AE2FluidCraft-Rework/blob/pic/cell1.png?raw=true" width="200" height="60"/>
19+
20+
- better pattern access terminal
21+
22+
<img alt="cell2" src="https://github.com/GlodBlock/AE2FluidCraft-Rework/blob/pic/pat.png?raw=true" width="270" height="304"/>
23+
<img alt="cell1" src="https://github.com/GlodBlock/AE2FluidCraft-Rework/blob/pic/hl.png?raw=true" width="500" height="304"/>
24+
25+
- 8x faster import/export bus
26+
27+
<img alt="buss" src="https://github.com/GlodBlock/AE2FluidCraft-Rework/blob/pic/buss.png?raw=true" width="200" height="90"/>
28+
29+
## Credits
30+
31+
[Sea_Kerman](https://github.com/Sea-Kerman): Textures and Models
32+

build.gradle

+132
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
plugins {
2+
id 'java-library'
3+
id 'eclipse'
4+
id 'idea'
5+
id 'maven-publish'
6+
id 'net.neoforged.gradle.userdev' version '7.0.80'
7+
}
8+
9+
version = mod_version
10+
group = mod_group_id
11+
12+
repositories {
13+
mavenLocal()
14+
}
15+
16+
base {
17+
archivesName = mod_name
18+
}
19+
20+
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
21+
22+
minecraft {
23+
accessTransformers {
24+
file('src/main/resources/META-INF/accesstransformer.cfg')
25+
}
26+
}
27+
28+
runs {
29+
configureEach {
30+
systemProperty 'forge.logging.markers', 'REGISTRIES'
31+
systemProperty 'forge.logging.console.level', 'debug'
32+
modSource project.sourceSets.main
33+
}
34+
35+
client {
36+
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
37+
}
38+
39+
server {
40+
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
41+
programArgument '--nogui'
42+
}
43+
44+
gameTestServer {
45+
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
46+
}
47+
48+
data {
49+
programArguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
50+
}
51+
}
52+
53+
sourceSets.main.resources { srcDir 'src/generated/resources' }
54+
55+
repositories {
56+
maven {
57+
name = "TerraformersMC"
58+
url = "https://maven.terraformersmc.com/"
59+
content {
60+
includeGroup "dev.emi"
61+
}
62+
}
63+
maven {
64+
name 'cursemaven'
65+
url "https://www.cursemaven.com"
66+
content {
67+
includeGroup "curse.maven"
68+
}
69+
}
70+
maven {
71+
name = "Modmaven"
72+
url = uri("https://modmaven.dev/")
73+
content {
74+
includeGroup("appeng")
75+
}
76+
}
77+
maven {
78+
url "https://maven.shedaniel.me/"
79+
content {
80+
includeGroup "me.shedaniel"
81+
includeGroup "me.shedaniel.cloth"
82+
includeGroup "dev.architectury"
83+
}
84+
}
85+
}
86+
87+
dependencies {
88+
implementation "net.neoforged:neoforge:${neo_version}"
89+
implementation "curse.maven:glodium-957920:5337083"
90+
implementation "appeng:appliedenergistics2-neoforge:17.13.0-beta"
91+
compileOnly "curse.maven:curios-309927:5302407"
92+
compileOnly "curse.maven:applied-flux-965012:5292934"
93+
compileOnly "curse.maven:applied-energistics-2-wireless-terminals-459929:5211370"
94+
compileOnly "dev.emi:emi-neoforge:1.1.1+1.20.4"
95+
compileOnly "curse.maven:jade-324717:5109393"
96+
compileOnly "me.shedaniel:RoughlyEnoughItems-neoforge:14.0.688"
97+
// runtime test
98+
runtimeOnly "dev.emi:emi-neoforge:1.1.1+1.20.4"
99+
runtimeOnly "curse.maven:jade-324717:5109393"
100+
}
101+
102+
tasks.withType(ProcessResources).configureEach {
103+
var replaceProperties = [
104+
minecraft_version : minecraft_version, minecraft_version_range: minecraft_version_range,
105+
neo_version : neo_version, neo_version_range: neo_version_range,
106+
loader_version_range: loader_version_range,
107+
mod_id : mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: mod_version,
108+
mod_authors : mod_authors, mod_description: mod_description,
109+
]
110+
inputs.properties replaceProperties
111+
112+
filesMatching(['META-INF/mods.toml']) {
113+
expand replaceProperties + [project: project]
114+
}
115+
}
116+
117+
publishing {
118+
publications {
119+
register('mavenJava', MavenPublication) {
120+
from components.java
121+
}
122+
}
123+
repositories {
124+
maven {
125+
url "file://${project.projectDir}/repo"
126+
}
127+
}
128+
}
129+
130+
tasks.withType(JavaCompile).configureEach {
131+
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
132+
}

gradle.properties

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#org.gradle.jvmargs=
2+
org.gradle.daemon=false
3+
org.gradle.debug=false
4+
5+
neogradle.subsystems.parchment.minecraftVersion=1.20.3
6+
neogradle.subsystems.parchment.mappingsVersion=2023.12.31
7+
minecraft_version=1.20.4
8+
minecraft_version_range=[1.20.4,1.20.5)
9+
neo_version=20.4.214
10+
neo_version_range=[20.4.214,)
11+
loader_version_range=[1,)
12+
13+
mod_id=extendedae
14+
mod_name=ExtendedAE
15+
mod_license=LGPL-3.0
16+
mod_version=1.20-2.0.0-neoforge
17+
mod_group_id=com.glodblock.github.extendedae
18+
mod_authors=GlodBlock
19+
mod_description=Add some QoL extended contents for AE2

gradle/wrapper/gradle-wrapper.jar

60.1 KB
Binary file not shown.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
4+
networkTimeout=10000
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)