Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/06/21 in all areas

  1. It is only returning the attributes. To set your own attributes change the "MobEntity.setCustomAttributes().create()" to YourEntityClass.func_234188_eI_().create(). I would recommend to rename "func_234188_eI_" to "setCustomAttributes" or something similar though
    1 point
  2. Also you should propably rename the "MobEntity" file to something like gsCowEntity to differ from the MobEntity class by Minecraft.
    1 point
  3. I think this is caused by the fact that you did not create the cows attributes. In your main class cunstructor do: // Register the setup method for modloading bus.addListener(this::setup); and add the method: private void setup (final FMLCommonSetupEvent event) { event.enqueueWork(() -> { GlobalEntityTypeAttributes.put(ModEntityTypes.GS_COW.get(), MobEntity.setCustomAttributes().create() } }
    1 point
  4. I believe the ModId in mods.toml and in your main mod class arent matching. Are you sure that your @Mod(...) tag in your main mod class contains the correct ModId?
    1 point
  5. minecraft 'net.minecraftforge:forge:...' under dependencies in build.gradle and if you are using intellij, there should be a gradle panel. Select it and there should be a refresh button, or when you made changes to the build.gradle file a small window will pop up and asks you if you want to reimport the gradle project.
    1 point
  6. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    0 points
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.