Interface VariantHolder<T>

All Known Subinterfaces:
VillagerDataContainer
All Known Implementing Classes:
AxolotlEntity, CatEntity, FoxEntity, FrogEntity, HorseEntity, LlamaEntity, MooshroomEntity, PaintingEntity, ParrotEntity, RabbitEntity, SalmonEntity, ShulkerEntity, TraderLlamaEntity, TropicalFishEntity, VillagerEntity, WolfEntity, ZombieVillagerEntity

public interface VariantHolder<T>
Mappings:
Namespace Name
named net/minecraft/entity/VariantHolder
intermediary net/minecraft/class_7988
official bxf
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setVariant(T variant)
     
  • Method Details

    • setVariant

      void setVariant(T variant)
      Mappings:
      Namespace Name Mixin selector
      named setVariant Lnet/minecraft/entity/VariantHolder;setVariant(Ljava/lang/Object;)V
      intermediary method_47826 Lnet/minecraft/class_7988;method_47826(Ljava/lang/Object;)V
      official a Lbxf;a(Ljava/lang/Object;)V
    • getVariant

      T getVariant()
      Mappings:
      Namespace Name Mixin selector
      named getVariant Lnet/minecraft/entity/VariantHolder;getVariant()Ljava/lang/Object;
      intermediary method_47827 Lnet/minecraft/class_7988;method_47827()Ljava/lang/Object;
      official d Lbxf;d()Ljava/lang/Object;