Interface VillagerDataContainer

All Superinterfaces:
VariantHolder<VillagerType>
All Known Implementing Classes:
VillagerEntity, ZombieVillagerEntity

public interface VillagerDataContainer extends VariantHolder<VillagerType>
Mappings:
Namespace Name
official byb
intermediary net/minecraft/class_3851
named net/minecraft/village/VillagerDataContainer
  • Method Details

    • getVillagerData

      VillagerData getVillagerData()
      Mappings:
      Namespace Name Mixin selector
      official gi Lbyb;gi()Lbya;
      intermediary method_7231 Lnet/minecraft/class_3851;method_7231()Lnet/minecraft/class_3850;
      named getVillagerData Lnet/minecraft/village/VillagerDataContainer;getVillagerData()Lnet/minecraft/village/VillagerData;
    • setVillagerData

      void setVillagerData(VillagerData villagerData)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyb;a(Lbya;)V
      intermediary method_7195 Lnet/minecraft/class_3851;method_7195(Lnet/minecraft/class_3850;)V
      named setVillagerData Lnet/minecraft/village/VillagerDataContainer;setVillagerData(Lnet/minecraft/village/VillagerData;)V
    • getVariant

      default VillagerType getVariant()
      Specified by:
      getVariant in interface VariantHolder<VillagerType>
      Mappings:
      Namespace Name Mixin selector
      official a Lbyb;a()Lbye;
      intermediary method_47882 Lnet/minecraft/class_3851;method_47882()Lnet/minecraft/class_3854;
      named getVariant Lnet/minecraft/village/VillagerDataContainer;getVariant()Lnet/minecraft/village/VillagerType;
    • setVariant

      default void setVariant(VillagerType villagerType)
      Specified by:
      setVariant in interface VariantHolder<VillagerType>
      Mappings:
      Namespace Name Mixin selector
      official a Lbyb;a(Lbye;)V
      intermediary method_47883 Lnet/minecraft/class_3851;method_47883(Lnet/minecraft/class_3854;)V
      named setVariant Lnet/minecraft/village/VillagerDataContainer;setVariant(Lnet/minecraft/village/VillagerType;)V