net.minecraft.client.realms.dto

public record RealmsOptionsDto

implements RealmsSerializable

com.mojang.realmsclient.dto.RealmsSlotUpdateDto
net.minecraft.class_11308
net.minecraft.client.realms.dto.RealmsOptionsDto

Field summary

Modifier and TypeField
private final int
slotId
comp_5012
slotId
private final int
spawnProtection
comp_5013
spawnProtection
private final boolean
forceGameMode
comp_5014
forceGameMode
private final int
difficulty
comp_5015
difficulty
private final int
gameMode
comp_5016
gameMode
private final String
slotName
comp_5017
slotName
private final String
version
comp_5018
version
private final RealmsServer$Compatibility
compatibility
comp_5019
compatibility
private final long
templateId
comp_5020
worldTemplateId
private final String
templateImage
comp_5021
worldTemplateImage
private final boolean
hardcore
comp_5022
hardcore

Constructor summary

ModifierConstructor
public (int slotId, RealmsWorldOptions options, boolean hardcore)
public (int slotId, int spawnProtection, boolean forceGameMode, int difficulty, int gameMode, String slotName, String version, RealmsServer$Compatibility compatibility, long worldTemplateId, String worldTemplateImage, boolean hardcore)

Method summary

Modifier and TypeMethod
public int
slotId()
comp_5012()
slotId()
public int
spawnProtection()
comp_5013()
spawnProtection()
public boolean
forceGameMode()
comp_5014()
forceGameMode()
public int
difficulty()
comp_5015()
difficulty()
public int
gameMode()
comp_5016()
gameMode()
public String
slotName()
comp_5017()
slotName()
public String
version()
comp_5018()
version()
public RealmsServer$Compatibility
compatibility()
comp_5019()
compatibility()
public long
templateId()
comp_5020()
worldTemplateId()
public String
templateImage()
comp_5021()
worldTemplateImage()
public boolean
hardcore()
comp_5022()
hardcore()