Jump to content

Recommended Posts

Posted

I am aware NaN stands for Not a Number, but seriously? The counter has one job. When it can't count, we have a problem.

epevm0.jpg

Observe the amount of people bought the game.

Oooooookayyyy......

  • Moderators
Posted

It showed me 13+ million before quickly changing to NaN. Not really a huge deal.

I'd much rather like to see blogs of progress on that much spoken mod API...

Posted

You assume its a counter issue. Where in reality, some poor sod is watching his computer melt as it tries to process the serial key #notchesbeardglory, and the horror as NaN proceeds to collapse local reality.

Posted

I'd much rather like to see blogs of progress on that much spoken mod API...

Well, we already have part of the API already...

Mojang have been moving to create a plugin API for minecraft, just in small steps. Here are some questions mojang may have asked, and answers to them.

  • What if people just want to change a sound or texture, or set custom text. Should they have to code an entire plugin just to replace a sound? These files are replaced as a whole. So why not make it easy to replace these "resource" files in minecraft?
    Answer: The minecraft textures have been split up into individual files, allowing somebody to easily replace just one section and another person to replace another section.
    Answer: The idea behind texture packs has been expanded to include things like sounds and strings. However people have shown that they want more than one of these installed, so allow layering of resource packs (so you have a list of resource packs, like you have a list of mods)
  • But what if the modifications that people want to do are fairly large. They want to load different classes and they want to insert function calls into the code. They also might want to have their own custom libraries... heck, we want to be able to use some different libraries
    Answer: New launcher that uses the "fancy class loading" (called ASM) that forge uses to load itself (and powers coremods, allowing several modifications to the same function of the same class to not interfere with each other). It allows custom libraries to be specified and even allows the launcher to launch a custom class first, before it launches minecraft.
  • Modifications still have to register blocks and items. How do we make it easy for plugins (when we actually specify what a plugin looks like) to not step on each other's toes.
    Answer: Hide the block id at a lower level, so plugins don't need to see it. It will only be seen when dealing with world saves, where it would be wasteful to store it as a string on the disk.
  • The code is still ugly though. I can't make an API on top of this!
    Answer: Rewrite the code to make it easier for an API to be introduced.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...