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, ZombieVillagerEntity

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

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

    • setVariant

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

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