Interface VillagerDataContainer

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

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

    • getVillagerData

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

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

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

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