American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Minecraft Modding With Java – Gamas

November 19, 2022 @ 5:00 pm - 6:00 pm

Today We Did
  1. We started adding saturn_ore so eventually in the survival mode, we can actually craft the many custom Saturn items by mining Saturn ore.
  2. If you did not come to the class, you can get the saturn_ore.png from here
Homework
  1. there is no class on Nov 26 because of thanksgiving week. Our class resume on Nov 3.
  2. For your homework, please do the following
    1. Inside ModItems.java, add the following codes
      1. public static final RegistryObject<Item> SATURN_ORE = ITEMS.register("saturn_ore"
                , ()-> new BlockItem(ModBlocks.SATURN_ORE.get()
                        , new Item.Properties().tab(AYCEssentialsMod.AYC_ITEM_GROUP_TAB)));
    2. Inside src/main/resources/assets/aycessentials/model/item/saturn_ore.json
      1. {
          "parent": "aycessentials:block/saturn_ore"
        }
    3. Start your minecraft and go to inventory, now you should see your saturn_ore cube like below

Details

Date:
November 19, 2022
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights