接口 Shearable

  • 所有已知实现类:
    MooshroomEntity, SheepEntity, SnowGolemEntity

    public interface Shearable
    Represents an entity that can be sheared, either by a player or a dispenser.
    Mappings:
    Namespace Name
    official atn
    intermediary net/minecraft/class_5147
    named net/minecraft/entity/Shearable
    • 方法详细资料

      • sheared

        void sheared​(SoundCategory shearedSoundCategory)
        Mappings:
        Namespace Name Mixin selector
        official a Latn;a(Laex;)V
        intermediary method_6636 Lnet/minecraft/class_5147;method_6636(Lnet/minecraft/class_3419;)V
        named sheared Lnet/minecraft/entity/Shearable;sheared(Lnet/minecraft/sound/SoundCategory;)V
      • isShearable

        boolean isShearable()
        Mappings:
        Namespace Name Mixin selector
        official N_ Latn;N_()Z
        intermediary method_27072 Lnet/minecraft/class_5147;method_27072()Z
        named isShearable Lnet/minecraft/entity/Shearable;isShearable()Z