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.

starwarsmace

Members
  • Joined

  • Last visited

Everything posted by starwarsmace

  1. Is there any where for a png? Any types of image files will work. (I know this doesnt matter but Im masking a bump
  2. I swear... If one more person asks this question...
  3. What does not working mean? Is there a crash? Or does it just not do anything. If this is the case, put in debug comments and narrow down the problem. One thing I can see wrong for certain is that you check it on both sides, the client and the server. Use if(!world.isRemote) to see
  4. It can't find the TFC block apparently.
  5. I meant that the I have to make the item picture as part of the background and have the text info around it.
  6. So Im making a gui for showing information about a item and I want to have a picture of that item. Is it possible to have an image and I don't have to make it its background?
  7. You never did a nullpointer check seeing whether there was not any buttons being pressed.
  8. 1. If you coded everything problem, there really isnt anything to do to make it compatible to servers. 2. The client side does all the presentation stuff. Rendering, music, guis, and particles are all stuff that come on the client side. Basically whatever is presented is done on the client side and the server side is all the calculating, registering, spawning, etc. 3. It does matter where the code goes. The rendering has to be in the ClientProxy because all renders happen on the client side.
  9. Oh youre right. Stupid me. The javadocs do say there is only on thing so youre right.
  10. Always diesieben with the let me google that for you.
  11. *facepalm* He meant to call whatever the itemstack was. For example, if the itemstack was named cheese, it would be, cheese.getItem();
  12. Thats a really good idea. It works. Thanks!
  13. There is one in 1.7. If you dont see it that is probably because you didnt do this.setAlwaysRenderNameTag(true);
  14. Yes he does itemstack = craftMatrix.getStackInSlot(0).copy(); or itemstack = NBTHelper.createStructuredTagAndReturn(craftMatrix.getStackInSlot(0).copy());
  15. I am using this in an IItemRenderer and I dont seem to have a world instance. In IItemRenderer it does say that Object[] data parameter in the ENTITY type is the EntityItem in the world. But I cant get an entityitem from an object array...
  16. Is there anyway to check whether an item is on the ground? Could I convert the item into and EntityItem and see if the velocity is 0?
  17. Yeah, every other event in that class works fine. I have tried elevating that one to a higher priority and even making it static but nothing is fixing it. I have no idea what's going on here. Is it wrong that I registered it like: MinecraftForge.EVENT_BUS.register(new EventManager());? Always... always.... register in the right event bus.
  18. Basic Java You said: if(world.isRemote = true) You need to have two equal signs to compare two objects. So it should be: if(world.isRemote == true)
  19. Ha Ha! You guys have to type gradlew.bat build While I have to only type in gradle build. Thats exactly 5 characters shorter. Installing gradle and not using the wrapper saves so much time in the long run.
  20. Asking diesieben for example code, is as bad as sticking your hand in a lions cage. A tutorial for getting a variable from another class. http://www.homeandlearn.co.uk/java/accessing_class_variables.html
  21. Oops. You posted before me.
  22. No. Instead of saying, "That is not correct."; he said what he said. Not a big deal. And not anything to be insulted about. Ive been told things like that a few times by him. . I didnt really get insulted at all. Also to the topic, things change from version to version. So even if you had two managers in 1.5.2, you might only have one in 1.7.10. Though Im pretty sure, its only one manager back in 1.5.
  23. Im using 1.7. So what holds all the UUIDs of the players online?
  24. Follow up question. Is there a way of doing getPlayerByUUID or something? If there isnt, is there a place where I can get all the online player UUIDs so I can loop through them?

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.