Jump to content

Wanghh

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by Wanghh

  1. this is a perfect solution!Thank you again!
  2. I Generate 400 Blocks of Rail in a Line in a Class extends IWorldGenerator.But I got no more than 64 rail,and others disappear.How can I do with it?I guess It can be Chunk problem
  3. Can a mod that can't found server md5 run in the SMP?I tested that it works well in SSP/LAN.If can not,how could I find server md5?
  4. In my brain render was some special block/item.What is a render? how to make a block with render?How about client and common communications in rendering?
  5. But that will only be called at the start of the game.How about send packet once a second?
  6. I checked the Packet132TileEntity but have no idea how to send packet of tileentity from server to client?
  7. How to add Damaged items to CreativeTabs?As I make it ,different damage meaning different things.but how to add Damaged items to CreativeTabs?
  8. I can have item named but it can always be white.So how can I make some name to other color?
  9. just use Block.Obsidian.setResistance at any class is OK.
  10. I don't want to change the code of MC,but how can I change the Resistance of Obsdian?
  11. got it.Just use Forge EntityJoinWorldEvent and entity.setCurrentItemOrArmor and it's all done.
  12. I am writing this and encounterd it.How to judge it wether it is a zombie ot not?
  13. I have made a sword,how to make the zombies spawn randomly to hold the new sword with chance?
  14. Its some kind of emotion expression that means quite excited.its my personal-like.ahaha-
  15. I assume I have made a TNT cannon.It fires TNT out.but how can I decrease the TNT amout in inventory?hehe..
  16. Strongly thank you!It was very useful!
  17. When using GameRegistry.addrecipe,I can't craft other things by a damaged item in recipe.only a new item is OK to craft.How can I use damaged item to craft?hehe...
  18. How many Particles are there in the Minecraft?And which class can I found them?hehe...
  19. how can I do to create an explosion?while I use world.createExplosion I find it varies from server to client.and some blocks are strange?hehe...
  20. or you should then use Onneighbourblockchange to examine can it exist. for me,in your seed class you check the blockID you are using the seeds.if it is your soil return super,else return false.
  21. I see it.What you need to do is 2 things: 1.build a seed item extends ItemSeed.there will be ItemSeed(int,int,int),the first is itemID ,second is blockID of your crop,the 3rd is the soil blockID beneath it.in that class you should Override EnumPlantType to cave. 2.In blockyourcrop Class you should let canThisPlantGrowOnThisBlockID return your soil. It works for me and I have many different plants that grows on plank,stone,etc.
  22. Wooo I got it ,just use IfuelHandler and all will be done
  23. An item can't burn,but how can I do to make it a fuel and burn sometime?
  24. I 'd like to say that you should Override your EnumPlantType to cave in your Seeds class.After this you can grow it everywhere. @Override public EnumPlantType getPlantType(World world, int x, int y, int z) { return EnumPlantType.Cave; }
  25. Wooo I got it,there is a function called OnItemUseFirst.use it and all will be OK.
×
×
  • Create New...

Important Information

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