DragonSurvivalTeam / DragonSurvival

Other
51 stars 39 forks source link

1.20.1 major updates #507

Closed Psither closed 5 months ago

Psither commented 5 months ago

Updated the dragon editor file format to version 3. Users can now select part color directly instead of selecting by hue offset. Added automatic upgrading to existing customization files to avoid breaking existing configurations. All mixins were re-written to improve compatibility with most mods. Many, many bugfixes and refactors to make maintaining the code easier.

BlackAures1 commented 5 months ago

image

Psither commented 5 months ago

All the issues should be fixed now.

SomeoneYouKonw commented 5 months ago

@seelderr, this, acctuly, will not fix #504. Just merged with fork of main repo, recompiled & checked - same error. Would love to help, but I cant propose anything, except removing offending injection completely, witch is obviously unacceptable.

UPD. Removeing a part of code from REPO-ROOT/src/main/java/by/dragonsurvivalteam/dragonsurvival/mixins/MixinLivingEntity.java fixes the issue without braking the mod too much.

The part to remove is the following:

    @ModifyArg(method = "hurt", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/entity/LivingEntity;knockback(DDD)V"), index = 0)
    public double disableKnockbackForMagic(double strength, @Local(argsOnly = true) final DamageSource damageSource) {
        if (damageSource.is(DataDamageTypeTagsProvider.NO_KNOCKBACK)) {
            return 0;
        }

        return strength;
    }
SomeoneYouKonw commented 5 months ago

I have discovered possible dedecatedserver tick crash relateing to ore drops. Will post more info as soon as I have any.

SomeoneYouKonw commented 5 months ago

I have discovered possible dedecatedserver tick crash relateing to ore drops. Will post more info as soon as I have any.

UPD. Tests complete, and new info is just in:

Please, note: all tests has been run in a modpack, so mod conflict can not be eliminated.

SiverDX commented 5 months ago

seems like packages cannot be properly handled

https://github.com/Psither/DragonSurvival/blob/75c24f520e7d1f4ff322f9620ac1e30b21435630/src/main/java/by/dragonsurvivalteam/dragonsurvival/data/loot/DragonOreLootModifier.java#L64

don't remember clearly but I think that Bound must be positive also appears when you try nextInt with 0 (aka no fortune)