Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Detect Forge Fluids On tank
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
CosmosBench244

Detect Forge Fluids On tank

By CosmosBench244, November 30, 2020 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

CosmosBench244    0

CosmosBench244

CosmosBench244    0

  • Tree Puncher
  • CosmosBench244
  • Members
  • 0
  • 4 posts
Posted November 30, 2020 (edited)

How do I detect what type of fluid is no a tank?

and how do I implement that on an if statement?

I'm coding in 1.15.2.

Edited November 30, 2020 by CosmosBench244
  • Quote

Share this post


Link to post
Share on other sites

ChampionAsh5357    160

ChampionAsh5357

ChampionAsh5357    160

  • World Shaper
  • ChampionAsh5357
  • Members
  • 160
  • 1020 posts
Posted November 30, 2020

Take a look at the Forge FluidStack and its capability implementation.

  • Quote

Share this post


Link to post
Share on other sites

CosmosBench244    0

CosmosBench244

CosmosBench244    0

  • Tree Puncher
  • CosmosBench244
  • Members
  • 0
  • 4 posts
Posted December 2, 2020 (edited)

Thanks, I alredy tried, but I didn't understood how to do it    : P

Edited December 2, 2020 by CosmosBench244
  • Quote

Share this post


Link to post
Share on other sites

ChampionAsh5357    160

ChampionAsh5357

ChampionAsh5357    160

  • World Shaper
  • ChampionAsh5357
  • Members
  • 160
  • 1020 posts
Posted December 3, 2020
2 hours ago, CosmosBench244 said:

Thanks, I alredy tried, but I didn't understood how to do it    : P

Provide your source of what you have already done and how far in the process you got. Saying you don't understand doesn't provide any context.

  • Quote

Share this post


Link to post
Share on other sites

CosmosBench244    0

CosmosBench244

CosmosBench244    0

  • Tree Puncher
  • CosmosBench244
  • Members
  • 0
  • 4 posts
Posted December 3, 2020

I use MCreator to make mods, but it is very limited. For example it doesn't have a way to detect fluids on tank, nor a way to make JEI compatibility, etc. That is why I don't know almost anything about forge fluids

: P

 

Either way, if your still wan't the source code I will send it     : )

  • Quote

Share this post


Link to post
Share on other sites

Danebi    26

Danebi

Danebi    26

  • Diamond Finder
  • Danebi
  • Members
  • 26
  • 432 posts
Posted December 3, 2020
42 minutes ago, CosmosBench244 said:

I use MCreator to make mods

Please don't.

MCreator is not supported on this forum. Learn Java to receive support.

If you want to know why MCreator is bad read this.

  • Quote

Share this post


Link to post
Share on other sites

CosmosBench244    0

CosmosBench244

CosmosBench244    0

  • Tree Puncher
  • CosmosBench244
  • Members
  • 0
  • 4 posts
Posted December 5, 2020
On 12/4/2020 at 12:54 AM, Danebi said:

Please don't.

MCreator is not supported on this forum. Learn Java to receive support.

If you want to know why MCreator is bad read this.

That is the exact reason of why I've created this topic, because I don't know almost anything about Forge fluids and because MCreator it's very limited in what you can do.

Could you please teach me how to detect fluids on tank and implement that into an if statement?

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • P0SCH1T0
      Why my modded server keep saying: "Unexpected custom data from client"?

      By P0SCH1T0 · Posted 4 minutes ago

      Sorry I posted this, because I was inattentive.
    • diesieben07
      Best way to create a new dye.

      By diesieben07 · Posted 1 hour ago

      Dyes and colored objects are not handled through runtime coloring, they simply have different textures, there for ColorHandlerEvent / IItemColor / IBlockColor is not the way to go. It gets problematic, because Minecraft models dye color as an enum, which is of course inflexible and does not let you add things to it.   So really you just need to add new items, blocks, etc. as normal for all the colored "things" and ignore DyeColor. For things like sheep shearing, you probably either need to hook into the sheep rendering and have your own rendering for your own color (in addition to storing the fact that the sheep is "your color") or just spawn a custom sheep. Same goes for banners, you probably have to clone the complete logic, which is not really fun.   Overall: The basics are possible, but integrating it into the whole game is probably not possible / not easy.
    • diesieben07
      Datapack error and safemode

      By diesieben07 · Posted 1 hour ago

      Yes it is the error. I don't use a Mac, so I don't know how to fix this.
    • diesieben07
      Forge Server

      By diesieben07 · Posted 1 hour ago

      It should work fine, yes. However nobody on the core forge team has a mac, so no mac specific testing is done, but I have not heard any bug reports.
    • P0SCH1T0
      Why my modded server keep saying: "Unexpected custom data from client"?

      By P0SCH1T0 · Posted 2 hours ago

      Okay. Here is the full starting log and the debug log.   Log: https://gist.github.com/LukeeMaster/415e7ce911089722c6cf2e3a920ef783   Debug log: https://gist.github.com/LukeeMaster/1d25e23c1b40933a87b8059d9eae5911        
  • Topics

    • P0SCH1T0
      3
      Why my modded server keep saying: "Unexpected custom data from client"?

      By P0SCH1T0
      Started Yesterday at 10:12 AM

    • Eridani
      1
      Best way to create a new dye.

      By Eridani
      Started 9 hours ago

    • Intijir
      20
      Datapack error and safemode

      By Intijir
      Started December 20, 2020

    • Arthurmeade12
      1
      Forge Server

      By Arthurmeade12
      Started 13 hours ago

    • myskerm
      0
      Minecraft server: Knight Realms [1.16.4] | Towny | Survival | RPG |

      By myskerm
      Started 2 hours ago

  • Who's Online (See full list)

    • P0SCH1T0
    • diesieben07
    • NOELASO
    • iHamster
    • Novârch
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Detect Forge Fluids On tank
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community