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.

Hackbaellchen

Members
  • Joined

  • Last visited

Everything posted by Hackbaellchen

  1. I use EntityRegistry.findGlobalUniqueEntityId() at EntityRegistry.registerGlobalEntityID too. Is this wrong?
  2. Yes, but the problem is that my next projectile is rendered as this one before.. EntityRegistry.registerModEntity(EntityMyItem.class, "MyItem", EntityRegistry.findGlobalUniqueEntityId(), this, 64, 10, true); EntityRegistry.registerModEntity(EntityMySecondItem.class, "MySecondItem", EntityRegistry.findGlobalUniqueEntityId(), this, 64, 10, true); RenderingRegistry.registerEntityRenderingHandler(EntityMyItem.class, new RenderSnowball(Items.egg)); RenderingRegistry.registerEntityRenderingHandler(EntityMySecondItem.class, new RenderSnowball(Items.fire_charge));
  3. Could you give me an example?
  4. If I want to add one more projectile it is always rendered as the previously..
  5. Good work there! Thank you! Another question: Do you know how to create the render without having an item (just the texture) ?
  6. Hey, I want to render my projectile as a simple item icon. What's the best way to do this?
  7. Yes, but I can't access the item from other classes because it can't be public
  8. Hey, I want to make a flag in the config like this: flag1 = configFile.get("Misc", "if false: deactivats the item", true).getBoolean(flag1); and then add the item like this: public void addItems() { if(flag1) { final Item MyItem = new MyItem().setUnlocalizedName("MyItem").setTextureName(""); GameRegistry.registerItem(MyItem, "MyItem"); } } But it can't be public and I can't reach it from other classes... Thanks for help!
  9. Thank you guys!
  10. Hey, I want to rotate my block, when I look into the direction like a furnace or a pumpkin. I had a look into it, but found out nothing. Thanks for help!
  11. No.. I don't know other mods
  12. I'll give you the link via pm. Please don't publish it
  13. Noo.. It's exactly the same like before.
  14. There's my Portal class. In there is another class called 'Size'. 1 func_* was in my Portal class and was in 1.6.4 named 'tryToCreatePortal' (It named it to this). In the Size class (in my Portal class) are 5 more func_* methods, which I renamed to 'something1,2,3,4 or 5'.
  15. I renamed all func_* methods to 'something<number>'. Doesn't work. Sorry for my madness but I think it has NOT to do with my methods
  16. But when I give it some names like 'crap' they don't override the vanilla methods!
  17. Ok! Now? It isn't overridden
  18. Sorry . But could you say to me which these 6 func_* methods do? Thanks.
  19. With which names? These in the "Side" class too?
  20. Oh! Yes.. And what should I do now?

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.