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.

CrispyChicken

Members
  • Joined

  • Last visited

  1. I have a problem with the rendering of a Effect. It rendered perfectly in 1.6.4, but in 1.7.2 the texture is rendered realy dark and when its above me its rendered almost black. Has anyone a solution to this problem? Here is the render methode:
  2. If you, yes YOU, also want an item that is repaired in the crafting table or in the survival crafting grid then feel free to use this code If anything doesnt work, please post it in comments for other users
  3. Well setDamage() and itemStack.damageItem() both interrupt my Animation (to make things more clear, its a complete block Animation, but when I hold right click, other than when using a sword, its repeatedly played). The only advantage setDamage() holds is, that it doesnt destroy the Item. So my main problem is not the action my Item performs, but rather damaging it while it is playing the block animation. Maybe its just impossible, because acctually I allways return a different and edited Item, so I suppose the Animation is played per Item.
  4. Should I post a better description of my prob?
  5. Like you could (hopefully) read in the Topic, I have an usable Item that does stuff by using the onItemRightClick Method. Everything is nice and dandy, just the blocking animation I applied to it doesnt exactly do what I want. I suppose the setDamage() Method (see in Code) I'm using is interrupting it. It would be awesome if someone of you guys could tell me how to damage my Item without interrupting the animation (it would be even better if the Item wouldnt stop blocking as long as I hold right-clock and it still does its stuff every, say 1 Second <- confusing text?)
  6. Thanks, mate, you are a great help. I'm jumping to work now. I hope I'm not that dumb to fuck it up
  7. Thanks. Code should do, just I dont know how to implement it in my base class (register in GameRegistry like Craftinghandler?). Also I suppose your code doesnt need a recipe that you modify, like the CraftingHandler does, right? Edit: Its a IRecipe, so I suppose I have to register a recipe?!
  8. I want to use the crafting bench/survival grid and a custom Item to repair it.
  9. I'm trying to make an Item that can be refilled/repaired after it gets used up, like a Cammel pack. I already got the whole getting used up part, but now I don't find any way to reapair my item in a vanilla crafting grit. It also should keep its NBT. Any help is greatly appreciated. Thanks!!

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.