net.minecraft.server.dedicated.management.dispatch

record PlayerBansRpcDispatcher$ConfigEntry

net.minecraft.server.jsonrpc.methods.BanlistService$UserBan
net.minecraft.class_11835$class_11836
net.minecraft.server.dedicated.management.dispatch.PlayerBansRpcDispatcher$ConfigEntry

Field summary

Modifier and TypeField
private final PlayerConfigEntry
player
comp_4703
player
private final String
reason
comp_4704
reason
private final String
source
comp_4705
source
private final Optional<Instant>
expires
comp_4706
expires

Constructor summary

ModifierConstructor
private (PlayerConfigEntry player, String reason, String source, Optional<Instant> expires)

Method summary

Modifier and TypeMethod
private static PlayerBansRpcDispatcher$ConfigEntry
from(UserBanListEntry entry)
method_73856(class_3336 arg0)
of(BannedPlayerEntry entry)
private BannedPlayerEntry
toBanEntry()
method_73857()
toBannedPlayerEntry()
public PlayerConfigEntry
player()
comp_4703()
player()
public String
reason()
comp_4704()
reason()
public String
source()
comp_4705()
source()
public Optional<Instant>
expires()
comp_4706()
expires()