« All Events
5 PM – Minecraft Modding With Java – Gamas
October 22, 2022 @ 5:00 pm - 6:00 pm
Today We Did
- We learned more about JSON file.
- We started doing Saturn Lightning Arrow.
Homework
- Do one more JSON file creation exercise.
- Open your SchoolApplication project in IntelliJ. This is project from “Intro To Java” class. In it, you can find SchoolSystem.java. Create school_system.json and inside this json, it should have 2 attributes: studentList and teacherList, which is what SchoolSystem.java has. Regarding which students and teachers data you should have, use the following:
- studentList:
- Aidan Chau, 14
- Austen Yao, 13
- Brandon Truong, 15.
- teacherList
- Gamas Chang, 100, Java
- John Cheng, 40, Python
- Create a new entry in ModItems.java for SATURN_LIGHTNING_ARROW. The class you should use is SaturnLightningArrowItem.
- You need to add/modify a couple of JSONs:
- Modify en_us.json
- Create saturn_lightning_arrow.json under src/main/resources/assets/aycessentials/models/item