net.minecraft.server.jsonrpc

public interface OutgoingRpcMethod<Params, Result>

atp
net.minecraft.server.jsonrpc.OutgoingRpcMethod
net.minecraft.class_11808
net.minecraft.server.dedicated.management.OutgoingRpcMethod
net.minecraft.src.C_410842_
net.minecraft.server.jsonrpc.OutgoingRpcMethod

Field summary

Modifier and TypeField
String
a
NOTIFICATION_PREFIX
field_63002
NOTIFICATION_PREFIX
f_412992_

Method summary

Modifier and TypeMethod
MethodInfo
a()
info()
comp_4668()
info()
m_416112_()
OutgoingRpcMethod$Attributes
b()
attributes()
comp_4909()
attributes()
m_415494_()
default com.google.gson.JsonElement
a(Params arg0)
encodeParams(Params arg0)
method_73687(Params arg0)
encodeParams(Params params)
m_416404_(Params arg0)
default Result
a(com.google.gson.JsonElement arg0)
decodeResult(com.google.gson.JsonElement arg0)
method_73682(com.google.gson.JsonElement arg0)
decodeResult(com.google.gson.JsonElement result)
m_417058_(com.google.gson.JsonElement arg0)
static OutgoingRpcMethod$OutgoingRpcMethodBuilder<OutgoingRpcMethod$ParmeterlessNotification>
c()
notification()
method_73688()
createSimpleBuilder()
m_416898_()
static <Params> OutgoingRpcMethod$OutgoingRpcMethodBuilder<OutgoingRpcMethod$Notification<Params>>
a(com.mojang.serialization.Codec<Params> arg0)
notification(com.mojang.serialization.Codec<Params> arg0)
method_73683(com.mojang.serialization.Codec<Params> arg0)
createNotificationBuilder(com.mojang.serialization.Codec<Params> paramsCodec)
m_415953_(com.mojang.serialization.Codec<Params> p_429313_)
static <Result> OutgoingRpcMethod$OutgoingRpcMethodBuilder<OutgoingRpcMethod$ParameterlessMethod<Result>>
b(com.mojang.serialization.Codec<Result> arg0)
request(com.mojang.serialization.Codec<Result> arg0)
method_73689(com.mojang.serialization.Codec<Result> arg0)
createParameterlessBuilder(com.mojang.serialization.Codec<Result> resultCodec)
m_416262_(com.mojang.serialization.Codec<Result> p_427305_)
static <Params, Result> OutgoingRpcMethod$OutgoingRpcMethodBuilder<OutgoingRpcMethod$Method<Params, Result>>
a(com.mojang.serialization.Codec<Params> arg0, com.mojang.serialization.Codec<Result> arg1)
request(com.mojang.serialization.Codec<Params> arg0, com.mojang.serialization.Codec<Result> arg1)
method_73685(com.mojang.serialization.Codec<Params> arg0, com.mojang.serialization.Codec<Result> arg1)
createParameterizedBuilder(com.mojang.serialization.Codec<Params> paramsCodec, com.mojang.serialization.Codec<Result> resultCodec)
m_418234_(com.mojang.serialization.Codec<Params> p_429322_, com.mojang.serialization.Codec<Result> p_428638_)