Jump to content

Draco18s

Members
  • Posts

    16559
  • Joined

  • Last visited

  • Days Won

    155

Everything posted by Draco18s

  1. Huh, not for me. Ah, a 1.8 change >..> Anyway, yeah. Do what diesieben07 said.
  2. You'd (probably) have to ASM the BlockWater shouldSideBeRendered method to properly check for adjacent block material type being coral.
  3. Yup, Z-fighting. And by "slightly" an offset of 0.01 is usually enough.
  4. loop { if(condition == true) { //your current return true, commented out } else { return false; //new } return true; //new }
  5. Because you return true if the first time the loop runs it finds the blocks. You didn't let the loop finish.
  6. theShaderGroup is already public. So I still don't know what you're trying to do.
  7. True enough. I'm not sure how I'd go about "solving" the problem, as that kind of mesh network doesn't really have a concept of "edges" that you can go "oh that location is at / near an edge, do X."
  8. Correctly. Why are you trying to get a field from EntityRenderer that is called "EntityRenderer"? That field doesn't exist.
  9. Its because you aren't using smooth lighting code. You're using the fast lighting code (if you turn off smooth lighting in the options I'll bet you can't tell the difference). And heads up: smooth lighting code is a bitch. I gave up on it when I was doing whateverthehell it was that I was doing that was similar.
  10. Can't find class: com.shaharcoolmen.randcommands.proxy.CommonProxy I don't think you set up your proxy right and I'm not downloading you're entire mod off Mediafire just to look at it.
  11. Fur the love. .. Its a No Such Field exception. Fukin read.
  12. World implements IBlockAccess. Your TESR should have access to your TE which has a worldObj
  13. Which is what a box blur is. But it explicitly deals with pixels. If the height map thing isn't stored in a grid, then the boxblur doesn't make any sense.
  14. If you call draw() to reset, you need to end your function by calling startDrawing, or the next thing Minecraft tries to draw won't have an active tessellator (it gave you one and you ended it without starting a new one).
  15. Dreamweaver -> Find and Replace All -> In Folder That'll get the common ones like setBlock and such. Then just keep telling it to look for func_ or field_ until you can't find any more. And yeah, it's a pain in the butt.
  16. The files its trying to download no longer exist on that server. There are ways to fix it, but it's a pain in the arse (I did it once and have no interest in trying to duplicate it) so you might be better off using JD GUI to decompile your mod (the zip or jar you put out). That'll get your code to a readable state and the vanilla code to SRG names (which you can do a lookup for).
  17. Apply a box blur across your biome height map. It'll soften the edges and provide some transition. That is, if that grayscale image was your height value, blur it. But basically, this is why vanilla has technical biomes like Extreme Hills Edge and Mushroom Island Edge.
  18. Not really. I make use of the "tag doesn't exist, so it returns 0" functionality all the time. Mainly because I'm taking that value (0 is a legitimate value) and increment it (or whatever), and shoving it back into the NBT. If you really care, use NBTCompoundTag#hasTag
  19. Did you register the block as having an ItemBlock? E.g. GameRegistry.registerBlock(blockOreFlowers, ItemBlockOreFlower.class, "ore_flowers"); Because if you didn't, you won't see their names. And if you do, it'll crash (because you're telling the game it has 16 sub items and your ItemBlock class only has 3 names. As soon as it tries to get the name for meta-4 to 15, it'll ArrayIndexOutOfBounds on you).
  20. None the less, it's still crappy code. I always new-line and indent stuff like that unless it's simple crap.
  21. That's not an answer to the question I asked.
  22. He's not actually. I thought so too, but they're actually just inside the new Object[]{...} chunk.
  23. WHERE is the NPE? You can at least copy/paste the error so we don't have to download the 2 MB log file from Mediafire.
  24. Ok, and what's the problem currently? Those classes look fine.
×
×
  • Create New...

Important Information

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