2025-11-24 22:52:51 +03:00

19 lines
477 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client.input;
import net.minecraft.client.input.InputWithModifiers;
import net.minecraft.util.StringUtil;
public record CharacterEvent(int codepoint, @InputWithModifiers.Modifiers int modifiers) {
public String codepointAsString() {
return Character.toString(this.codepoint);
}
public boolean isAllowedChatCharacter() {
return StringUtil.isAllowedChatCharacter(this.codepoint);
}
}