net.minecraft.village

public final class VillagerType

net.minecraft.world.entity.npc.villager.VillagerType
net.minecraft.class_3854
net.minecraft.village.VillagerType

Field summary

Modifier and TypeField
public static final RegistryKey<VillagerType>
DESERT
field_17071
DESERT
public static final RegistryKey<VillagerType>
JUNGLE
field_17072
JUNGLE
public static final RegistryKey<VillagerType>
PLAINS
field_17073
PLAINS
public static final RegistryKey<VillagerType>
SAVANNA
field_17074
SAVANNA
public static final RegistryKey<VillagerType>
SNOW
field_17075
SNOW
public static final RegistryKey<VillagerType>
SWAMP
field_17076
SWAMP
public static final RegistryKey<VillagerType>
TAIGA
field_17077
TAIGA
public static final com.mojang.serialization.Codec<RegistryEntry<VillagerType>>
CODEC
field_55975
CODEC
public static final PacketCodec<RegistryByteBuf, RegistryEntry<VillagerType>>
STREAM_CODEC
field_55976
PACKET_CODEC
private static final Map<RegistryKey<Biome>, RegistryKey<VillagerType>>
BY_BIOME
field_17078
BIOME_TO_TYPE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static RegistryKey<VillagerType>
createKey(String name)
method_66693(String arg0)
of(String id)
private static VillagerType
register(Registry<VillagerType> registry, ResourceKey<VillagerType> name)
method_16931(class_2378<class_3854> arg0, class_5321<class_3854> arg1)
create(Registry<VillagerType> registry, RegistryKey<VillagerType> key)
public static VillagerType
bootstrap(Registry<VillagerType> registry)
method_66694(class_2378<class_3854> arg0)
registerAndGetDefault(Registry<VillagerType> registry)
public static RegistryKey<VillagerType>
byBiome(Holder<Biome> biome)
method_16930(class_6880<class_1959> arg0)
forBiome(RegistryEntry<Biome> biomeEntry)
private static void
lambda$static$0(HashMap arg0)
method_16932(HashMap arg0)
method_16932(HashMap map)