Everything posted by Wanghh
-
My Rail Generation has lesser Rail?
this is a perfect solution!Thank you again!
-
My Rail Generation has lesser Rail?
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
-
How to recompile a mod to SMP?It says can't found server md5
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?
-
What is Render?How to use a render?
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?
-
How to Send Packet of TileEntity from server to client?
But that will only be called at the start of the game.How about send packet once a second?
-
How to Send Packet of TileEntity from server to client?
I checked the Packet132TileEntity but have no idea how to send packet of tileentity from server to client?
-
How to add Damaged items to CreativeTabs?
How to add Damaged items to CreativeTabs?As I make it ,different damage meaning different things.but how to add Damaged items to CreativeTabs?
-
How to make the ItemName to have Color?
I can have item named but it can always be white.So how can I make some name to other color?
-
How to change the Resistance of Obsdian without changing valina code?
just use Block.Obsidian.setResistance at any class is OK.
-
How to change the Resistance of Obsdian without changing valina code?
I don't want to change the code of MC,but how can I change the Resistance of Obsdian?
-
How to add the mob's holding item?
got it.Just use Forge EntityJoinWorldEvent and entity.setCurrentItemOrArmor and it's all done.
-
How to judge an entity is or isn't a zombie?
I am writing this and encounterd it.How to judge it wether it is a zombie ot not?
-
How to add the mob's holding item?
I have made a sword,how to make the zombies spawn randomly to hold the new sword with chance?
-
How to get the amout of TNT in inventory?
Its some kind of emotion expression that means quite excited.its my personal-like.ahaha-
-
How to get the amout of TNT in inventory?
I assume I have made a TNT cannon.It fires TNT out.but how can I decrease the TNT amout in inventory?hehe..
-
How to use dameged Items to craft others?
Strongly thank you!It was very useful!
-
How to use dameged Items to craft others?
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...
-
How many Particles are there in the Minecraft?
How many Particles are there in the Minecraft?And which class can I found them?hehe...
-
How to create an explosion?
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...
-
need help with my Mod
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.
-
need help with my Mod
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.
-
How to set an Item as fuel?
Wooo I got it ,just use IfuelHandler and all will be done
-
How to set an Item as fuel?
An item can't burn,but how can I do to make it a fuel and burn sometime?
-
need help with my Mod
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; }
-
BlockRightClick goes before Item RightClick.How to change it?
Wooo I got it,there is a function called OnItemUseFirst.use it and all will be OK.
IPS spam blocked by CleanTalk.