Next Up
In this chapter you’ve seen how to add a new command to a plugin. Now you can start adding your own new ideas to existing plugins, and you can work with locations and blocks in the game. But as soon as you start dealing with a bunch of locations or a bunch of blocks, you have a problem: how does Java store lists of things like that, and how do you work with “piles” of data that you might need to find by name or in order?
In the next chapter we’ll add a command for remembering information: stuff you’ll need to keep track of. We’ll talk more about variables in Java: who can see them and who can’t, and—most importantly—how to keep and work with piles of data.
In short, we’re going to look at how to keep track of stuff.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access