Java Reference
In-Depth Information
Next Up
That was fun! And you're almost done. This is the last batch of Java techniques
you needed. Now that you're able to save and load data from the database,
use Java file functions, and handle Java exceptions, you're in good shape.
In the next chapter we'll switch things up a bit, and instead of writing code,
we'll look at a technique to help manage the code you write. You're going to
set up a giant “undo button” for your plugin project code.
After that, you'll be ready to wrap up with a walk-through of how to design
your very own plugin from scratch.
Your Growing Toolbox
You now know how to:
Use the command-line shell
Use class-level global variables
Build with Java, javac
Use ArrayList s
Run a Minecraft server
Use HashMap s
Deploy a plugin
Use private and public to control visibility
Connect to a local server
Modify Minecraft blocks
Use Java variables for numbers and
Modify and spawn entities
•Listen for and react to game events
Use Java functions
Manage plugin permissions
Use if , for , and while statements
Create a separate class
Use Java objects
Schedule a task to run later
Use imports for Java packages
Schedule a task to run periodically
Use new to create objects
Save and load configuration data
Add a new command to a plugin
•Work with Location objects
Build up complex code from simple func-
Find blocks/entities
Save and load plugin game data
Use local variables
Use DataAccess to use the database
•Catch and throw Java exceptions
Search WWH ::

Custom Search