/* * Decompiled with CFR 0.152. * * Could not load the following classes: * com.mojang.serialization.MapCodec */ package net.minecraft.world.entity.variant; import com.mojang.serialization.MapCodec; import net.minecraft.core.Registry; import net.minecraft.world.entity.variant.BiomeCheck; import net.minecraft.world.entity.variant.MoonBrightnessCheck; import net.minecraft.world.entity.variant.SpawnCondition; import net.minecraft.world.entity.variant.StructureCheck; public class SpawnConditions { public static MapCodec bootstrap(Registry> registry) { Registry.register(registry, "structure", StructureCheck.MAP_CODEC); Registry.register(registry, "moon_brightness", MoonBrightnessCheck.MAP_CODEC); return Registry.register(registry, "biome", BiomeCheck.MAP_CODEC); } }