OutgoingRpcMethods.java
net.minecraft.server.jsonrpc.OutgoingRpcMethods
信息
- 全限定名:net.minecraft.server.jsonrpc.OutgoingRpcMethods
- 类型:public class
- 包:net.minecraft.server.jsonrpc
- 源码路径:src/main/java/net/minecraft/server/jsonrpc/OutgoingRpcMethods.java
- 起始行号:L12
- 职责:
TODO
字段/常量
-
SERVER_STARTED- 类型:
Holder.Reference<OutgoingRpcMethod<Void,Void>> - 修饰符:
public static final - 源码定位:
L13 - 说明:
TODO
- 类型:
-
SERVER_SHUTTING_DOWN- 类型:
Holder.Reference<OutgoingRpcMethod<Void,Void>> - 修饰符:
public static final - 源码定位:
L16 - 说明:
TODO
- 类型:
-
SERVER_SAVE_STARTED- 类型:
Holder.Reference<OutgoingRpcMethod<Void,Void>> - 修饰符:
public static final - 源码定位:
L19 - 说明:
TODO
- 类型:
-
SERVER_SAVE_COMPLETED- 类型:
Holder.Reference<OutgoingRpcMethod<Void,Void>> - 修饰符:
public static final - 源码定位:
L22 - 说明:
TODO
- 类型:
-
SERVER_ACTIVITY_OCCURRED- 类型:
Holder.Reference<OutgoingRpcMethod<Void,Void>> - 修饰符:
public static final - 源码定位:
L25 - 说明:
TODO
- 类型:
-
PLAYER_JOINED- 类型:
Holder.Reference<OutgoingRpcMethod<PlayerDto,Void>> - 修饰符:
public static final - 源码定位:
L28 - 说明:
TODO
- 类型:
-
PLAYER_LEFT- 类型:
Holder.Reference<OutgoingRpcMethod<PlayerDto,Void>> - 修饰符:
public static final - 源码定位:
L32 - 说明:
TODO
- 类型:
-
PLAYER_OPED- 类型:
Holder.Reference<OutgoingRpcMethod<OperatorService.OperatorDto,Void>> - 修饰符:
public static final - 源码定位:
L36 - 说明:
TODO
- 类型:
-
PLAYER_DEOPED- 类型:
Holder.Reference<OutgoingRpcMethod<OperatorService.OperatorDto,Void>> - 修饰符:
public static final - 源码定位:
L40 - 说明:
TODO
- 类型:
-
PLAYER_ADDED_TO_ALLOWLIST- 类型:
Holder.Reference<OutgoingRpcMethod<PlayerDto,Void>> - 修饰符:
public static final - 源码定位:
L44 - 说明:
TODO
- 类型:
-
PLAYER_REMOVED_FROM_ALLOWLIST- 类型:
Holder.Reference<OutgoingRpcMethod<PlayerDto,Void>> - 修饰符:
public static final - 源码定位:
L48 - 说明:
TODO
- 类型:
-
IP_BANNED- 类型:
Holder.Reference<OutgoingRpcMethod<IpBanlistService.IpBanDto,Void>> - 修饰符:
public static final - 源码定位:
L52 - 说明:
TODO
- 类型:
-
IP_UNBANNED- 类型:
Holder.Reference<OutgoingRpcMethod<String,Void>> - 修饰符:
public static final - 源码定位:
L56 - 说明:
TODO
- 类型:
-
PLAYER_BANNED- 类型:
Holder.Reference<OutgoingRpcMethod<BanlistService.UserBanDto,Void>> - 修饰符:
public static final - 源码定位:
L60 - 说明:
TODO
- 类型:
-
PLAYER_UNBANNED- 类型:
Holder.Reference<OutgoingRpcMethod<PlayerDto,Void>> - 修饰符:
public static final - 源码定位:
L64 - 说明:
TODO
- 类型:
-
GAMERULE_CHANGED- 类型:
Holder.Reference<OutgoingRpcMethod<GameRulesService.GameRuleUpdate<?>,Void>> - 修饰符:
public static final - 源码定位:
L68 - 说明:
TODO
- 类型:
-
STATUS_HEARTBEAT- 类型:
Holder.Reference<OutgoingRpcMethod<ServerStateService.ServerState,Void>> - 修饰符:
public static final - 源码定位:
L72 - 说明:
TODO
- 类型:
内部类/嵌套类型
- 无
构造器
- 无
方法
下面的方法块按源码顺序生成。
- 无
代码
public class OutgoingRpcMethods {
public static final Holder.Reference<OutgoingRpcMethod<Void, Void>> SERVER_STARTED = OutgoingRpcMethod.notification()
.description("Server started")
.register("server/started");
public static final Holder.Reference<OutgoingRpcMethod<Void, Void>> SERVER_SHUTTING_DOWN = OutgoingRpcMethod.notification()
.description("Server shutting down")
.register("server/stopping");
public static final Holder.Reference<OutgoingRpcMethod<Void, Void>> SERVER_SAVE_STARTED = OutgoingRpcMethod.notification()
.description("Server save started")
.register("server/saving");
public static final Holder.Reference<OutgoingRpcMethod<Void, Void>> SERVER_SAVE_COMPLETED = OutgoingRpcMethod.notification()
.description("Server save completed")
.register("server/saved");
public static final Holder.Reference<OutgoingRpcMethod<Void, Void>> SERVER_ACTIVITY_OCCURRED = OutgoingRpcMethod.notification()
.description("Server activity occurred. Rate limited to 1 notification per 30 seconds")
.register("server/activity");
public static final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> PLAYER_JOINED = OutgoingRpcMethod.<PlayerDto>notificationWithParams()
.param("player", Schema.PLAYER_SCHEMA.asRef())
.description("Player joined")
.register("players/joined");
public static final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> PLAYER_LEFT = OutgoingRpcMethod.<PlayerDto>notificationWithParams()
.param("player", Schema.PLAYER_SCHEMA.asRef())
.description("Player left")
.register("players/left");
public static final Holder.Reference<OutgoingRpcMethod<OperatorService.OperatorDto, Void>> PLAYER_OPED = OutgoingRpcMethod.<OperatorService.OperatorDto>notificationWithParams()
.param("player", Schema.OPERATOR_SCHEMA.asRef())
.description("Player was oped")
.register("operators/added");
public static final Holder.Reference<OutgoingRpcMethod<OperatorService.OperatorDto, Void>> PLAYER_DEOPED = OutgoingRpcMethod.<OperatorService.OperatorDto>notificationWithParams()
.param("player", Schema.OPERATOR_SCHEMA.asRef())
.description("Player was deoped")
.register("operators/removed");
public static final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> PLAYER_ADDED_TO_ALLOWLIST = OutgoingRpcMethod.<PlayerDto>notificationWithParams()
.param("player", Schema.PLAYER_SCHEMA.asRef())
.description("Player was added to allowlist")
.register("allowlist/added");
public static final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> PLAYER_REMOVED_FROM_ALLOWLIST = OutgoingRpcMethod.<PlayerDto>notificationWithParams()
.param("player", Schema.PLAYER_SCHEMA.asRef())
.description("Player was removed from allowlist")
.register("allowlist/removed");
public static final Holder.Reference<OutgoingRpcMethod<IpBanlistService.IpBanDto, Void>> IP_BANNED = OutgoingRpcMethod.<IpBanlistService.IpBanDto>notificationWithParams()
.param("player", Schema.IP_BAN_SCHEMA.asRef())
.description("Ip was added to ip ban list")
.register("ip_bans/added");
public static final Holder.Reference<OutgoingRpcMethod<String, Void>> IP_UNBANNED = OutgoingRpcMethod.<String>notificationWithParams()
.param("player", Schema.STRING_SCHEMA)
.description("Ip was removed from ip ban list")
.register("ip_bans/removed");
public static final Holder.Reference<OutgoingRpcMethod<BanlistService.UserBanDto, Void>> PLAYER_BANNED = OutgoingRpcMethod.<BanlistService.UserBanDto>notificationWithParams()
.param("player", Schema.PLAYER_BAN_SCHEMA.asRef())
.description("Player was added to ban list")
.register("bans/added");
public static final Holder.Reference<OutgoingRpcMethod<PlayerDto, Void>> PLAYER_UNBANNED = OutgoingRpcMethod.<PlayerDto>notificationWithParams()
.param("player", Schema.PLAYER_SCHEMA.asRef())
.description("Player was removed from ban list")
.register("bans/removed");
public static final Holder.Reference<OutgoingRpcMethod<GameRulesService.GameRuleUpdate<?>, Void>> GAMERULE_CHANGED = OutgoingRpcMethod.<GameRulesService.GameRuleUpdate<?>>notificationWithParams()
.param("gamerule", Schema.TYPED_GAME_RULE_SCHEMA.asRef())
.description("Gamerule was changed")
.register("gamerules/updated");
public static final Holder.Reference<OutgoingRpcMethod<ServerStateService.ServerState, Void>> STATUS_HEARTBEAT = OutgoingRpcMethod.<ServerStateService.ServerState>notificationWithParams()
.param("status", Schema.SERVER_STATE_SCHEMA.asRef())
.description("Server status heartbeat")
.register("server/status");
}引用的其他类
-
- 引用位置:
字段
- 引用位置:
-
- 引用位置:
字段/方法调用 - 关联成员:
OutgoingRpcMethod.notification()
- 引用位置:
-
- 引用位置:
字段
- 引用位置:
-
- 引用位置:
字段
- 引用位置:
-
- 引用位置:
字段
- 引用位置:
-
- 引用位置:
字段
- 引用位置:
-
- 引用位置:
字段
- 引用位置:
-
- 引用位置:
字段
- 引用位置: