Closed LexManos closed 4 years ago
See Registry class in Minecraft. Simple lambdas, that can be expressed in a single line are not printed as a single line:
public static final Registry<Biome> BIOME = forge("biome", Biome.class, () -> { return Biomes.DEFAULT; });
vs public static final Registry<Biome> BIOME = forge("biome", Biome.class, () -> Biomes.DEFAULT);
public static final Registry<Biome> BIOME = forge("biome", Biome.class, () -> Biomes.DEFAULT);
See Registry class in Minecraft. Simple lambdas, that can be expressed in a single line are not printed as a single line:
vs
public static final Registry<Biome> BIOME = forge("biome", Biome.class, () -> Biomes.DEFAULT);