Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix lava crystal and primitive fuel cell in ARC #2015

Open
wants to merge 105 commits into
base: 1.18.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
5d5da3b
[CHORE] run automated update to 1.19
jananass May 28, 2023
db1ba3b
[CHORE] updated gradle dependencies to 1.19
jananass May 28, 2023
d52b303
[CHORE] replaced TextComponent with Component.literal
jananass May 28, 2023
68b251e
[CHORE] replaced TranslatableComponent with Component.translatable
jananass May 28, 2023
4d2128f
[CHORE] added missing strings in translation file
jananass May 28, 2023
f1bfc4f
[CHORE] final text component changes
jananass May 28, 2023
3bdf7f1
fix JEI compat
dphaldes May 30, 2023
657b173
Changed Potion Registry to Deferred and Moved Serializers to Codecs.
dphaldes May 31, 2023
4ef293e
Fluid rework
dphaldes May 31, 2023
deef39c
it compiles ?
dphaldes May 31, 2023
bebb9a4
remove extra modID while registration and register FLUID_TYPES
dphaldes Jun 1, 2023
3db2f47
add new fields to dimension_type, noise_settings
dphaldes Jun 1, 2023
423a062
Add github workflow to create an artifact
dphaldes Jun 3, 2023
43e6c79
move off deprecated item capability
dphaldes Jun 14, 2023
a05e7a3
move off deprecated fluid capability
dphaldes Jun 14, 2023
55385e2
fix gradle acting weird
dphaldes Jun 14, 2023
25c1ca4
ran datagen
dphaldes Jun 14, 2023
4b97223
future proof obj jsons
dphaldes Jun 14, 2023
432329a
re-enable the recipe serializer registration for blood orb
dphaldes Jun 14, 2023
c463b8a
fix Jei recipe deserialization and rendering
dphaldes Jun 15, 2023
d6f9938
bump JEI version, offset item rendering and remove deprecated model tag
dphaldes Jun 15, 2023
14217a7
fix life essence tint
dphaldes Jun 15, 2023
72b21cd
add blockstates/model for fluids
dphaldes Jun 15, 2023
6d165b8
run datagen and add loottable entries
dphaldes Jul 19, 2023
aa76581
small organisation
dphaldes Jul 20, 2023
9b83852
bump version
dphaldes Aug 4, 2023
156cb02
update to FG6, Gradle 8 and dependencies to 1.20.1
dphaldes Aug 4, 2023
9776c04
new creative tab
dphaldes Aug 4, 2023
1b0aa8e
remove material types
dphaldes Aug 4, 2023
360ea9f
switch tag providers
dphaldes Aug 5, 2023
22e462a
clean main file
dphaldes Aug 5, 2023
cfe472f
screen rendering changes
dphaldes Aug 7, 2023
845c3d2
recipe categories
dphaldes Aug 7, 2023
08d071e
datagenerators
dphaldes Aug 7, 2023
229eed6
damage sources
dphaldes Aug 7, 2023
7982e13
update utils
dphaldes Aug 7, 2023
1768b2d
damage source rework
dphaldes Aug 7, 2023
c2523ac
update patchouli
dphaldes Aug 7, 2023
db332d8
update altar checks
dphaldes Aug 7, 2023
d242156
Quaternions for renderers
dphaldes Aug 7, 2023
e1e3eae
update client renderers for blocks
dphaldes Aug 7, 2023
063b211
update client renderers
dphaldes Aug 7, 2023
9bdb17a
remove material types of blocks
dphaldes Aug 7, 2023
a71f558
update HUD classes
dphaldes Aug 7, 2023
2653e21
update entities
dphaldes Aug 7, 2023
3ecc71f
remaining hud elements
dphaldes Aug 8, 2023
5170062
update AnointmentHolder
dphaldes Aug 8, 2023
ea12fad
update API docs (still needs work)
dphaldes Aug 8, 2023
f4c4c0a
update recipes
dphaldes Aug 8, 2023
f92490b
update JEI compat
dphaldes Aug 8, 2023
5ae2095
update material stats
dphaldes Aug 8, 2023
b34ce7d
update client models
dphaldes Aug 8, 2023
ab8a9cf
update loot
dphaldes Aug 8, 2023
b0fe02e
update network
dphaldes Aug 8, 2023
9bddece
update items
dphaldes Aug 8, 2023
952574a
update entity renderers
dphaldes Aug 8, 2023
c791844
update harvest handlers
dphaldes Aug 8, 2023
2f64790
misc small updates
dphaldes Aug 8, 2023
4af87c5
update items and creative entries
dphaldes Aug 8, 2023
3a16d3a
update loot managers
dphaldes Aug 8, 2023
521bd49
final datagen update
dphaldes Aug 8, 2023
7eaef09
more loot params
dphaldes Aug 8, 2023
eef8ed6
copy DynamicLoot into BMTableLootEntry
dphaldes Aug 8, 2023
4b6c396
add damage_type jsons
dphaldes Aug 8, 2023
81a23d8
redo damage sources
dphaldes Aug 8, 2023
357f4b7
datagen ?
dphaldes Aug 8, 2023
89c0a7c
update biome datapack
dphaldes Aug 8, 2023
67b2d3b
creative tab fixes and load textures into proper atlas
dphaldes Aug 9, 2023
b277cde
fix RenderLevelStage rendering and Divination Sigil GUI
dphaldes Aug 11, 2023
68dd52f
fix potion recipes for water bottle
dphaldes Aug 11, 2023
846504d
collect async datagen for DungeonRoomProvider correctly
dphaldes Aug 11, 2023
be8f97e
move fluid types
dphaldes Aug 14, 2023
6a99f47
fix JEI and fluid rendering
dphaldes Aug 16, 2023
17a4330
fix label shadows
dphaldes Aug 16, 2023
63c4522
fix sigil of holding texture!
dphaldes Aug 17, 2023
3bd53c4
Merge pull request #1963 from mystchonky/1.20.x
WayofTime Aug 17, 2023
83f6dc1
fix Hellforged Record jukebox interaction
dphaldes Aug 18, 2023
773ad17
Updated .gitignore to not include Eclipse preferences
WayofTime Aug 18, 2023
26ebaf3
Merge pull request #1966 from mystchonky/record-fix
WayofTime Aug 18, 2023
49c7ce2
fixed seer duplicate HUD
stellanera98 Aug 5, 2023
05fa3f6
make curio and elytra render Item checks generalized
dphaldes Aug 27, 2023
2f166e1
Merge pull request #1969 from mystchonky/generalise-armor
WayofTime Sep 5, 2023
bfb6ece
Merge pull request #1967 from stellanera98/1.20.1-divination-hud
WayofTime Sep 8, 2023
23648b0
fix server launching
dphaldes Sep 10, 2023
d5f37c0
Merge pull request #1972 from mystchonky/server-fix
WayofTime Sep 10, 2023
8f35459
Updated changelog
WayofTime Sep 15, 2023
8dcd2da
Fixed Soft Coating and Fortuna Extract
WayofTime Sep 19, 2023
ef298fd
Initial Curios 1.20 Port Setup
VT-14 Sep 21, 2023
def5760
Update Guidebook's Creative Tab + JEI
VT-14 Sep 26, 2023
a9a32d0
Cleanup Model Upercasing
VT-14 Sep 27, 2023
e2c64ef
Add a ModID Check to Meteor Recipes
VT-14 Sep 27, 2023
9070f40
Revert "Add a ModID Check to Meteor Recipes"
VT-14 Sep 27, 2023
ece7d51
Mod-Compat Meteors use Forge Conditional Recipes
VT-14 Sep 27, 2023
3f45c35
Merge pull request #1975 from VT-14/Book_in_JEI_Fix
VT-14 Sep 27, 2023
3a82082
Remove Some Unused Models
VT-14 Sep 27, 2023
131015f
Curios Update Continued.
VT-14 Sep 28, 2023
2b91d72
Get Curios LA Socket Slots Working
VT-14 Sep 28, 2023
ebf57de
Update curios_empty_living_armour_socket.png
VT-14 Sep 28, 2023
bccdf6c
Merge pull request #1976 from VT-14/log_cleaning
WayofTime Oct 1, 2023
660a4aa
Merge pull request #1977 from VT-14/Update-Curios-Implementation
WayofTime Oct 1, 2023
4251bd0
Fix and Upgrade Routing Node Amount Text Box
VT-14 Oct 1, 2023
adda18e
Merge pull request #1981 from VT-14/Node-Filter-Fix-and-Upgrade
WayofTime Oct 2, 2023
e573e39
Updated changelog.
WayofTime Oct 2, 2023
568a225
fix lava crystal and primitive fuel cell
stellanera98 Jan 9, 2024
5344845
Merge branch '1.20.1-arc-furnace' into 1.18.2-arc-furnace
stellanera98 Jan 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build jar

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Store committed data
run: cp -r src/generated generatedBak
- name: Build # Build to catch Java errors first
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Run data generator
uses: gradle/gradle-build-action@v2
continue-on-error: true # We have to do this because runDataProd always exits funny
with:
arguments: runDataProd
- name: Check data generated successfully # So we do this to ensure something was done, .cache will always be written
continue-on-error: false # reset
id: check_files
uses: andstor/file-existence-action@v1
with:
files: "src/generated/resources/.cache/"
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
path: ./build/libs/
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ run

