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

Fluid API Port Issues #2542

Open
8 of 14 tasks
alcatrazEscapee opened this issue Nov 6, 2023 · 0 comments
Open
8 of 14 tasks

Fluid API Port Issues #2542

alcatrazEscapee opened this issue Nov 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working Version: 1.20.x Minecraft 1.20.x

Comments

@alcatrazEscapee
Copy link
Member

alcatrazEscapee commented Nov 6, 2023

A lot of TFC is still relying on #minecraft:water functionality. Some identified issues:

  • TFC Magma blocks delete waterlogged blocks, other fluids
    • Likely dropping support for salt water + vanilla soul sand/magma, and only re-implementing TFC magma (bubble up, push down)
  • Lots of reliance on #minecraft:water, should switch to other tags or fluid API if possible.
    • This was done for all fluids that don't need to exist in the world, and have very basic representations when in world.
  • Need to test that we don't break any behavior, especially if we start removing fluids from #minecraft:water
    • There are too many things in vanilla that still rely on this tag, that aren't patched out. Nobody should really be using this anyway, and it doesn't really harm us to keep it in for this extra functionality.
  • Things that are already broken from the API:
    • Swimming in salt water does not make any sounds
    • Salt water (and all fluids) pushes harder than water (Forge bug)
    • Ambient swimming, splashing particles, sounds, etc. don't exist in salt water
    • Splashing sound when moving between fresh + salt water (fish do this a lot around rivers)
      • All of the above were fixed by mixin into Entity, which just hack FluidTags.WATER queries, to treat any water-like fluids identical to water. This fully makes salt water + water have identical behavior.
    • Most fluids in-world are not transparent, except for water, which is
    • Molten fluids don't give off light
    • Molten fluids don't damage entities
    • Coral doesn't hydrate itself
  • Potentially use the WATER type for salt water to fix inconsistencies?
    • This can't be done, as it will break too many things that make water + salt water distinct (for example, translation keys of FluidStacks will have to use "Water", not "Salt Water" instead. Not viable.
@alcatrazEscapee alcatrazEscapee added bug Something isn't working Version: 1.20.x Minecraft 1.20.x labels Nov 6, 2023
@alcatrazEscapee alcatrazEscapee self-assigned this Nov 6, 2023
alcatrazEscapee added a commit that referenced this issue Nov 21, 2023
eerussianguy added a commit that referenced this issue Dec 5, 2023
- add recipe for vanilla loom with forge tag
- add scraping for sheepskin
- add extra drop parameter to scraping recipes
- make creeping plant spreading in line with other plant spreading
- change horse armor recipe to require jute fiber
- make jam sandwiches require at least 1 jam
- add vanilla sapling tag
- fix crash summoning chest boats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Version: 1.20.x Minecraft 1.20.x
Projects
None yet
Development

No branches or pull requests

1 participant