Jump to content

TechoMan

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by TechoMan

  1. did make it in my "own way": public static DamageSource getDamageSourceForEntity(EntityLivingBase ent) { if (ent instanceof EntityPlayer) return DamageSource.causePlayerDamage((EntityPlayer)ent); else return DamageSource.causeMobDamage(ent); }
  2. Now , i want to make sword that have damage , and that damage is NBT sensetive ( like TC swords ) , soo i want to make custom damage.Beacos item dont have sort of "getDamageVSEntity" (or actyally have , but its deprecated) , so i'm using hitEntity .Now , how do i actually attack entity here?
  3. Wow wow wow , too many action! You dont need NEI api or stuff like that , there is 100% WORKING AND GREAT SOLUTION - override haveSubTypes , and just dont do anything in it... What haveSubTypes do - adding all you items into creative tab list , and what nei is doing - its showing ALL ITEMS THAT ARE IN CREATIVE , and no more than that.Soo if you dont add item into creative - you dont add it into NEI. And if you want item in creative - there is other solution...but how i can see , you just dont need any "other like NEI mod style" mod support , soo go and just...just....dont read what i writed
  4. oh , and one more question about Rendering , but now not MC , but OpenGL. For some reason , GL_CULL_FACES not rendering item...i know how to use it in OpenGL with C++/Delphi , but how to use GL_CULL_FACES in MC? So , how it does "kulling" of faces? *Just asking , beacos i dont want to disable it*
  5. Oh , then its good what i made it working ( IItemRender ) .Ty for helping
  6. watched that >- https://github.com/TheGreyGhost/ItemRendering/blob/master/src/TestItemRendering/blocks/ItemBlockNumberedFaces1Renderer.java <- code , and did see, what he using metadata as side....soo in BlockIcon , metadata that you get = side to render?
  7. How do i get what side it is? getIconIndex is calling only one time , or no?
  8. I'm having Block , that have diffrent texture , depended on TileEntity info. So what i need to do - same thing , but in players inventory , hand , and chest. What i want to try - use IItemRenderer , but maybe there is other way? and even if i use it , how do i render blocks with it?
×
×
  • Create New...

Important Information

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