Interface VariantHolder<T>

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

public interface VariantHolder<T>
Mappings:
Namespace Name
named net/minecraft/entity/VariantHolder
intermediary net/minecraft/class_7988
official buq
  • 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 Lbuq;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 Lbuq;d()Ljava/lang/Object;