Jump to content

crazygod2016

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by crazygod2016

  1. Soz, I'm retarded. i find im do something wrong in Override addInformation methods, that dynamic icon is running well now, thx for helps, guys.
  2. .java code public void onPlayerStoppedUsing(ItemStack itemStack, World world, EntityPlayer entityPlayer, int par4) { world.playSoundAtEntity(entityPlayer, Girigiri.MODID+":giri_giri", 1.0f, 1.0f); } sounds.json { "giri_giri" : { "category": "record", "sounds": [{ "name":"giri_giri", "stream":"true" ] }} } file so why? :'(
  3. thank you for replying me! but,eh,i am not quite understand actually.what should i do?
  4. It's interesting that the item icons are dynamic in ArsMagic2 mod. When i saw his files, i found his item icon is like this one And then, it is followed by a mcmeta file which is the same name as the icon picture also there are frames for the picture. { "animation": { "frametime": 2 } } After that, i tested his png and mcmeta files in my mod,the icons become dynamic indeed. But there is a bug that will cause game crashes when you put your mouse cursor on the item. so,in addition to png and mcmeta,are there some other things need to be done in the codes? What should i do? By the way, is ArsMagic2 an public source?
  5. I think so, just a little dizzy study Also, that doge is so cool
  6. How to add an item description/explanation? Like, adding "that's dangerous" or "become fucking awesome after having it" under the name of items How to do that? With NBT or something?
  7. i found a renderer code Tessellator t= Tessellator.instance; WorldRenderer wr=t.getWorldRenderer(); ..... wr.begin(7,DefaultVertexFormats.POSITION_TEX); wr.pos(-1.1,0,-1.1).tex(0.0,0.0).endVertex(); wr.pos(1.1,0,-1.1).tex(0.0,1.0).endVertex(); wr.pos(1.1,0,1.1).tex(1.0,1.0).endVertex(); wr.pos(-1.1,0,-1.1).tex(1.0,0.0).endVertex(); however,that's the code for ver1.8.0. What code should i take to replace it in ver1.7.10?
  8. Hello guys,how to add a mana setting to the player character? Like this Each casting spell will consume a certain amount of mana,and mana will slowly recover over time. I have done the part of casting spells within onitemrightclick(),but where should i edit the mana setting?Should i put it in Entityplayer? What should i do next?Is there any function to do that with Entityplayer? --- I'm sorry I forgot 1.7.10 - 10.13.4.1558 Recommended
×
×
  • Create New...

Important Information

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