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. Where did I get that URL? Here: http://files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.8.8.html It appears to be fixed now.
  2. The reason your code doesn't do anything, HappyKiller, is because you push the matrix, create an offset, then pop the matrix all before the event notification has finished executing, so when the actual render call is made, there are no changes.
  3. TickEvent.ClientTickEvent I push all of my ITickableSounds into a ConcurrentHashMap, which is threadsafe, then when the tick event happens, I iterate over it and start the sounds, and remove them from the map. (I should probably be using a concurrent array of some sort, but I'm not sure which variety is appropriate).
  4. http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and I found that by googling "Forge events." Decent tutorial on how to use events.
  5. Ok, I corrected it to "planks oak" but that's not the thing that cause the crash, it should load without loading that texture, the problem is in TextureAtlas class Unfortunately, whatever the problem is, the error handling is not there to tell us what's wrong. You're going to have to do some stack trace digging and examining what it is crashes, why, where that value came from, and work backwards. Took me weeks to figure a couple of errors out myself that way, having to do with the various data arrays for the mipmaps.
  6. I'll also point out that that one parameter you're passing is the variable you're using to hold the tool item, which at that point, it is null.
  7. I just went to try and download a version of Forge for 1.8 or 1.8.8 (don't care which, as I'll be using it in dev to poke at something that was added in a 1.8 snapshot) and every single file from the change log, to the installer, to the MDK for every single version of Forge was 404. Like this one: http://files.minecraftforge.net/maven/net/minecraftforge/forge/11.15.0.1655/forge-1.8.8-11.15.0.1655-mdk.zip Did something break somewhere?
  8. Could you please explain what you mean by that? Minecraft.getMinecraft().thePlayer is the client side local player. If the bot tries to access this it will simply access itself. If the code is running on a server, it will simply crash. That's it, server's 404. Game over man, game over.
  9. The hell are you trying to do?
  10. More accurately: Minecraft.getMinecraft().thePlayer is the bot, not the other person.
  11. That's where the jar file lives, you can extract assets (textures) from it. I don't think the .java files exist anywhere, I think its just the compiled .class files and attached javadoc.
  12. C:\Users\[username]\.gradle\caches\minecraft\net\minecraft\minecraft\1.7.10
  13. Hesus Frakking Christiana. I want the block class, that's the model json. This, I want this: BlockTest
  14. Yep. You could also pass CardboardBoxSpaceShip as long as it also implements IVehicle.
  15. You'd have to post your block code.
  16. Interfaces exist to allow multiple objects with different inheritance hierarchies to be treated as "the same" due to the contract granted by the interface.
  17. Ok, so I poked around. You are using it correctly, however, the texture name is not "plank_oak" its "planks_oak"
  18. That's his main class, not his block class.
  19. That suggests that "plank_oak" is not the correct texture string. The standard texture alas would throw one of those "texture not found: minecraft:plank_oak" messages, but in creating a custom loader, that error handling got lost. I'll take a look at the strings I pass. It might need to be "minecraft:plank_oak"
  20. I think I'm the only one who has used the custom sprite loader, so I'm the only one that knows how it works, and even that knowledge is questionable. It is so much easier to just render the block twice and accept the crappy break particles.
  21. AFAICT something in the texture atlas load method is borked. This is an incredibly difficult error to solve, as the point at which the program discovers that there's a problem is long after our code has run, or deep in the call stack. I don't see the problem off hand. I'll have to get you my block later, I'm not home.
  22. http://www.minecraftforge.net/forum/index.php?action=profile;u=5 And don't bug him unless you have to. He does not maintain the content of the wiki pages, so there's no point in complaining directly to him, he will tell you "it is a wiki, if the information is wrong or missing, fix it." The page says to "view the page source to see a1.8 proxy" just above the section you quoted. I don't know why the "Proxy Classes" section is commented out, but you can view it if you click on one of the edit buttons.
  23. Pretty sure that the 4 armor slots do not have inventory slot numbers. Or at least, in this context they don't appear to. I see 37: 1-9 (hotbar), 10-36 (inventory), 37 (your backpack).
  24. Why not create a getMaxWeight() method to ItemBackpack, get the item, cast it, then ask the backpack what it's max weight is.

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.