Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TechoMan

Members
  • 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?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.