Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/31/19 in all areas

  1. Mojang created a brand new system (and library) for commands: https://github.com/Mojang/brigadier I don't know if there's a Forge wrapper for this library, but regardless the entire command system has changed.
    1 point
  2. There is an error in the config file of CodeChicken Lib. Check the config file (delete it if necessary).
    1 point
  3. Get over your fear of sending packets. The server is never aware of a "left-click empty" event - that's even mentioned in the javadoc for the PlayerInteractEvent.LeftClickEmpty event. Your only option if you want to inform the server is to listen for that event on the client and send a packet.
    1 point
  4. That's quite literally what readPixels is supposed to do - it reads the pixel values from the currently bound framebuffer. For the future you can read documentation about opengl methods here. For actually reading the pixel values from a texture you need to use getTexImage. Note that it will dump the entire texture onto the buffer though. You could render the part of the texture you need onto a framebuffer and read from that using readPixels but I don't think it is going to be faster than reading the entire texture.
    1 point
  5. This thread was a good read
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.