Package net.minecraft.village
Class VillagerData
java.lang.Object
net.minecraft.village.VillagerData
- Mappings:
- Namespace - Name - named - net/minecraft/village/VillagerData- intermediary - net/minecraft/class_3850- official - cok
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<VillagerData> private final intprivate static final int[]static final intstatic final intstatic final PacketCodec<RegistryByteBuf, VillagerData> private final VillagerProfessionprivate final VillagerType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleancanLevelUp(int level) intgetLevel()static intgetLowerLevelExperience(int level) getType()static intgetUpperLevelExperience(int level) withLevel(int level) withProfession(VillagerProfession profession) withType(VillagerType type) 
- 
Field Details- 
MIN_LEVELpublic static final int MIN_LEVEL- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MIN_LEVEL- Lnet/minecraft/village/VillagerData;MIN_LEVEL:I- intermediary - field_30613- Lnet/minecraft/class_3850;field_30613:I- official - a- Lcok;a:I
 
- 
MAX_LEVELpublic static final int MAX_LEVEL- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MAX_LEVEL- Lnet/minecraft/village/VillagerData;MAX_LEVEL:I- intermediary - field_30614- Lnet/minecraft/class_3850;field_30614:I- official - b- Lcok;b:I
 
- 
LEVEL_BASE_EXPERIENCEprivate static final int[] LEVEL_BASE_EXPERIENCE- Mappings:
- Namespace - Name - Mixin selector - named - LEVEL_BASE_EXPERIENCE- Lnet/minecraft/village/VillagerData;LEVEL_BASE_EXPERIENCE:[I- intermediary - field_18540- Lnet/minecraft/class_3850;field_18540:[I- official - e- Lcok;e:[I
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/village/VillagerData;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_24669- Lnet/minecraft/class_3850;field_24669:Lcom/mojang/serialization/Codec;- official - c- Lcok;c:Lcom/mojang/serialization/Codec;
 
- 
PACKET_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - PACKET_CODEC- Lnet/minecraft/village/VillagerData;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;- intermediary - field_48345- Lnet/minecraft/class_3850;field_48345:Lnet/minecraft/class_9139;- official - d- Lcok;d:Lyn;
 
- 
type- Mappings:
- Namespace - Name - Mixin selector - named - type- Lnet/minecraft/village/VillagerData;type:Lnet/minecraft/village/VillagerType;- intermediary - field_17048- Lnet/minecraft/class_3850;field_17048:Lnet/minecraft/class_3854;- official - f- Lcok;f:Lcop;
 
- 
profession- Mappings:
- Namespace - Name - Mixin selector - named - profession- Lnet/minecraft/village/VillagerData;profession:Lnet/minecraft/village/VillagerProfession;- intermediary - field_17049- Lnet/minecraft/class_3850;field_17049:Lnet/minecraft/class_3852;- official - g- Lcok;g:Lcom;
 
- 
levelprivate final int level- Mappings:
- Namespace - Name - Mixin selector - named - level- Lnet/minecraft/village/VillagerData;level:I- intermediary - field_17050- Lnet/minecraft/class_3850;field_17050:I- official - h- Lcok;h:I
 
 
- 
- 
Constructor Details- 
VillagerData- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/village/VillagerData;<init>(Lnet/minecraft/village/VillagerType;Lnet/minecraft/village/VillagerProfession;I)V- intermediary - <init>- Lnet/minecraft/class_3850;<init>(Lnet/minecraft/class_3854;Lnet/minecraft/class_3852;I)V- official - <init>- Lcok;<init>(Lcop;Lcom;I)V
 
 
- 
- 
Method Details- 
getType- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/village/VillagerData;getType()Lnet/minecraft/village/VillagerType;- intermediary - method_16919- Lnet/minecraft/class_3850;method_16919()Lnet/minecraft/class_3854;- official - a- Lcok;a()Lcop;
 
- 
getProfession- Mappings:
- Namespace - Name - Mixin selector - named - getProfession- Lnet/minecraft/village/VillagerData;getProfession()Lnet/minecraft/village/VillagerProfession;- intermediary - method_16924- Lnet/minecraft/class_3850;method_16924()Lnet/minecraft/class_3852;- official - b- Lcok;b()Lcom;
 
- 
getLevelpublic int getLevel()- Mappings:
- Namespace - Name - Mixin selector - named - getLevel- Lnet/minecraft/village/VillagerData;getLevel()I- intermediary - method_16925- Lnet/minecraft/class_3850;method_16925()I- official - c- Lcok;c()I
 
- 
withType- Mappings:
- Namespace - Name - Mixin selector - named - withType- Lnet/minecraft/village/VillagerData;withType(Lnet/minecraft/village/VillagerType;)Lnet/minecraft/village/VillagerData;- intermediary - method_16922- Lnet/minecraft/class_3850;method_16922(Lnet/minecraft/class_3854;)Lnet/minecraft/class_3850;- official - a- Lcok;a(Lcop;)Lcok;
 
- 
withProfession- Mappings:
- Namespace - Name - Mixin selector - named - withProfession- Lnet/minecraft/village/VillagerData;withProfession(Lnet/minecraft/village/VillagerProfession;)Lnet/minecraft/village/VillagerData;- intermediary - method_16921- Lnet/minecraft/class_3850;method_16921(Lnet/minecraft/class_3852;)Lnet/minecraft/class_3850;- official - a- Lcok;a(Lcom;)Lcok;
 
- 
withLevel- Mappings:
- Namespace - Name - Mixin selector - named - withLevel- Lnet/minecraft/village/VillagerData;withLevel(I)Lnet/minecraft/village/VillagerData;- intermediary - method_16920- Lnet/minecraft/class_3850;method_16920(I)Lnet/minecraft/class_3850;- official - a- Lcok;a(I)Lcok;
 
- 
getLowerLevelExperiencepublic static int getLowerLevelExperience(int level) - Mappings:
- Namespace - Name - Mixin selector - named - getLowerLevelExperience- Lnet/minecraft/village/VillagerData;getLowerLevelExperience(I)I- intermediary - method_19194- Lnet/minecraft/class_3850;method_19194(I)I- official - b- Lcok;b(I)I
 
- 
getUpperLevelExperiencepublic static int getUpperLevelExperience(int level) - Mappings:
- Namespace - Name - Mixin selector - named - getUpperLevelExperience- Lnet/minecraft/village/VillagerData;getUpperLevelExperience(I)I- intermediary - method_19195- Lnet/minecraft/class_3850;method_19195(I)I- official - c- Lcok;c(I)I
 
- 
canLevelUppublic static boolean canLevelUp(int level) - Mappings:
- Namespace - Name - Mixin selector - named - canLevelUp- Lnet/minecraft/village/VillagerData;canLevelUp(I)Z- intermediary - method_19196- Lnet/minecraft/class_3850;method_19196(I)Z- official - d- Lcok;d(I)Z
 
 
-