mrh0 / buildersaddition

Builders Addition Minecraft Forge Mod by MRH0
MIT License
6 stars 12 forks source link

Trouble building project #35

Closed ghost closed 3 years ago

ghost commented 3 years ago

I ran into errors when building the mod code. I'm hoping you can help me understand what I'm doing wrong.

  1. Can't find QSPL classes referenced in ExtArcade and QSPLArcadeGame. The compiler can't find any classes under package com.mrh0.qspl. I see they're in project QSPL, but I couldn't find a connection to the project in the gradle config or anywhere else.

  2. BaseStool vs SeatEntity:

    buildersaddition\src\main\java\com\mrh0\buildersaddition\blocks\base\BaseStool.java:32: error: no suitable method found for createSeat(World,BlockPos,PlayerEntity)
            return SeatEntity.createSeat(worldIn, pos, player) ? ActionResultType.SUCCESS : ActionResultType.FAIL;
                             ^
    method SeatEntity.createSeat(World,BlockPos,LivingEntity,double,SoundEvent) is not applicable
      (actual and formal argument lists differ in length)
    method SeatEntity.createSeat(World,BlockPos,LivingEntity,SoundEvent) is not applicable
      (actual and formal argument lists differ in length)

Thanks.

ghost commented 3 years ago

but I couldn't find a connection to the project in the gradle config...

I see a reference to libs/cspl_4.3.2.jar in build.gradle, but I don't see the jar in the project. Is there an additional build step that's needed to create/copy that jar?

mrh0 commented 3 years ago

Sorry, I never structured this for building, I'll fix it.

mrh0 commented 3 years ago

It should be easier to build now, cspl isn't used in the mod anymore so I've removed the code that was left.

ghost commented 3 years ago

Thanks a lot. :)