19 lines
528 B
Java
19 lines
528 B
Java
![]() |
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 {
|
||
|
@Mutable
|
||
|
@Accessor("translations")
|
||
|
void setTranslations(Map<String, String> translations);
|
||
|
|
||
|
@Accessor("translations")
|
||
|
Map<String, String> getTranslations();
|
||
|
}
|