Jump to content

Pitaxed

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Europe

Pitaxed's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Here's a repo with (hopefully) all the relevant files to build it locally: https://github.com/pitaxed/moses Even if you don't know exactly what I'm doing wrong, it would be nice to know if at least my approach is somewhat sane or if I should do something else entirely. I ultimately want to replace all water blocks with slow water during generation.
  2. So like the title suggests, I would like to change water so it flows slower. The relevant value is sadly hard coded in a getter function, so I thought the easiest way would be to make my own Fluid (SlowWaterFluid) and discovered half way through, that I should also make my own Block (SlowLiquidBlock) , which are mostly the Vanilla classes copied and altered. But I ran into a problem with the getFlowing/getSource functions. I register both the fluids(source/flowing) into their registries in their own init classes and register those in the constructor of my main class. When I try to reference in the fluid class via SLOW_WATER.get()/SLOW_FLOWING_WATER.get() it only returns a null value, if I guard it in an if(SLOW_WATER.isPresent()) block I get an error during the registration. What am I doing wrong/what am I misunderstanding? Edit: Correctied the code formatting
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.