/* * 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); } }