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.

TheCreepySheep

Members
  • Joined

  • Last visited

  1. Alright, I'll take a note on that
  2. Thanks elix for forcing me to think harder Also, the adjust method is not functional, at least for me.
  3. I have it fixed now. I'm using GL11.glRotatef((meta - 1) * (-90), 0F, 1F, 0F); to rotate the model (I found out that last three params are for indicating on which axis I want to rotate)
  4. Yes, this class is copy-pasted. I have no previous experience with GL. Actually I have very little experience with Java in general. I know // is not for fun. I did not understand if "render section" was the whole method or some part of it. And the adjustRotatePivotViaMeta method seems to be not working at all. Even when I set the "meta" manually.
  5. Get your modid from a Reference class.
  6. You could make the config require baked_potato and the add minecraft: prefix. Then combine diesieben's and Anon's suggestions.
  7. I'm confused... Is this not working at all or I'm doing it wrong? Additional info: I use te.getWorldObj() to get world for adjust method Meta always returns 0 even if onBlockActivated in block class return the correct meta.
  8. I have two questions: 1) Do you have to use Localized name? 2) Is it always going to be baked potato? If not, use Items class to determine most of items. I would use this code. public CPDropItem(LivingDropsEvent event) { //I'm not using itemname //String itemname = "Baked Patato"; Item drop = (Item) Item.itemRegistry.getObject("baked_potato") event.entity.dropItem(drop, 1); }
  9. If the lack of replies if related to me not posting my code, here. TESR: Block:
  10. Hello, I have a tile entity with custom model done in Techne. I have everything else working quite good, but I want to be able to place it in different directions. I have my TESR copy-modifyed from http://www.minecraftforge.net/wiki/Rendering_a_Techne_Model_as_a_Block. But there's that private adjustRotatePivotViaMeta method which, as I understand, rotates it according to metadata. My question is, where do I call said method with adequate args?
  11. Crap. Well that means I have wasted 2 weeks. Fuck.
  12. I found https://github.com/coolAlias/Forge_Tutorials/blob/master/IExtendedEntityPropertiesTutorial.java tutorial, but it says that the server needs to have the mod installed too. Is there a way that does not require the server to have my mod? Cause I meant my mod as a tool or an utility mod.
  13. Mkay, I have absolutely no clue on how to do that. I'll have a look around and will be back if I don't find anything.
  14. Alright, is there a way somehow send the config to server or make the mod only and strictly dependant on local config?
  15. a)In local config b)@SubscribeEvent and MinecraftForge.EVENT_BUS.register(new ItemPickupHandler()); in preInit Stage

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.