Jump to content

m27315

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by m27315

  1. I had missed flowing_water and flowing_lava. This helped most of my problems. Thanks! However, in my mod, I still have this issue, where I'm setting blocks so fast, that although there is no water flowing in a block, several seconds after I finish setting all of my blocks there may be flowing water. It's a time issue, where I need to wait several seconds for water to flow down to all of the places it will eventually be. Is there a way to check if water will eventually flow in a block? I'm guessing, no, and I don't mind living with it, but I though I would check. Thanks!
  2. Hi, I know how to test if a block is a water or lava block: Block block = world.getBlock(x, y, z); return block.equals(Blocks.water) || block.equals(Blocks.lava); However, an adjacent block - or a block far below - may be air and have water or lava running through it. I want to find these blocks too. How do I determine if a block at x,y,z has any liquid (lava or water) in it? Thanks!
  3. Awesome! ... Thanks!
  4. I'm a little out of my water, being new to Forge Mod development. I'd like for each user to have their own config file, which if it doesn't exist, I want to copy it out of the mod and into the user's config file space. It's a non-standard config file, so I can't use the easier read/write config file methods. ... Dumb question, where can I find more info on MyMod.class.getResourceAsStream in the forge javadocs? What class does that belong to? ... Thanks!
  5. Hi, I'd like to include a plain text file in my forge mod. I'm guessing it goes somewhere in the assets folder, but I do not know where to place it or how to find it once the mod is running. Any pointers? Thanks!
×
×
  • Create New...

Important Information

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