tterrag1098/Registrate

Difficulty adding additional non-object-related language keys

Closed this issue · 2 comments

I've got a couple of messages sending to the client, but I can't find any way to actually manually add this; it overrides (rather than combines with) the language file defined in the non-generated resources.

  static {
   REGISTRATE.item("ritual_knife", Item::new).properties(PROPS).addData(ProviderType.LANG, ctx -> {
     ctx.getProvider().add("key", "value");
   });
  }

This is the only vague semblance that I've managed to get; it feels... not particularly good.

Yep, I have come across the same limitation. Definitely want to make this use case easier.