Jump to content

SanAndreaP

Forge Modder
  • Posts

    1689
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by SanAndreaP

  1. It's a block, so look under Blocks. Also use english, so others can understand you. ninja'd
  2. If it really is obfuscated, then search for the method which returns "tile." + classvariable If you can find the method and it still errors, you don't extend net.minecraft.block.Block. Please post all of your block code, with all imports and such. Also you should update to 1.7.10, there's no reason to stay in 1.7.2.
  3. AFAIK, you use the same discriminator for the same message on both sides. So on both, you use 1.
  4. I would use OpenGlHelper.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA, GL11.GL_ONE, GL11.GL_ZERO); since I don't like "magic numbers"
  5. except that the .java file spit out by techne is really messy and sometimes just wrong.
  6. And that's why you can publish a Pull Request to the Forge github repo.
  7. 1. To get the topmost block during generation, use world.getTopSolidOrLiquidBlock(x, z) 2. Please use descriptive names for your variables. Stuff like i2 or j1 is just confusing. 3. Ever considered using for loops instead of this chunk of repeating setBlock calls you have?
  8. For Blocks and Items, it doesn't do any harm when you instanciate them in the static initializer anymore (since the removal of the block / item IDs). All the super constructor of a block / item does is setting some internal variables. For everything else, yes, do it in preInit (since it usually has an ID in its constructor, like for biomes) Registering them is another story, this should always go into the preInit.
  9. Why not grab the world from the world parameter?
  10. Use metadata in combination with GL11.glRotatef()
  11. It is possible like TheGreyGhost said, but as soon as you want to animate it, it won't work and you'll need a TESR. It is recommended, if you want to animate parts of a block, to render the static parts with the ISBRH and the animated parts with the TESR, so that you don't have too much in your TESR. (this is how the enchanting table does it (and probably the beacon as well)).
  12. First of all: Update to 1.7. Support for 1.6 was dropped a while ago. Secondly: Don't use Block/Item-IDs, ever. Always use the instance of the Block/Item itself As Busti points out correctly: you need to use the "item-cauldron", not the "block-cauldron". Same goes for beds, reed etc.
  13. Try without optifine and see if it works.
  14. static boolean hasAlloy[] = new boolean[3]; You know what static means, right? I'm asking because you write/read it in your NBT methods.
  15. Unless you give us the full crash, we can't help you.
  16. I know you don't. That's why I said you should override it.
  17. override shouldRefresh() in your tile entity and check if the block is not one of your furnace blocks.
  18. Did you mean "gradlew"? With "gradlew build utf-8" it didn't work :'( Sorry, I was unclear. It's not the command you're supposed to enter, it's the search term where I found the link.
  19. http://stackoverflow.com/questions/21267234/show-utf-8-text-properly-in-gradle first result in google "gradle build utf-8"
  20. I propose an other way of achieving the "autosmelt". Use the HarvestDropsEvent, check if the item used to break the block is a pickaxe and if it has your enchantment, then check which block was broken or check which items are dropped, remove those from the drops list and add their smelted counterparts to the list.
  21. Seems like handler.[b]villageCollectionObj[/b] is null. How do you initialize this field?
  22. hm, I always suggest using a custom item which mimics the mob spawn egg, since the mob spawn egg relies on the vanilla entity id's, which can't get over 255 as previously mentioned. It's also likely that this is causing it to crash.
  23. at BetterWorld.village.VillageInfo.build(VillageInfo.java:150) Can you post which line this is in your class?
  24. Redownload vanilla minecraft and re-install Forge. You jar file seems to be corrupted somehow.
  25. The crash says you're missing a mod dependency. To tell more please post the fml-server-latest.log (through gist.github.com or within a spoiler). You can find it in .minecraft/logs
×
×
  • Create New...

Important Information

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