Interface ModelWithHat

All Known Implementing Classes:
VillagerResemblingModel, WitchEntityModel, ZombieVillagerEntityModel

@Environment(CLIENT) public interface ModelWithHat
Represents a model with a hat.
Mappings:
Namespace Name
official esh
intermediary net/minecraft/class_3884
named net/minecraft/client/render/entity/model/ModelWithHat
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setHatVisible(boolean visible)
    Sets whether the hat is visible or not.
  • Method Details

    • setHatVisible

      void setHatVisible(boolean visible)
      Sets whether the hat is visible or not.
      Parameters:
      visible - true if the hat is visible, otherwise false
      Mappings:
      Namespace Name Mixin selector
      official a Lesh;a(Z)V
      intermediary method_17150 Lnet/minecraft/class_3884;method_17150(Z)V
      named setHatVisible Lnet/minecraft/client/render/entity/model/ModelWithHat;setHatVisible(Z)V