18 lines
464 B
Java
18 lines
464 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.network.chat.contents;
|
|
|
|
import java.util.function.Function;
|
|
import java.util.function.Supplier;
|
|
import net.minecraft.network.chat.Component;
|
|
|
|
public class KeybindResolver {
|
|
static Function<String, Supplier<Component>> keyResolver = name -> () -> Component.literal(name);
|
|
|
|
public static void setKeyResolver(Function<String, Supplier<Component>> resolver) {
|
|
keyResolver = resolver;
|
|
}
|
|
}
|
|
|