ChatDecorator .java

net.minecraft.network.chat.ChatDecorator (interface, 12 lines): members: PLAIN, decorate. ann: @FunctionalInterface. imports: ServerPlayer.

net.minecraft.network.chatinterface12 linescommon303 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Fields & Constants (1)

PLAIN

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

ChatDecorator.java12 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.network.chat;
2
3
import net.minecraft.server.level.ServerPlayer;
4
import org.jspecify.annotations.Nullable;
5
6
@FunctionalInterface
7
public interface ChatDecorator {
8
	ChatDecorator PLAIN = (player, plain) -> plain;
9
10
	Component decorate(@Nullable ServerPlayer player, Component plain);
11
}
12

Decompiled Minecraft 26.3 source of ChatDecorator (net/minecraft/network/chat/ChatDecorator.java) with Mojang official mappings, stored verbatim on the site.