2021-06-21 16:11:29 +02:00
|
|
|
package io.gitlab.jfronny.translater.mixin;
|
|
|
|
|
|
|
|
import net.minecraft.client.resource.language.TranslationStorage;
|
|
|
|
import org.spongepowered.asm.mixin.Mixin;
|
|
|
|
import org.spongepowered.asm.mixin.Mutable;
|
|
|
|
import org.spongepowered.asm.mixin.gen.Accessor;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
@Mixin(TranslationStorage.class)
|
|
|
|
public interface TranslationStorageAccessor {
|
2022-01-29 13:53:04 +01:00
|
|
|
@Mutable @Accessor("translations") void setTranslations(Map<String, String> translations);
|
2021-06-21 16:11:29 +02:00
|
|
|
|
2022-01-29 13:53:04 +01:00
|
|
|
@Accessor("translations") Map<String, String> getTranslations();
|
2021-06-21 16:11:29 +02:00
|
|
|
}
|