接口 ItemSteerable

  • 所有已知实现类:
    PigEntity, StriderEntity

    public interface ItemSteerable
    Mappings:
    Namespace Name
    official asw
    intermediary net/minecraft/class_4981
    named net/minecraft/entity/ItemSteerable
    • 方法详细资料

      • consumeOnAStickItem

        boolean consumeOnAStickItem()
        Mappings:
        Namespace Name Mixin selector
        official Q_ Lasw;Q_()Z
        intermediary method_6577 Lnet/minecraft/class_4981;method_6577()Z
        named consumeOnAStickItem Lnet/minecraft/entity/ItemSteerable;consumeOnAStickItem()Z
      • setMovementInput

        void setMovementInput​(Vec3d movementInput)
        Mappings:
        Namespace Name Mixin selector
        official a_ Lasw;a_(Ldma;)V
        intermediary method_26315 Lnet/minecraft/class_4981;method_26315(Lnet/minecraft/class_243;)V
        named setMovementInput Lnet/minecraft/entity/ItemSteerable;setMovementInput(Lnet/minecraft/util/math/Vec3d;)V
      • getSaddledSpeed

        float getSaddledSpeed()
        Mappings:
        Namespace Name Mixin selector
        official P_ Lasw;P_()F
        intermediary method_26316 Lnet/minecraft/class_4981;method_26316()F
        named getSaddledSpeed Lnet/minecraft/entity/ItemSteerable;getSaddledSpeed()F
      • travel

        default boolean travel​(MobEntity entity,
                               SaddledComponent saddledEntity,
                               Vec3d movementInput)
        Mappings:
        Namespace Name Mixin selector
        official a Lasw;a(Lasz;Lasv;Ldma;)Z
        intermediary method_26313 Lnet/minecraft/class_4981;method_26313(Lnet/minecraft/class_1308;Lnet/minecraft/class_4980;Lnet/minecraft/class_243;)Z
        named travel Lnet/minecraft/entity/ItemSteerable;travel(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/SaddledComponent;Lnet/minecraft/util/math/Vec3d;)Z