American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

5 PM – Minecraft Modding with Java – Gamas

January 14, 2023 @ 5:00 pm - 6:00 pm

Today We Did
  1. We created saturn_bear texture and SaturnBearModel.java via blockbench.
  2. We started creating SaturnBear entity in IntelliJ but not done
Homework
  1. Continue with the project to add SaturnBear:
    1. Copy SaturnHogRenderer.java and create SaturnBearRenderer.java
      1. change from saturn_hog.png to saturn_bear.png
      2. change from SaturnHogModel to SaturnBearModel.
      3. Do not change SaturnHogEntity.
    2. Inside ModEntities.java add SATURN_BEAR.
      1. Look at how we did SATURN_HOG
      2. keep SaturnHogEntity
      3. change from saturn_hog to saturn_bear
    3. Inside ClientEventBusSubscriber.java do the following
      1. RenderingRegistry.registerEntityRenderingHandler(
                ModEntities.SATURN_BEAR.get(), SaturnBearRenderer::new
        );
    4. Inside AYCEssentialsMod.java, inside setup method add one line
      1. GlobalEntityTypeAttributes.put(ModEntities.SATURN_BEAR.get(),
                SaturnHogEntity.createAttribute().build());
        
        

Details

Date:
January 14, 2023
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights