- This event has passed.
2 PM – Minecraft Modding with Java
February 6, 2021 @ 2:00 pm - 3:00 pm
- We went over how to add custom sword to Minecraft “Saturn Sword”.
- We went over about inheritance in Java.
- There is no class next week because of President Day weekend and Chinese New Year weekend.
- Homework:
- Similar to “Saturn Sword”, create “Jupiter Sword”. Look at the following files for examples:
- src/main/java/com/ayclogic/aycessential/init/ModItems.java
- src/main/resources/assets/aycessential/lang/en_us.json
- src/main/resources/assets/aycessential/models/item/saturn_sword.json
- Copy saturn_sword.png and do some minor modification in it so it will look a little bit different than saturn_sword.png. And save as jupiter_sword.png.
- Put the new jupiter_sword.png image into sec/main/resources/assets/aycessential/textures/items/
- Similar to “Saturn Sword”, create “Jupiter Sword”. Look at the following files for examples: