类 CatEntity.TemptGoal

  • 封闭类:
    CatEntity

    static class CatEntity.TemptGoal
    extends TemptGoal
    Mappings:
    Namespace Name
    official bdc$c
    intermediary net/minecraft/class_1451$class_3700
    named net/minecraft/entity/passive/CatEntity$TemptGoal
    • 字段详细资料

      • player

        @Nullable
        private @Nullable PlayerEntity player
        Mappings:
        Namespace Name Mixin selector
        official c Lbdc$c;c:Lbjf;
        intermediary field_16298 Lnet/minecraft/class_1451$class_3700;field_16298:Lnet/minecraft/class_1657;
        named player Lnet/minecraft/entity/passive/CatEntity$TemptGoal;player:Lnet/minecraft/entity/player/PlayerEntity;
      • cat

        private final CatEntity cat
        Mappings:
        Namespace Name Mixin selector
        official d Lbdc$c;d:Lbdc;
        intermediary field_17948 Lnet/minecraft/class_1451$class_3700;field_17948:Lnet/minecraft/class_1451;
        named cat Lnet/minecraft/entity/passive/CatEntity$TemptGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
    • 构造器详细资料

      • TemptGoal

        public TemptGoal​(CatEntity cat,
                         double speed,
                         Ingredient food,
                         boolean canBeScared)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbdc$c;<init>(Lbdc;DLbsg;Z)V
        intermediary <init> Lnet/minecraft/class_1451$class_3700;<init>(Lnet/minecraft/class_1451;DLnet/minecraft/class_1856;Z)V
        named <init> Lnet/minecraft/entity/passive/CatEntity$TemptGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;DLnet/minecraft/recipe/Ingredient;Z)V
    • 方法详细资料

      • tick

        public void tick()
        覆盖:
        tick 在类中 TemptGoal
        Mappings:
        Namespace Name Mixin selector
        official e Layq;e()V
        intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
        named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      • canBeScared

        protected boolean canBeScared()
        覆盖:
        canBeScared 在类中 TemptGoal
        Mappings:
        Namespace Name Mixin selector
        official g Lazx;g()Z
        intermediary method_16081 Lnet/minecraft/class_1391;method_16081()Z
        named canBeScared Lnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Z
      • canStart

        public boolean canStart()
        覆盖:
        canStart 在类中 TemptGoal
        Mappings:
        Namespace Name Mixin selector
        official a Layq;a()Z
        intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
        named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z