28 lines
		
	
	
	
		
			959 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			959 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package com.mojang.realmsclient.dto;
 | |
| 
 | |
| import com.google.gson.annotations.SerializedName;
 | |
| import java.util.Set;
 | |
| import net.fabricmc.api.EnvType;
 | |
| import net.fabricmc.api.Environment;
 | |
| 
 | |
| @Environment(EnvType.CLIENT)
 | |
| public class RealmsWorldResetDto extends ValueObject implements ReflectionBasedSerialization {
 | |
| 	@SerializedName("seed")
 | |
| 	private final String seed;
 | |
| 	@SerializedName("worldTemplateId")
 | |
| 	private final long worldTemplateId;
 | |
| 	@SerializedName("levelType")
 | |
| 	private final int levelType;
 | |
| 	@SerializedName("generateStructures")
 | |
| 	private final boolean generateStructures;
 | |
| 	@SerializedName("experiments")
 | |
| 	private final Set<String> experiments;
 | |
| 
 | |
| 	public RealmsWorldResetDto(String seed, long worldTemplateId, int levelType, boolean generateStructures, Set<String> experiments) {
 | |
| 		this.seed = seed;
 | |
| 		this.worldTemplateId = worldTemplateId;
 | |
| 		this.levelType = levelType;
 | |
| 		this.generateStructures = generateStructures;
 | |
| 		this.experiments = experiments;
 | |
| 	}
 | |
| }
 |