Taterzens icon indicating copy to clipboard operation
Taterzens copied to clipboard

Fail to use as dependency for fabric mod

Open lightsing opened this issue 1 year ago • 3 comments

Describe the bug

  1. 1.11.7 version fails to build on jitpack
  2. version 1.11.6 on jitpack cannot be use as a dependency
  3. readme guide is wrong

Platform(s)

  • [x] Fabric
  • [ ] Forge

To Reproduce Steps to reproduce the behavior:

  1. Create a fabric kotlin mod
  2. add following to dependencies part in build.gradle
	modImplementation 'com.github.samolego.Taterzens:taterzens-common:1.11.6'
	modImplementation 'com.github.samolego.Taterzens:taterzens-fabric:1.11.6'
  1. using in TaterzensNPC from part of code
if ((player as ITaterzenEditor).npc == null) {
    // do something
}

Expected behavior

Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
    class org.samo_lego.taterzens.npc.TaterzenNPC, unresolved supertypes: net.minecraft.class_1314, net.minecraft.class_3745, net.minecraft.class_1603

lightsing avatar Nov 06 '23 15:11 lightsing

mannually build and use devlibs can resolve this, don't know how to correct jitpack

lightsing avatar Nov 08 '23 10:11 lightsing

I think it might be failing due to forge module.

FYI mod won't really be developed that much ... Currently I'm not planning any updates due to other life stuff.

samolego avatar Nov 08 '23 10:11 samolego

Bump Fabric 1.20.4 I can implement up to 1.11.6, 1.11.7 is not found anywhere in the repositories

Edouard127 avatar Feb 11 '24 17:02 Edouard127