@Override
    public void initialize(URL arg0, ResourceBundle arg1) {
        versionText.setText("Summon Command Creator " + SummonCommandCreator.VERSION + " by FirstWorldAnarchy.");
        container.setCursor(Cursor.DISAPPEAR);

        entitySelect.getItems().addAll(Arrays.asList(entityOptions));
        entitySelect.getSelectionModel().select(0);
        for (int i = 1; i <= 23; i++) {
            potionId.getItems().add(i);
        }
        potionId.getSelectionModel().select(0);
        for (int i = 0; i <= 22; i++) {
            potionReference.getItems().add((i + 1) + ": " + potionIds[i]);
        }
        sandTime.selectedProperty().addListener(new ChangeListener<Boolean>() {
            @Override
            public void changed(ObservableValue<? extends Boolean> observable,
                    Boolean oldValue, Boolean newValue) {
                sandTime.setText(sandTime.isSelected() ? "1" : "0");
            }
        });
        sandItem.selectedProperty().addListener(new ChangeListener<Boolean>() {
            @Override
            public void changed(ObservableValue<? extends Boolean> observable,
                    Boolean oldValue, Boolean newValue) {
                sandItem.setText(sandItem.isSelected() ? "Yes" : "No");
            }
        });
        villagerColorSelect.setItems(FXCollections.observableArrayList(0, 1, 2,
                3, 4, 5));
        villagerColorSelect.getSelectionModel().select(0);

        creeperImage.setOnMouseClicked(new EventHandler<MouseEvent>() {
            @Override
            public void handle(MouseEvent e) {
                FlipTransition ht = new FlipTransition(creeperImage);
                ht.play();
            }
        });
        zombieImage.setOnMouseClicked(new EventHandler<MouseEvent>() {
            @Override
            public void handle(MouseEvent e) {
                FlipTransition ht = new FlipTransition(zombieImage);
                ht.play();
            }
        });
        commandBlockImage.setOnMouseClicked(new EventHandler<MouseEvent>() {
            @Override
            public void handle(MouseEvent e) {
                RollOutTransition rollTrans = new RollOutTransition(commandBlockImage);
                rollTrans.play();
                if (createCommand() != null) {
                    Timeline timeline = new Timeline();
                    String type = "";
                    for (int i = 0; i < createCommand().length(); i++) {
                        type += createCommand().substring(i, i + 1);
                        timeline.getKeyFrames().add(new KeyFrame(Duration.millis(i * 25), new KeyValue(commandTextArea.textProperty(), type)));
                    }
                    timeline.play();
                } else {
                    showCommand();
                }
                rollTrans.setOnFinished(new EventHandler<ActionEvent>() {
                    @Override
                    public void handle(ActionEvent e) {
                        RollInTransition rollinTrans = new RollInTransition(commandBlockImage);
                        rollinTrans.play();
                    }
                });
                // showCommand();
            }
        });
    }