
Wanghh
Members-
Posts
45 -
Joined
-
Last visited
Everything posted by Wanghh
-
this is a perfect solution!Thank you again!
-
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
-
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?
Wanghh replied to Wanghh's topic in General Discussion
But that will only be called at the start of the game.How about send packet once a second? -
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?As I make it ,different damage meaning different things.but how to add Damaged items to CreativeTabs?
-
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?
Wanghh replied to Wanghh's topic in General Discussion
just use Block.Obsidian.setResistance at any class is OK. -
got it.Just use Forge EntityJoinWorldEvent and entity.setCurrentItemOrArmor and it's all done.
-
I am writing this and encounterd it.How to judge it wether it is a zombie ot not?
-
I have made a sword,how to make the zombies spawn randomly to hold the new sword with chance?
-
Its some kind of emotion expression that means quite excited.its my personal-like.ahaha-
-
I assume I have made a TNT cannon.It fires TNT out.but how can I decrease the TNT amout in inventory?hehe..
-
Strongly thank you!It was very useful!
-
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?And which class can I found them?hehe...
-
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...
-
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.
-
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.
-
Wooo I got it ,just use IfuelHandler and all will be done
-
An item can't burn,but how can I do to make it a fuel and burn sometime?
-
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?
Wanghh replied to Wanghh's topic in General Discussion
Wooo I got it,there is a function called OnItemUseFirst.use it and all will be OK.