# Files from Forge MDK
forge*changelog.txt
/src/generated/resources/.cache/
/run-data/
*.prefs
153 changes: 65 additions & 88 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,107 +1,78 @@
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath group: 'org.spongepowered', name: 'mixingradle', version: '0.7-SNAPSHOT'
}
plugins {
id 'eclipse'
id 'idea'
id 'maven-publish'
id 'net.minecraftforge.gradle' version '[6.0,6.2)'
id 'org.spongepowered.mixin' version '0.7.+'
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = minecraft_version + '-' + mod_version
group = 'wayoftime.bloodmagic' // http://maven.apache.org/guides/mini/guide-naming-conventions.html

version = '1.18.2-3.2.6-41'
group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'BloodMagic'
base {
archivesName = mod_id
}

java.toolchain.languageVersion = JavaLanguageVersion.of(17)

println('Java: ' + System.getProperty('java.version') + ' JVM: ' + System.getProperty('java.vm.version') + '(' + System.getProperty('java.vendor') + ') Arch: ' + System.getProperty('os.arch'))
minecraft {
mappings channel: 'official', version: '1.18.2'
mappings channel: mapping_channel, version: mapping_version

accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
copyIdeResources = true

runs {
client {

configureEach {
workingDirectory project.file('run')

// properties 'mixin.env.disableRefMap': 'true'

// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'

// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'

property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"

mods {
bloodmagic {
"${mod_id}" {
source sourceSets.main
}
}

}
client {
property 'forge.enabledGameTestNamespaces', mod_id
}

server {
workingDirectory project.file('run')

// properties 'mixin.env.disableRefMap': 'true'

// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'

// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'

property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
property 'forge.enabledGameTestNamespaces', mod_id
args '--nogui'
}

mods {
bloodmagic {
source sourceSets.main
}
}
gameTestServer {
property 'forge.enabledGameTestNamespaces', mod_id
}

data {
workingDirectory project.file('run')

// properties 'mixin.env.disableRefMap': 'true'

// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'

// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'

args '--mod', 'bloodmagic', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')

mods {
bloodmagic {
source sourceSets.main
}
}
workingDirectory project.file('run-data')
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
}
}
}

// Include resources generated by data generators.
sourceSets.main.resources { srcDir 'src/generated/resources' }
mixin {
add sourceSets.main, "bloodmagic.refmap.json"

config "bloodmagic.mixins.json"
}

repositories {
maven {
url "https://dvs1.progwml6.com/files/maven/"
}
maven {
name = "The Loader"
url = "https://maven.blamejared.com"
Expand All @@ -113,19 +84,12 @@ repositories {
}

dependencies {
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft 'net.minecraftforge:forge:1.18.2-40.1.51'

// compileOnly fg.deobf("mezz.jei:jei-${minecraft_version}:${jei_version}:api")
// runtimeOnly fg.deobf("mezz.jei:jei-${minecraft_version}:${jei_version}")



compileOnly fg.deobf("mezz.jei:jei-1.18.2:9.5.5.174:api")
runtimeOnly fg.deobf("mezz.jei:jei-1.18.2:9.5.5.174")
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"

compileOnly fg.deobf("mezz.jei:jei-${minecraft_version}-common-api:${jei_version}")
compileOnly fg.deobf("mezz.jei:jei-${minecraft_version}-forge-api:${jei_version}")
runtimeOnly fg.deobf("mezz.jei:jei-${minecraft_version}-forge:${jei_version}")

compileOnly fg.deobf("vazkii.patchouli:Patchouli:${patchouli_version}:api")
runtimeOnly fg.deobf("vazkii.patchouli:Patchouli:${patchouli_version}")

Expand All @@ -135,39 +99,49 @@ dependencies {
compileOnly fg.deobf("top.theillusivec4.curios:curios-forge:${curios_version}:api")
}

jar {
tasks.named('processResources', ProcessResources).configure {
var replaceProperties = [
minecraft_version: minecraft_version, minecraft_version_range: minecraft_version_range,
forge_version: forge_version, forge_version_range: forge_version_range,
loader_version_range: loader_version_range,
mod_id: mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: mod_version,
mod_authors: mod_authors, mod_description: mod_description,
]
inputs.properties replaceProperties

filesMatching(['META-INF/mods.toml', 'pack.mcmeta']) {
expand replaceProperties + [project: project]
}
}

tasks.named('jar', Jar).configure {
manifest {
attributes([
"Specification-Title": "bloodmagic",
"Specification-Vendor": "bloodmagicsareus",
"Specification-Title": mod_id,
"Specification-Vendor": mod_authors,
"Specification-Version": "1", // We are version 1 of ourselves
"Implementation-Title": project.name,
"Implementation-Version": "${version}",
"Implementation-Vendor" :"bloodmagicsareus",
"Implementation-Version": project.jar.archiveVersion,
"Implementation-Vendor" : mod_authors,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
}
finalizedBy 'reobfJar'
}


jar.finalizedBy('reobfJar')


sourceSets.main.resources {
srcDir 'src/generated/resources'
}

task srcJar(type: Jar) {
from(sourceSets.main.java)
classifier = 'sources'
archiveClassifier = 'sources'
}

task apiJar(type: Jar) {
from(sourceSets.main.allJava)
from(sourceSets.main.output)
include 'wayoftime/bloodmagic/api/**'

classifier = 'api'
archiveClassifier = 'api'
}

artifacts {
Expand All @@ -176,7 +150,7 @@ artifacts {

publishing {
publications {
mavenJava(MavenPublication) {
register('mavenJava', MavenPublication) {
artifact jar
artifact srcJar
artifact apiJar
Expand All @@ -187,4 +161,7 @@ publishing {
url "file:///${project.projectDir}/mcmodsrepo"
}
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
}
22 changes: 22 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
------------------------------------------------------
Version 3.3.2
------------------------------------------------------
- Fixed Soft Coating and Fortuna Extract; voiding of drops is not part of the "ultimate price"!
- Fixed Routing Node text box so that it can be properly edited.
-> Updated functionality; can now right-click the textbox when an item is selected in the filter to set the filter to "Everything".

- Updated Curios implementation.
- Fixed the guidebook not showing up in the Creative Tab and JEI.
- Removed some useless log spam.

------------------------------------------------------
Version 3.3.1
------------------------------------------------------
- Fixed crash that prevented the mod from working on servers.

------------------------------------------------------
Version 3.3.0
------------------------------------------------------
- Initial update to MC 1.20.x! Expect some breakage. You can thank/blame chonky for the release!
- Curios/Elytra-render checks no longer specifically check for ItemLivingArmor.

------------------------------------------------------
Version 3.2.6
------------------------------------------------------
Expand Down
31 changes: 27 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,32 @@
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false

minecraft_version=1.16.5
minecraft_version=1.20.1
minecraft_version_range=[1.20.1,1.21)
# The Forge version must agree with the Minecraft version to get a valid artifact
forge_version=47.1.0
# The Forge version range can use any version of Forge as bounds or match the loader version range
forge_version_range=[47,)
# The loader version range can only use the major version of Forge/FML as bounds
loader_version_range=[47,)
mapping_channel=official
mapping_version=1.20.1

mod_id=bloodmagic
mod_version=3.3.1-43
mod_name=Blood Magic
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=All Rights Reserved
# The mod version. See https://semver.org/
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
mod_group_id=com.example.examplemod
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
mod_authors=WayofTime
mod_description=Example mod description.\nNewline characters can be used and will be replaced properly.

#Mod dependencies
jei_version=7.6.0.49
curios_version=1.18.2-5.0.7.1
patchouli_version=1.18.2-71.1
jei_version=15.2.0.23
curios_version=5.3.4+1.20.1
patchouli_version=1.20.1-80-FORGE
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading