net.minecraft.server.network

public class SendCodeOfConductTask

implements ServerPlayerConfigurationTask

net.minecraft.server.network.config.ServerCodeOfConductConfigurationTask
net.minecraft.class_11754
net.minecraft.server.network.SendCodeOfConductTask

Field summary

Modifier and TypeField
public static final ServerPlayerConfigurationTask$Key
TYPE
field_62064
KEY
private final Supplier<String>
codeOfConduct
field_62065
textSupplier

Constructor summary

ModifierConstructor
public (Supplier<String> textSupplier)

Method summary

Modifier and TypeMethod
public void
start(Consumer<Packet<?>> connection)
method_52376(Consumer<class_2596<?>> arg0)
sendPacket(Consumer<Packet<?>> arg0)
public ServerPlayerConfigurationTask$Key
type()
method_52375()
getKey()