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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. OMFG http://lmgtfy.com/?q=java+file+io
  2. Debug the containsSets method. Figure out why it only returns "1."
  3. blockToBreak.getZ() and blockToBreak.getZ() ? What happened to X?
  4. How does the value of #1 get into #2?
  5. if (blockToBreak.getY() < 0) { isRunning = true; } Uh? Are you sure?
  6. Is called file io. You don't need to know what's IN the files, you just need to copy them from one place to the other.
  7. The question is: why?
  8. And that is why you should use @Override, to catch mistakes like that.
  9. Well if you're switching models like this: "house=arryn": { "model": "got:banner_arryn" }, and it works, then to switch textures you need two things: 1) a default 2) a texture override defaults { "model": "got:banner_arryn" }, //... "house=arryn": { "textures": { "banner_top": "got:blocks/arryn" } }, That said, why does your model file have a display tag? Why not use the "parent" tag and point it at an existing item/block model that has the display attributes you need? (probably "parent": "banner")
  10. Are your cookTime and totalCookTime values synced to the client?
  11. In which case I'd recommend making copies of the region files, and then every 15 minutes, restore them.
  12. Not unless you make one.
  13. An error telling you to remove an @Override annotation means that your method signature is wrong. http://stackoverflow.com/questions/4341432/what-does-override-mean
  14. You're doing something wrong. Post files.
  15. Your break points are in the wrong place then and/our the method is not being called.
  16. Apparently like this: PlayerEvent.NameFormat event = new PlayerEvent.NameFormat(player, fakename); MinecraftForge.EVENT_BUS.post(event); That is not even close to the same thing.
  17. What happens if you change this int level = cheese.get(); To this? int level = 10;
  18. That would return true if the two lists contain at least one item that is also in the other list. i.e. Passing in these arrays of characters: a,b,s,d,e,f q,w,e,p,l,r Will return true (for a similar function matching characters) because they both contain an 'e'
  19. Why is your bind texture call inside the loop?
  20. You need to loop over both lists and compare each item in one against each item in the other. Duh.
  21. By binding a texture
  22. This is why we use @Override
  23. Find where the event is fired. right-click -> references -> workspace

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.