Giter Site home page Giter Site logo

Comments (32)

SHsuperCM avatar SHsuperCM commented on August 21, 2024

Can you send the resourcepack and your logs?

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

sorry, where would the logs be? here's the pack:
MajPack.zip

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

Have the resourcepack enabled and upload the contents of .minecraft/logs/latest.log to something like pastebin

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

here: https://pastebin.com/ngak9H26

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

I think you sent me the wrong resourcepack, it doesnt have minecraft:optifine/cit/zeldastuff/charge.properties.
Also, the problem is that the client doesn't have the enchantments registered when the resourcepack is loaded, it'll take a little longer to fix(probably after I close #19)

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

ah, might have sent an older version, here:
MajPack.zip
and no rush, thanks for being willing to help :)

from citresewn.

SirSebi avatar SirSebi commented on August 21, 2024

That's the problem I also opend an issue. That's cause ecoenchants change the way of naming the items

#25

from citresewn.

SirSebi avatar SirSebi commented on August 21, 2024

Also I tried to change the prefix to * CUSTOM NAME * but that's no fix so the only fix is removing ecoenchants. But that's not capable for me cause it's a payed plugin :D

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

@SirSebi
Thanks! Good to know the cause for #25, but also there is a different issue, I'll add compatibility for the custom enchantments supplied by the server but it means the client will do it blindly because it cant know what plugins are in the server.
I'll probably turn the enchantment load error into a warning and make the item check not go through the client's enchantments registry.

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

The issue here is this btw:

[22:02:31] [Worker-Main-10/ERROR]: Skipped CIT: Unknown enchantment minecraft:charge in MajPack -> minecraft:optifine/cit/zeldastuff/charge.properties

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

Actually, although that was one of the issues I had, I believe the main issue was something else. Any item that has a enchant from the plugin seems to not work at all, even if the texture is based off of the item's name, enchants supplied by the plugin revert items to their original texture. I apologize if this is under the same fix.

from citresewn.

SirSebi avatar SirSebi commented on August 21, 2024

Yeah look at the issue I linked. It's because ecoenchants changes the data of the item from Name:'{"text":"CUSTOM MAME}' to Name:'{"extra":[{"text":"CUSTOM NAME"}],"text":""}'

because of that, the mod can't apply the cit

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

No its not @SirSebi

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

@RevengeLordOfMaj When checking the items it will use the client's registry to see if any enchantments match, I'll need to make it check the item's nbt for enchantments blindly without the client's registry

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

Map<Enchantment, Integer> stackEnchantments = EnchantmentHelper.get(stack);

In line 270 it uses something from vanilla EnchantmentHelper which works great if both the server and the client have the same registry, the mod just needs to avoid that because sometimes the server might have something else.

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

The issue here is this btw:

[22:02:31] [Worker-Main-10/ERROR]: Skipped CIT: Unknown enchantment minecraft:charge in MajPack -> minecraft:optifine/cit/zel

Apologies for this btw, while it is also a problem from similar origins, it is just a bit different from the one I just mentioned.
They'd be fixed together.

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

Aight, ty :))

from citresewn.

SirSebi avatar SirSebi commented on August 21, 2024

So in my case its also not the problem that ecoenchants changes the way of naming items?

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

No, I still believe that's a separate issue. I am not 100% sure that this plugin is the cause but something in your server caused the item you did the /data on to have the extra json parts.
Here though it is very clearly about the custom enchantments themselves because the issue only happens with the enchants being present in the item.

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

Fixed in v0.6.0

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

uhh about that...
2021-09-18_11 01 53

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

I tested the charge enchantment cit from your pack and it worked on my end, Imma need to see some files if something isnt working.

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

looked at the charge one and it seemed to be working. Here's new log: https://pastebin.com/exh9d0bs

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

oh and here's the nbt for the helmet just in case: https://pastebin.com/ukRuRqks
Might be too much data for it to handle?

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

Can I see the properties for the cit that isnt loading?

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

type=item
items=minecraft:netherite_helmet
nbt.display.Name=ipattern:*Crystalite*

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

Ah.. Yes, that's a different issue(probably also caused by EcoEnchants) that I'm afraid I cant help with right now with where the mod is at(without #31 being finished).
Have a read through #25 to see why and how you can make that cit work.

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

Alr, ty :)

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

oh and mb on the .properties one, the wildcards turned the name to italics

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

No problem, I saw that. Still without the { in the pattern, it will try to add the vanilla anvil json wrapper to the pattern. so you'd have to use {*Crystalite*} for it to apply for now.

from citresewn.

RevengeLordOfMaj avatar RevengeLordOfMaj commented on August 21, 2024

aight, thanks again :)

from citresewn.

SHsuperCM avatar SHsuperCM commented on August 21, 2024

Fixed the json name issue in v0.7.0

from citresewn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.