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

v2.3.0.0 #111

Merged
merged 146 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
430d54e
fix: fix machine menus displaying wrong crafting cost
Elenterius Sep 14, 2023
bd03595
chore: update language file
Elenterius Sep 14, 2023
10e80c7
feat: tweak primal flesh block recipe
Elenterius Sep 14, 2023
8f8f086
chore: refactor BlockPropertyUtil
Elenterius Sep 17, 2023
2749d03
refactor: move recipes and crafting states into one shared crafting n…
Elenterius Sep 17, 2023
c6d0bdc
chore: add space, new line and ellipsis chat components
Elenterius Sep 17, 2023
12dfe8c
refactor: move ComponentUtil inside uitl package
Elenterius Sep 17, 2023
47ae062
refactor: refactor mob loot item
Elenterius Sep 17, 2023
bffef36
chore: add addValue method to EnhancedIntegerProperty
Elenterius Sep 18, 2023
12b883c
refactor: refactor FleshSpikeBlock
Elenterius Sep 18, 2023
4e115ae
refactor: refactor EffectCureItem
Elenterius Sep 18, 2023
633c014
refactor: make preconfigured projectiles shoot-able with origin and t…
Elenterius Sep 20, 2023
6d575d2
feat: add Malignant Bloom and Sapberry
Elenterius Sep 20, 2023
90acf5f
chore(release): 1.19.2-v2.2.1.0 [skip ci]
invalid-email-address Sep 21, 2023
9db734f
chore: refactor level util class and add additional helper methods
Elenterius Oct 14, 2023
d483871
feat: improve make malignant bloom shooting and check for blocks obst…
Elenterius Oct 14, 2023
1989d6f
chore: tweak flesh spreading in regards to the cellular noise borders
Elenterius Oct 14, 2023
c6aa30e
chore: add dev feature for dumping temperature and downfall for all r…
Elenterius Oct 14, 2023
1137763
fix: fix serum duplication bug with Injector
Elenterius Oct 14, 2023
11fcd4d
feat: remove the ability of mob effects to influence the hostility of…
Elenterius Oct 14, 2023
9ab0c36
feat: make it possible to add more cradle tributes via code
Elenterius Oct 14, 2023
cdfde73
chore: refactor MobEffectTribute to avoid creation of new empty objects
Elenterius Oct 14, 2023
0abd696
feat(tetra-compat): make Dragon Sinew a valid cradle tribute
Elenterius Oct 14, 2023
9dd10ee
fix: add workaround for NERB incompatibility ("unlocks" all recipes w…
Elenterius Oct 28, 2023
e9f4eb5
fix: fix Wide Flesh Doors incompatibility with Quark's double door fe…
Elenterius Oct 28, 2023
6f4732b
feat(tetra-compat): make Dragon Sinew decomposable
Elenterius Oct 28, 2023
ca75b23
feat: make life energy affect the energy charge of the Primordial Cra…
Elenterius Oct 28, 2023
aa92c3a
feat: make nether stars a valid sacrifice source
Elenterius Oct 28, 2023
8a9df68
chore(release): 1.19.2-v2.2.2.0 [skip ci]
invalid-email-address Oct 28, 2023
dd31596
feat: remove legacy item tags for biomass
Elenterius Nov 1, 2023
47a8b12
feat: add server config for BioForge recipe unlocking and villager tr…
Elenterius Nov 2, 2023
0eb8f80
feat: make wandering trader trades less expensive
Elenterius Nov 2, 2023
8a5cc93
chore: update Modonomicon maven and version
Elenterius Nov 2, 2023
ee4096b
chore(guide-book): do guide book stuff
MissionArcher Mar 10, 2023
66e4349
chore(guide-book): add guide book textures
MissionArcher Mar 13, 2023
106a796
chore(guide-book): add Living Flesh page entry
MissionArcher Mar 13, 2023
e3aab81
chore(guide-book): reorder book entries
MissionArcher Mar 14, 2023
d575148
chore(guide-book): rework Flesh Blob entry
MissionArcher Mar 16, 2023
cdb2308
chore(guide-book): refactor guide book datagen
Elenterius Nov 2, 2023
5999030
chore: refactor primal energy charge handling and mitigate int overflow
Elenterius Nov 3, 2023
826c988
feat: add config for enabling unlimited flesh growth near cradles
Elenterius Nov 3, 2023
50df048
feat: remove infinite flesh growth near cradles (distance < 8)
Elenterius Nov 3, 2023
e28dc68
feat: add config for enabling unlimited flesh growth globally
Elenterius Nov 3, 2023
320cc67
feat: increase life/primal energy value of sacrificed Nether Stars te…
Elenterius Nov 3, 2023
c574f3d
feat: make malignant flesh veins replaceable
Elenterius Nov 3, 2023
18e7c96
chore(release): 1.19.2-v2.2.3.0 [skip ci]
invalid-email-address Nov 3, 2023
0596b36
build(gradle): simplify client run configurations for Hot-Swapping
Elenterius Nov 8, 2023
ac17061
fix: fix Primordial Cradle not persisting internal sacrifice values w…
Elenterius Nov 8, 2023
f244c70
feat: make Primordial Cradle block items display their internal sacri…
Elenterius Nov 8, 2023
b3923db
feat(buff): increase primal energy conversion of sacrifices in the Pr…
Elenterius Nov 8, 2023
dc1beb9
feat(nerf): decrease Malignant Bloom spawn rate
Elenterius Nov 8, 2023
e67d7c8
docs(readme): replace outdated Trello links with Github Project links
Elenterius Nov 10, 2023
b319e1e
fix: fix flesh veins inability to spread over dirt paths
Elenterius Nov 10, 2023
8fbe8a5
chore: refactor flesh veins block
Elenterius Nov 10, 2023
f02208e
feat: make overworld logs replaceable by malignant veins
Elenterius Nov 10, 2023
c75eb04
chore(release): 1.19.2-v2.2.4.0 [skip ci]
invalid-email-address Nov 11, 2023
c87b9c7
docs(readme): fix Github Project link
Elenterius Nov 13, 2023
77c1fee
feat: add block tags to explicitly allow/disallow attachment of flesh…
Elenterius Nov 13, 2023
19f3e6c
chore: refactor flesh veins
Elenterius Nov 13, 2023
37baff2
chore: add biome temperature utils
Elenterius Nov 19, 2023
891e4f4
chore: add getIndices method to Bit32Set
Elenterius Nov 19, 2023
8175714
feat(flesh-mound): add first iteration of the flesh mound growth to t…
Elenterius Nov 19, 2023
e528ba8
feat(flesh-mound): decrease volume of growth
Elenterius Nov 19, 2023
4b31341
chore(release): 1.19.2-v2.2.5.0 [skip ci]
invalid-email-address Nov 19, 2023
6e9b2e5
refactor(flesh-mound): refactor mound shape generation
Elenterius Nov 21, 2023
593f9c9
feat(flesh-mound): allow flesh mounds to excavate chambers and conver…
Elenterius Nov 21, 2023
bdfa12f
feat(flesh-mound): add bloomlight block as flesh type replacement of …
Elenterius Nov 21, 2023
32c2efd
feat(flesh-mound): make mound shapes persist across unloaded chunks a…
Elenterius Nov 29, 2023
0af5924
feat(flesh-mound): prevent natural spawning of mobs inside flesh mounds
Elenterius Nov 29, 2023
a0ea6e8
feat: add primal membrane block for living mobs
Elenterius Nov 29, 2023
2680d0e
feat(flesh-mound): create "Doors" between two adjacent chambers with …
Elenterius Nov 29, 2023
a5cb46b
fix(flesh-mound): fix unintentional MoundShape removal when the Cradl…
Elenterius Nov 29, 2023
e127cf6
feat(flesh-mound): improve storage and lookup of mound shapes
Elenterius Dec 4, 2023
36b6e65
feat(flesh-mound): prevent flesh veins from eating living flesh
Elenterius Dec 4, 2023
b1309ef
chore(flesh-mound): count primal membrane as full block
Elenterius Dec 4, 2023
eb763b2
chore: refactor mob spawning checks and improve spatial query
Elenterius Dec 5, 2023
0902a3b
feat: add undead-permeable membrane
Elenterius Dec 5, 2023
d2904fd
chore(spatial): add cuboid shape and allow spatial querying with box …
Elenterius Dec 7, 2023
4a06b22
chore(spatial): add a wrapper shape that is a mob spawn filter and ho…
Elenterius Dec 7, 2023
4ecc094
feat: add neural interceptor block
Elenterius Dec 7, 2023
9d71212
chore(spatial): add logging to the storage handler
Elenterius Dec 7, 2023
60d4ad0
chore(release): 1.19.2-v2.2.6.0 [skip ci]
invalid-email-address Dec 9, 2023
95c32e7
fix(gradle): fix build configuration not including the api sourceset …
Elenterius Dec 9, 2023
3acb916
feat(flesh-mound): make Malignant Bloom spawn less likely inside the …
Elenterius Dec 9, 2023
8750164
fix(flesh-mound): fix flesh veins being unable to find the flesh moun…
Elenterius Dec 9, 2023
be7e5d9
feat: change chiseled flesh block/texture
Elenterius Dec 10, 2023
0ce643b
chore: remove unused/old textures
Elenterius Dec 10, 2023
6c48122
chore: reorganize mod blocks registry
Elenterius Dec 10, 2023
02a2c84
feat: add primal orifice block
Elenterius Dec 10, 2023
7f06b15
feat(flesh-mound): tweak default mound gen settings
Elenterius Dec 10, 2023
d656a79
chore(flesh-mound): make radius, height and spire modifiers capable t…
Elenterius Dec 10, 2023
6924fff
chore: add helper methods for acid damage
Elenterius Dec 11, 2023
f3fb0b9
chore: add fluid registry
Elenterius May 3, 2023
61da539
feat(acid): add acid fluid
Elenterius May 3, 2023
050bf47
feat(acid): add fluid interaction with lava & water
Elenterius Dec 11, 2023
dc17391
feat(acid): add fluid compat for open pipes from Create
Elenterius May 3, 2023
dd32f9d
feat(acid): add dripping acid particle
Elenterius Dec 11, 2023
ac10f68
chore(release): 1.19.2-v2.2.7.0 [skip ci]
invalid-email-address Dec 11, 2023
df8e315
feat(acid): reduce probability for acid particles to produce fizzling…
Elenterius Dec 12, 2023
2949671
feat: make primal orifices milk-able with empty buckets
Elenterius Dec 12, 2023
52d2b60
feat(item-tag): add `cannot_be_eaten_by_cradle` tag for items that sh…
Elenterius Dec 19, 2023
138f2f1
feat(item-tag): add items to forge tags for doors, trapdoors and chests
Elenterius Dec 19, 2023
d1e9c66
fix: prevent storage sac from being eaten by the Cradle
Elenterius Dec 19, 2023
2de5134
feat: add bloomlight recipe
Elenterius Dec 19, 2023
33f3c25
feat: change Primordial Lantern recipe to require a Sapberry
Elenterius Dec 19, 2023
844b217
feat: tweak decomposing recipe of bloomlight
Elenterius Dec 19, 2023
2c9074a
feat: change the block material of Flesh Pillar, Chiseled Flesh and O…
Elenterius Dec 21, 2023
9b7bf5c
feat: buff strength of `FleshyBone` material (increase destroy time f…
Elenterius Dec 21, 2023
cf05380
feat: increase explosion resistance of Packed Flesh from 6 to 12
Elenterius Dec 21, 2023
648650c
feat: make bony flesh blocks play flesh or bone sounds (with equal pr…
Elenterius Dec 21, 2023
8f0bdb2
feat(flesh-mound): add chamber decorations such as pillars, orifices,…
Elenterius Dec 24, 2023
1ae0440
chore(release): 1.19.2-v2.2.8.0 [skip ci]
invalid-email-address Dec 24, 2023
6435e3a
feat: make primal membrane consider golems as not alive
Elenterius Dec 27, 2023
8835483
chore(flesh-mound): refactor mound shape stuff
Elenterius Dec 29, 2023
f7acee8
feat(flesh-mound): allow destruction of melons, pumpkins and moss
Elenterius Dec 29, 2023
6c65cc1
feat(flesh-mound): add bone pillar generation
Elenterius Dec 29, 2023
3db8c25
feat(flesh-mound): make Primal Membrane self-spreading inside flesh m…
Elenterius Dec 29, 2023
0448cd8
feat(flesh-mound): make mounds slightly smaller
Elenterius Dec 29, 2023
28f3c50
chore(release): 1.19.2-v2.2.9.0 [skip ci]
invalid-email-address Dec 29, 2023
d6e1db9
feat(acid-fluid): make acid randomly destroy flesh veins or crack sto…
Elenterius Dec 31, 2023
4dd6645
feat(acid-effect): increase acid effect damage for wet entities
Elenterius Dec 31, 2023
17ea367
feat(acid-effect): make entities sensitive to water (water splash pot…
Elenterius Dec 31, 2023
b21faf6
feat: make Bio-Forge reduce fall damage
Elenterius Dec 31, 2023
bd8a36a
chore: refactor entity type registration for projectiles
Elenterius Dec 31, 2023
d076e73
feat: add acid blob projectile and spawn it from primal orifices
Elenterius Dec 31, 2023
1cb2b2b
chore: partially fix geo projectile renderer
Elenterius Jan 2, 2024
d317313
chore: add custom shooting sound support to ConfiguredProjectiles
Elenterius Jan 2, 2024
00e2d9a
chore: improve debug messages for the spatial store
Elenterius Jan 8, 2024
be5fa53
chore: remove unused chunk section related code
Elenterius Jan 8, 2024
3e5b9c3
feat: prevent low acid fluid levels from destroying flesh veins
Elenterius Jan 8, 2024
7eeaa1a
feat: make acid fluid erode dirt
Elenterius Jan 8, 2024
ed54252
feat: replace acid fluid erosion of stone into cobblestone with cobbl…
Elenterius Jan 8, 2024
b255ea9
feat(flesh-mound): make flowers replaceable
Elenterius Jan 8, 2024
5243068
fix: fix flesh veins not being being mineable with a hoe
Elenterius Jan 8, 2024
9fd7c6c
feat(tags)!: rename primordial_ecosystem_replaceable tag to flesh_rep…
Elenterius Jan 8, 2024
2b59be1
feat(server-config)!: remove doUnlimitedGrowth settings
Elenterius Jan 8, 2024
6e51737
feat(acid-fluid): make acid fluid able to sweep away flesh veins
Elenterius Jan 8, 2024
56e4ccf
feat(acid-fluid): make acid fluid able to slowly destroy blocks with …
Elenterius Jan 8, 2024
4fb1312
feat(flesh-mound): tweak flesh mound size
Elenterius Jan 9, 2024
40621ee
chore: improve debug message for the spatial store
Elenterius Jan 9, 2024
509b93d
fix(flesh-mound): prevent chamber intersections with the main cradle …
Elenterius Jan 10, 2024
b4c9e99
feat!: remove neural interceptor block
Elenterius Jan 10, 2024
a4fee52
feat: rename Bloom related stuff
Elenterius Jan 10, 2024
6d98ccd
feat(tributes): make totem of undying a valid cradle sacrifice and bu…
Elenterius Jan 10, 2024
b2a82d3
build(workflow): fix download url in discord message
Elenterius Jan 10, 2024
3bcd2c8
fix: fix wrong file name for bloomberry item texture
Elenterius Jan 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ jobs:
webhook_token: ${{ secrets.DISCORD_TOKEN }}
color: "#088c7d"
username: "Maykr Bot"
message: "**:package: ${{ needs.changelog.outputs.tag }}**\n\n**Download**\n${{ fromJSON(steps.create_release.outputs.assets)[0].browser_download_url }}\n\n**Changelog**\n${{ steps.create_release.outputs.url }}"
message: "**:package: ${{ needs.changelog.outputs.tag }}**\n\n**Download**\n${{ fromJSON(steps.create_release.outputs.assets)[1].browser_download_url }}\n\n**Changelog**\n${{ steps.create_release.outputs.url }}"
2 changes: 1 addition & 1 deletion .github/workflows/gh_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@ jobs:
webhook_token: ${{ secrets.DISCORD_TOKEN }}
color: "#088c7d"
username: "Maykr Bot"
message: "**:package: ${{ needs.changelog.outputs.tag }}**\n\n**Download**\n${{ fromJSON(steps.create_release.outputs.assets)[0].browser_download_url }}\n\n**Changelog**\n${{ steps.create_release.outputs.url }}"
message: "**:package: ${{ needs.changelog.outputs.tag }}**\n\n**Download**\n${{ fromJSON(steps.create_release.outputs.assets)[1].browser_download_url }}\n\n**Changelog**\n${{ steps.create_release.outputs.url }}"
169 changes: 52 additions & 117 deletions CHANGELOG.md

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ style.
* [Download]
* [Discord]
* [Wiki]
* [Trello]
* [Github Project]

## Tech Stack

Expand Down Expand Up @@ -73,7 +73,7 @@ the [Creative Commons Attribution-NonCommercial 4.0 International License](http:

### Maven

Atm there is no dedicated maven, you can use https://www.cursemaven.com/ to include the mod as a dependency.
Atm there is no dedicated maven, you can use [cursemaven](https://www.cursemaven.com/) or [Modrinth Maven](https://docs.modrinth.com/maven) to include the mod as a dependency.

### Contributing

Expand All @@ -84,7 +84,7 @@ request to join the dev team.<br>
This will give you access to the private mod development channels and resources such as the biomancy design document and
concept board.

You can track the development progress via our [Trello Board][Trello].
You can track the development progress via our [Dev Board][Github Project].

This project uses **Conventional Commits Messages** (https://www.conventionalcommits.org/en/v1.0.0/) to automatically
genereate
Expand All @@ -96,16 +96,17 @@ If you need help feel free to [join our Discord][Discord].
## User Guide
The mod provides no ingame guide book but uses tooltip descriptions & flavor texts instead. If you need further information you can read the github [Wiki].

Read the [Getting Started Guide](https://github.com/Elenterius/Biomancy/wiki/v2/Getting-Started) section if you don't know what to do at all.
Read the [Getting Started Guide](https://github.com/Elenterius/Biomancy/wiki/Biomancy-2-Getting-Started) section if you don't know what to do at all.

### Recipes
To conveniently look up recipes ingame I recommend the use of the [JEI] mod.


[Download]: https://www.curseforge.com/minecraft/mc-mods/biomancy
[Discord]: https://discord.gg/424awTDdJJ
[Wiki]: https://github.com/Elenterius/Biomancy/wiki/v2
[Trello]: https://trello.com/b/GUKjOSAl
[JitPack]: https://jitpack.io/#Elenterius/Biomancy

[Wiki]: https://github.com/Elenterius/Biomancy/wiki/Biomancy-2

[Github Project]: https://github.com/orgs/Creative-Chasm/projects/2/

[JEI]:https://www.curseforge.com/minecraft/mc-mods/jei
49 changes: 33 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ plugins {
id 'org.spongepowered.mixin' version '0.7-SNAPSHOT'
}

jarJar.enable()

import groovy.json.JsonSlurper

import java.util.concurrent.TimeUnit
Expand Down Expand Up @@ -34,6 +36,7 @@ sourceSets {
main {
resources {
srcDir 'src/generated/resources' // Include resources generated by data generators
exclude '.cache/'
}
}
test {}
Expand Down Expand Up @@ -65,6 +68,10 @@ minecraft {
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
property 'forge.enabledGameTestNamespaces', 'biomancy'

// Hot-Swapping via JBR, includes schema changes
// Guide: https://forge.gemwire.uk/wiki/Hotswap#Applying_schema_changes
jvmArgs '-XX:+IgnoreUnrecognizedVMOptions', '-XX:+AllowEnhancedClassRedefinition'

mods {
biomancy {
source sourceSets.main
Expand All @@ -78,13 +85,6 @@ minecraft {
args '--username', 'Dev2'
}

// Hot-Swapping via JBR, includes schema changes
// Guide: https://forge.gemwire.uk/wiki/Hotswap#Applying_schema_changes
clientWithJBR {
parent runs.client
jvmArg '-XX:+AllowEnhancedClassRedefinition'
}

server {
workingDirectory project.file('run')

Expand Down Expand Up @@ -180,8 +180,10 @@ repositories {
maven { url = 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }
maven { url = 'https://maven.blamejared.com' }
maven {
name = "KliKli Maven (Modnomicon)"
url = "https://repo.repsy.io/mvn/klikli-dev/mods"
url "https://dl.cloudsmith.io/public/klikli-dev/mods/maven/"
content {
includeGroup "com.klikli_dev"
}
}
maven {
name = 'tterrag maven'
Expand All @@ -206,8 +208,12 @@ dependencies {
implementation fg.deobf("software.bernie.geckolib:geckolib-forge-1.19:3.1.40")
datagenImplementation fg.deobf("software.bernie.geckolib:geckolib-forge-1.19:3.1.40")

implementation fg.deobf("com.klikli_dev:modonomicon:1.19.2-1.30.2")
datagenImplementation fg.deobf("com.klikli_dev:modonomicon:1.19.2-1.30.2")
//https://h2database.com/html/mvstore.html
minecraftLibrary(group: "com.h2database", name: "h2-mvstore", version: "2.2.224")
jarJar(group: "com.h2database", name: "h2-mvstore", version: "[2.2.220,3.0.0)")

implementation fg.deobf("com.klikli_dev:modonomicon-${mc_version}:1.34.0")
datagenImplementation fg.deobf("com.klikli_dev:modonomicon-${mc_version}:1.34.0")

compileOnly fg.deobf("mezz.jei:jei-${mc_version}-common-api:${jei_version}")
compileOnly fg.deobf("mezz.jei:jei-${mc_version}-forge-api:${jei_version}") // compile against the JEI API but do not include it at runtime
Expand All @@ -230,6 +236,8 @@ dependencies {
// implementation fg.deobf("se.mickelus.mutil:mutil:1.19.2-5.1.0")
compileOnly fg.deobf("curse.maven:tetra-289712:4738567") // 1.19.2-5.5.0

// runtimeOnly fg.deobf("maven.modrinth:nerb:ANmCMdMt") //NERB 0.3

//TODO: Morph Mod Integration?
// implementation fg.deobf("curse.maven:identity-391390:3807264") // https://www.curseforge.com/minecraft/mc-mods/identity
// runtimeOnly fg.deobf("curse.maven:architectury-419699:4040966")
Expand All @@ -240,7 +248,6 @@ dependencies {
}

processResources {
exclude '.cache'
exclude '**/*.psd'
exclude '**/*.bbmodel'
exclude '**/*.pdn'
Expand All @@ -263,7 +270,14 @@ void minifyJsons(String fdir) {
printf "%7s sec, %s ms \n", (int) (ms / 1000), ms % 1000
}

tasks.jarJar {
archiveClassifier = ''
from sourceSets.api.output
from { ["CREDITS.md", "LICENSE.txt"] } //copy files from the repository root into the jar
}

jar {
archiveClassifier = "slim"
from sourceSets.api.output

// manifest properties for reading on runtime
Expand All @@ -281,10 +295,13 @@ jar {
from { ["CREDITS.md", "LICENSE.txt"] } //copy files from the repository root into the jar
}

// This is the preferred method to reobfuscate your jar file
jar.finalizedBy('reobfJar')
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing
//publish.dependsOn('reobfJar')
reobf {
jarJar {}
}

//jar.finalizedBy('reobfJar')
tasks.build.dependsOn tasks.jarJar
jar.finalizedBy('reobfJarJar')

publishing {
publications {
Expand Down
2 changes: 1 addition & 1 deletion mod_version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"major": "2",
"semantic": "2.0.0"
"semantic": "2.9.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static void gatherData(final GatherDataEvent event) {
generator.addProvider(true, new ModAdvancementProvider(generator, existingFileHelper, translationProvider));

//guide book
generator.addProvider(false, new GuideBookProvider(generator, translationProvider)); //TODO: re-enable when ready
generator.addProvider(true, new GuideBookProvider(generator, translationProvider)); //TODO: re-enable when ready

generator.addProvider(true, translationProvider);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ public void registerSounds() {
addSimpleSounds(ModSoundEvents.FLESH_BLOCK_BREAK, 4);
addSimpleSounds(ModSoundEvents.FLESH_BLOCK_FALL, 3);

addSimpleRedirects(ModSoundEvents.BONY_FLESH_BLOCK_HIT, ModSoundEvents.FLESH_BLOCK_HIT.get(), SoundEvents.BONE_BLOCK_HIT);
addSimpleRedirects(ModSoundEvents.BONY_FLESH_BLOCK_PLACE, ModSoundEvents.FLESH_BLOCK_PLACE.get(), SoundEvents.BONE_BLOCK_PLACE);
addSimpleRedirects(ModSoundEvents.BONY_FLESH_BLOCK_STEP, ModSoundEvents.FLESH_BLOCK_STEP.get(), SoundEvents.BONE_BLOCK_STEP);
addSimpleRedirects(ModSoundEvents.BONY_FLESH_BLOCK_BREAK, ModSoundEvents.FLESH_BLOCK_BREAK.get(), SoundEvents.BONE_BLOCK_BREAK);
addSimpleRedirects(ModSoundEvents.BONY_FLESH_BLOCK_FALL, ModSoundEvents.FLESH_BLOCK_FALL.get(), SoundEvents.BONE_BLOCK_FALL);

addSimpleSounds(ModSoundEvents.FLESH_DOOR_OPEN, 2);
addSimpleSounds(ModSoundEvents.FLESH_DOOR_CLOSE, 2);

Expand Down Expand Up @@ -82,7 +88,7 @@ public void registerSounds() {
addSimpleRedirect(ModSoundEvents.DIGESTER_CRAFTING_COMPLETED, SoundEvents.PLAYER_BURP, 1f, 1.25f);

addSimpleRedirect(ModSoundEvents.FLESH_BLOB_JUMP, SoundEvents.SLIME_JUMP);
addSimpleRedirect(ModSoundEvents.FLESH_BLOB_HURT, ModSoundEvents.FLESH_BLOCK_BREAK.get(), 0.8f, 0.9f);
addSimpleRedirect(ModSoundEvents.FLESH_BLOB_HURT, ModSoundEvents.FLESH_BLOCK_BREAK, 0.8f, 0.9f);
addSimpleRedirect(ModSoundEvents.FLESH_BLOB_DEATH, SoundEvents.GENERIC_DEATH);
addSimpleSounds(ModSoundEvents.FLESH_BLOB_AMBIENT, 3, 0.8f, 0.9f);
addSimpleSound(ModSoundEvents.GENERIC_MEW_PURR, 0.7f, 0.45f);
Expand Down Expand Up @@ -169,4 +175,13 @@ protected void addSimpleRedirect(RegistryObject<SoundEvent> soundHolder, Registr
);
}

protected void addSimpleRedirects(RegistryObject<SoundEvent> soundHolder, SoundEvent... redirectTargets) {
SoundDefinition soundDefinition = definition().subtitle(translationKey(soundHolder));

for (SoundEvent redirectTarget : redirectTargets) {
soundDefinition.with().with(sound(redirectTarget.getLocation(), SoundDefinition.SoundType.EVENT));
}

add(soundHolder, soundDefinition);
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.github.elenterius.biomancy.datagen.advancements;

import com.github.elenterius.biomancy.chat.ComponentUtil;
import com.github.elenterius.biomancy.datagen.lang.LangProvider;
import com.github.elenterius.biomancy.util.ComponentUtil;
import net.minecraft.advancements.Advancement;
import net.minecraft.advancements.CriterionTriggerInstance;
import net.minecraft.advancements.FrameType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ protected void addTranslations() {

addItemTranslations();
addBlockTranslations();
addFluidTranslations();
addEntityTranslations();
addEnchantmentTranslations();
addStatusEffectTranslations();
Expand All @@ -169,6 +170,7 @@ protected void addTranslations() {
addTooltip("empty", "Empty");
addTooltip("contains", "Contains: %1$s");
addTooltip("nutrients_fuel", "Nutrients");
addTooltip("primal_energy", "Primal Energy");
addTooltip("nutrients_consumes", "Consumes %1$s u");
addTooltip("consumption", "Consumption");
addTooltip("bile_fuel", "Bile");
Expand Down Expand Up @@ -252,6 +254,12 @@ private void addSoundTranslations() {
addSound(ModSoundEvents.FLESH_BLOCK_BREAK, "Break Fleshy Block");
addSound(ModSoundEvents.FLESH_BLOCK_FALL, "Fall on Fleshy Block");

addSound(ModSoundEvents.BONY_FLESH_BLOCK_HIT, "Hit Bony Flesh Block");
addSound(ModSoundEvents.BONY_FLESH_BLOCK_PLACE, "Place Bony Flesh Block");
addSound(ModSoundEvents.BONY_FLESH_BLOCK_STEP, "Step on Bony Flesh Block");
addSound(ModSoundEvents.BONY_FLESH_BLOCK_BREAK, "Break Bony Flesh Block");
addSound(ModSoundEvents.BONY_FLESH_BLOCK_FALL, "Fall on Bony Flesh Block");

addSound(ModSoundEvents.FLESH_DOOR_OPEN, "Open Fleshy Door");
addSound(ModSoundEvents.FLESH_DOOR_CLOSE, "Close Fleshy Door");

Expand Down Expand Up @@ -361,6 +369,7 @@ private void addItemTranslations() {
addItem(ModItems.NUTRIENTS, "Nutrients", "Very hard pellets rich in energy that almost look like vitamin pills.");
addItem(ModItems.NUTRIENT_PASTE, "Nutrient Paste", "Nutrients combined with Biotic Matter to moisten the hard pellets, producing a paste.\nIt almost looks like yellowish cake, and is a convenient source of energy.");
addItem(ModItems.NUTRIENT_BAR, "Nutrient Bar", "Nutrient Paste compressed into the shape of a bar. Looks edible, if a bit bland.");
addItem(ModItems.BLOOMBERRY, "Bloomberry", "An exotic delicacy which has a bioluminescent sheen and grants random potion effects when eaten.");

addItem(ModItems.REGENERATIVE_FLUID, "Regenerative Fluid", "A fluid with regenerative properties, used to concoct healing additives.");
addItem(ModItems.WITHERING_OOZE, "Withering Ooze", "A corrosive extract. It likely has uses in bio-alchemy.");
Expand Down Expand Up @@ -388,6 +397,7 @@ private void addItemTranslations() {
Looks like some objects are wrapped in an organic layer of skin. Might be filled with items or toxin if your language is set to German.

Right Click the Sac to retrieve the Items.""");
addItem(ModItems.ACID_BUCKET, "Acid Bucket");

addItem(ModItems.RAVENOUS_CLAWS, "Ravenous Claws", """
Extremely hungry and vicious Claws forged by starving living flesh and grafting claws onto it.
Expand Down Expand Up @@ -480,12 +490,16 @@ private void addBlockTranslations() {
addBlock(ModBlocks.FLESH_LADDER, "Flesh Ladder", "Ladder mainly made of bones and a little bit of flesh...");
addBlock(ModBlocks.YELLOW_BIO_LANTERN, "Yellow Bio-Lantern", "A bioluminescent light source that is energy-efficient and environmentally friendly.");
addBlock(ModBlocks.BLUE_BIO_LANTERN, "Blue Bio-Lantern", "A bioluminescent light source. This one is blue!");
addBlock(ModBlocks.PRIMORDIAL_BIO_LANTERN, "Primordial Bio-Lantern", "A primal light source. This one is magenta!");
addBlock(ModBlocks.PRIMORDIAL_BIO_LANTERN, "Bloom-Lantern", "A magenta light source made from a bioluminescent berry.");
addBlock(ModBlocks.BLOOMLIGHT, "Bloomlight", "A malignant light source. This one is magenta as well!");
addBlock(ModBlocks.TENDON_CHAIN, "Tendon Chain", "A chain made of tendons.");
addBlock(ModBlocks.VIAL_HOLDER, "Vial Holder", "Display and organize your serums.");
addBlock(ModBlocks.IMPERMEABLE_MEMBRANE, "Impermeable Membrane", "Gelatinous-like membrane reinforced with elastic fibers.");
addBlock(ModBlocks.BABY_PERMEABLE_MEMBRANE, "Baby-Permeable Membrane", "Gelatinous-like membrane reinforced with elastic fibers.\n\nBaby mobs can diffuse through the membrane.");
addBlock(ModBlocks.ADULT_PERMEABLE_MEMBRANE, "Adult-Permeable Membrane", "Gelatinous-like membrane reinforced with elastic fibers.\n\nAdult mobs can diffuse through the membrane.");
addBlock(ModBlocks.PRIMAL_PERMEABLE_MEMBRANE, "Primal Membrane", "Gelatinous-like membrane reinforced with elastic fibers.\n\nOnly mobs that are alive can diffuse through the membrane.");
addBlock(ModBlocks.UNDEAD_PERMEABLE_MEMBRANE, "Phantom Membrane", "Gelatinous-like membrane reinforced with elastic fibers.\n\nOnly mobs that are undead can diffuse through the membrane.");
//addBlock(ModBlocks.NEURAL_INTERCEPTOR, "Neural Interceptor", "A psychic node that prevents natural mob spawning in a 48 block radius.");

addBlock(ModBlocks.PRIMAL_FLESH, "Primal Flesh Block", "Primitive and pure, you better not touch this with your dirty mitts.");
addBlock(ModBlocks.PRIMAL_FLESH_SLAB, "Primal Flesh Slab", "Primitive and pure, you better not touch this with your dirty mitts.");
Expand All @@ -496,6 +510,10 @@ private void addBlockTranslations() {
addBlock(ModBlocks.MALIGNANT_FLESH_STAIRS, "Malignant Flesh Stairs", "Stairs made of malignant flesh.\nLooks diseased...");
addBlock(ModBlocks.MALIGNANT_FLESH_WALL, "Malignant Flesh Wall", "Wall of malignant flesh.\nIt's coming for you! ;)");
addBlock(ModBlocks.MALIGNANT_FLESH_VEINS, "Malignant Flesh Veins", "They look almost feral...\nyou better not touch them.");
addBlock(ModBlocks.MALIGNANT_BLOOM, "Primal Bloom", "An exotic flower of primordial beauty.\n\nIt will spread itself by launching it's ripe berry into the air.\nOn impact the berry explodes and spreads malignant veins as well.");
addBlock(ModBlocks.PRIMAL_ORIFICE, "Primal Orifice", "A primitive piece full of holes. It seems to leak an acidic substance.");

addBlock(ModBlocks.ACID_FLUID_BLOCK, "Acid");
}

private void addEntityTranslations() {
Expand All @@ -506,4 +524,7 @@ private void addEntityTranslations() {
addEntityType(ModEntityTypes.PRIMORDIAL_HUNGRY_FLESH_BLOB, "Primordial Hungry Flesh Blob");
}

private void addFluidTranslations() {
addFluidType(ModFluids.ACID_TYPE, "Acid");
}
}
Loading