Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VoxelmonObject voxelmonObject = new VoxelmonObject();
- VoxelmonInfo info = new VoxelmonInfo();
- VoxelmonBreeding breeding = new VoxelmonBreeding();
- VoxelmonBaseStats stats = new VoxelmonBaseStats();
- VoxelmonEvYield yield = new VoxelmonEvYield();
- VoxelmonMoves moves = new VoxelmonMoves();
- VoxelmonPokedex pokedex = new VoxelmonPokedex();
- voxelmonObject.setRegion("kanto");
- info.setMaleChance(50);
- info.setLevelRate("medium_fast");
- info.setCatchRate(190);
- info.addType("electric");
- info.addType("dragon");
- breeding.setHatchTimeMax(2826);
- breeding.setHatchTimeMin(2570);
- breeding.addGroup("fairy");
- breeding.addGroup("field");
- stats.setStats(0,0,0,0,0,2,70);
- yield.setStats(0,0,0,0,0,2);
- moves.addLearnableMove("headbutt");
- moves.addLevelMove(5, "tackle");
- moves.addLevelMove(5, "ember");
- moves.addEggMove("scratch");
- moves.addEvolutionMove("tail_whip");
- pokedex.setRegionalId(1);
- pokedex.setNationalId(1);
- pokedex.setBodyType("quadraped");
- pokedex.setHeight(0.7);
- pokedex.setWeight(6.9);
- voxelmonObject.setInfo(info);
- voxelmonObject.setBreeding(breeding);
- voxelmonObject.setStats(new VoxelmonStats(stats, yield));
- voxelmonObject.setMoves(moves);
- voxelmonObject.setPokedex(pokedex);
- Gson gson = new GsonBuilder().disableHtmlEscaping().setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES).setPrettyPrinting().create();
- System.out.println(gson.toJson(voxelmonObject));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement