Class Activity

java.lang.Object
net.minecraft.entity.ai.brain.Activity

public class Activity extends Object
Mappings:
Namespace Name
official bya
intermediary net/minecraft/class_4168
named net/minecraft/entity/ai/brain/Activity
  • Field Details

    • CORE

      public static final Activity CORE
      Mappings:
      Namespace Name Mixin selector
      official a Lbya;a:Lbya;
      intermediary field_18594 Lnet/minecraft/class_4168;field_18594:Lnet/minecraft/class_4168;
      named CORE Lnet/minecraft/entity/ai/brain/Activity;CORE:Lnet/minecraft/entity/ai/brain/Activity;
    • IDLE

      public static final Activity IDLE
      Mappings:
      Namespace Name Mixin selector
      official b Lbya;b:Lbya;
      intermediary field_18595 Lnet/minecraft/class_4168;field_18595:Lnet/minecraft/class_4168;
      named IDLE Lnet/minecraft/entity/ai/brain/Activity;IDLE:Lnet/minecraft/entity/ai/brain/Activity;
    • WORK

      public static final Activity WORK
      Mappings:
      Namespace Name Mixin selector
      official c Lbya;c:Lbya;
      intermediary field_18596 Lnet/minecraft/class_4168;field_18596:Lnet/minecraft/class_4168;
      named WORK Lnet/minecraft/entity/ai/brain/Activity;WORK:Lnet/minecraft/entity/ai/brain/Activity;
    • PLAY

      public static final Activity PLAY
      Mappings:
      Namespace Name Mixin selector
      official d Lbya;d:Lbya;
      intermediary field_18885 Lnet/minecraft/class_4168;field_18885:Lnet/minecraft/class_4168;
      named PLAY Lnet/minecraft/entity/ai/brain/Activity;PLAY:Lnet/minecraft/entity/ai/brain/Activity;
    • REST

      public static final Activity REST
      Mappings:
      Namespace Name Mixin selector
      official e Lbya;e:Lbya;
      intermediary field_18597 Lnet/minecraft/class_4168;field_18597:Lnet/minecraft/class_4168;
      named REST Lnet/minecraft/entity/ai/brain/Activity;REST:Lnet/minecraft/entity/ai/brain/Activity;
    • MEET

      public static final Activity MEET
      Mappings:
      Namespace Name Mixin selector
      official f Lbya;f:Lbya;
      intermediary field_18598 Lnet/minecraft/class_4168;field_18598:Lnet/minecraft/class_4168;
      named MEET Lnet/minecraft/entity/ai/brain/Activity;MEET:Lnet/minecraft/entity/ai/brain/Activity;
    • PANIC

      public static final Activity PANIC
      Mappings:
      Namespace Name Mixin selector
      official g Lbya;g:Lbya;
      intermediary field_18599 Lnet/minecraft/class_4168;field_18599:Lnet/minecraft/class_4168;
      named PANIC Lnet/minecraft/entity/ai/brain/Activity;PANIC:Lnet/minecraft/entity/ai/brain/Activity;
    • RAID

      public static final Activity RAID
      Mappings:
      Namespace Name Mixin selector
      official h Lbya;h:Lbya;
      intermediary field_19041 Lnet/minecraft/class_4168;field_19041:Lnet/minecraft/class_4168;
      named RAID Lnet/minecraft/entity/ai/brain/Activity;RAID:Lnet/minecraft/entity/ai/brain/Activity;
    • PRE_RAID

      public static final Activity PRE_RAID
      Mappings:
      Namespace Name Mixin selector
      official i Lbya;i:Lbya;
      intermediary field_19042 Lnet/minecraft/class_4168;field_19042:Lnet/minecraft/class_4168;
      named PRE_RAID Lnet/minecraft/entity/ai/brain/Activity;PRE_RAID:Lnet/minecraft/entity/ai/brain/Activity;
    • HIDE

      public static final Activity HIDE
      Mappings:
      Namespace Name Mixin selector
      official j Lbya;j:Lbya;
      intermediary field_19043 Lnet/minecraft/class_4168;field_19043:Lnet/minecraft/class_4168;
      named HIDE Lnet/minecraft/entity/ai/brain/Activity;HIDE:Lnet/minecraft/entity/ai/brain/Activity;
    • FIGHT

      public static final Activity FIGHT
      Mappings:
      Namespace Name Mixin selector
      official k Lbya;k:Lbya;
      intermediary field_22396 Lnet/minecraft/class_4168;field_22396:Lnet/minecraft/class_4168;
      named FIGHT Lnet/minecraft/entity/ai/brain/Activity;FIGHT:Lnet/minecraft/entity/ai/brain/Activity;
    • CELEBRATE

      public static final Activity CELEBRATE
      Mappings:
      Namespace Name Mixin selector
      official l Lbya;l:Lbya;
      intermediary field_22397 Lnet/minecraft/class_4168;field_22397:Lnet/minecraft/class_4168;
      named CELEBRATE Lnet/minecraft/entity/ai/brain/Activity;CELEBRATE:Lnet/minecraft/entity/ai/brain/Activity;
    • ADMIRE_ITEM

      public static final Activity ADMIRE_ITEM
      Mappings:
      Namespace Name Mixin selector
      official m Lbya;m:Lbya;
      intermediary field_22398 Lnet/minecraft/class_4168;field_22398:Lnet/minecraft/class_4168;
      named ADMIRE_ITEM Lnet/minecraft/entity/ai/brain/Activity;ADMIRE_ITEM:Lnet/minecraft/entity/ai/brain/Activity;
    • AVOID

      public static final Activity AVOID
      Mappings:
      Namespace Name Mixin selector
      official n Lbya;n:Lbya;
      intermediary field_22399 Lnet/minecraft/class_4168;field_22399:Lnet/minecraft/class_4168;
      named AVOID Lnet/minecraft/entity/ai/brain/Activity;AVOID:Lnet/minecraft/entity/ai/brain/Activity;
    • RIDE

      public static final Activity RIDE
      Mappings:
      Namespace Name Mixin selector
      official o Lbya;o:Lbya;
      intermediary field_22400 Lnet/minecraft/class_4168;field_22400:Lnet/minecraft/class_4168;
      named RIDE Lnet/minecraft/entity/ai/brain/Activity;RIDE:Lnet/minecraft/entity/ai/brain/Activity;
    • PLAY_DEAD

      public static final Activity PLAY_DEAD
      Mappings:
      Namespace Name Mixin selector
      official p Lbya;p:Lbya;
      intermediary field_28352 Lnet/minecraft/class_4168;field_28352:Lnet/minecraft/class_4168;
      named PLAY_DEAD Lnet/minecraft/entity/ai/brain/Activity;PLAY_DEAD:Lnet/minecraft/entity/ai/brain/Activity;
    • LONG_JUMP

      public static final Activity LONG_JUMP
      Mappings:
      Namespace Name Mixin selector
      official q Lbya;q:Lbya;
      intermediary field_30691 Lnet/minecraft/class_4168;field_30691:Lnet/minecraft/class_4168;
      named LONG_JUMP Lnet/minecraft/entity/ai/brain/Activity;LONG_JUMP:Lnet/minecraft/entity/ai/brain/Activity;
    • RAM

      public static final Activity RAM
      Mappings:
      Namespace Name Mixin selector
      official r Lbya;r:Lbya;
      intermediary field_33504 Lnet/minecraft/class_4168;field_33504:Lnet/minecraft/class_4168;
      named RAM Lnet/minecraft/entity/ai/brain/Activity;RAM:Lnet/minecraft/entity/ai/brain/Activity;
    • TONGUE

      public static final Activity TONGUE
      Mappings:
      Namespace Name Mixin selector
      official s Lbya;s:Lbya;
      intermediary field_37503 Lnet/minecraft/class_4168;field_37503:Lnet/minecraft/class_4168;
      named TONGUE Lnet/minecraft/entity/ai/brain/Activity;TONGUE:Lnet/minecraft/entity/ai/brain/Activity;
    • SWIM

      public static final Activity SWIM
      Mappings:
      Namespace Name Mixin selector
      official t Lbya;t:Lbya;
      intermediary field_37504 Lnet/minecraft/class_4168;field_37504:Lnet/minecraft/class_4168;
      named SWIM Lnet/minecraft/entity/ai/brain/Activity;SWIM:Lnet/minecraft/entity/ai/brain/Activity;
    • LAY_SPAWN

      public static final Activity LAY_SPAWN
      Mappings:
      Namespace Name Mixin selector
      official u Lbya;u:Lbya;
      intermediary field_37505 Lnet/minecraft/class_4168;field_37505:Lnet/minecraft/class_4168;
      named LAY_SPAWN Lnet/minecraft/entity/ai/brain/Activity;LAY_SPAWN:Lnet/minecraft/entity/ai/brain/Activity;
    • SNIFF

      public static final Activity SNIFF
      Mappings:
      Namespace Name Mixin selector
      official v Lbya;v:Lbya;
      intermediary field_38199 Lnet/minecraft/class_4168;field_38199:Lnet/minecraft/class_4168;
      named SNIFF Lnet/minecraft/entity/ai/brain/Activity;SNIFF:Lnet/minecraft/entity/ai/brain/Activity;
    • INVESTIGATE

      public static final Activity INVESTIGATE
      Mappings:
      Namespace Name Mixin selector
      official w Lbya;w:Lbya;
      intermediary field_38200 Lnet/minecraft/class_4168;field_38200:Lnet/minecraft/class_4168;
      named INVESTIGATE Lnet/minecraft/entity/ai/brain/Activity;INVESTIGATE:Lnet/minecraft/entity/ai/brain/Activity;
    • ROAR

      public static final Activity ROAR
      Mappings:
      Namespace Name Mixin selector
      official x Lbya;x:Lbya;
      intermediary field_38201 Lnet/minecraft/class_4168;field_38201:Lnet/minecraft/class_4168;
      named ROAR Lnet/minecraft/entity/ai/brain/Activity;ROAR:Lnet/minecraft/entity/ai/brain/Activity;
    • EMERGE

      public static final Activity EMERGE
      Mappings:
      Namespace Name Mixin selector
      official y Lbya;y:Lbya;
      intermediary field_38202 Lnet/minecraft/class_4168;field_38202:Lnet/minecraft/class_4168;
      named EMERGE Lnet/minecraft/entity/ai/brain/Activity;EMERGE:Lnet/minecraft/entity/ai/brain/Activity;
    • DIG

      public static final Activity DIG
      Mappings:
      Namespace Name Mixin selector
      official z Lbya;z:Lbya;
      intermediary field_38203 Lnet/minecraft/class_4168;field_38203:Lnet/minecraft/class_4168;
      named DIG Lnet/minecraft/entity/ai/brain/Activity;DIG:Lnet/minecraft/entity/ai/brain/Activity;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official A Lbya;A:Ljava/lang/String;
      intermediary field_18600 Lnet/minecraft/class_4168;field_18600:Ljava/lang/String;
      named id Lnet/minecraft/entity/ai/brain/Activity;id:Ljava/lang/String;
    • hashCode

      private final int hashCode
      Mappings:
      Namespace Name Mixin selector
      official B Lbya;B:I
      intermediary field_23827 Lnet/minecraft/class_4168;field_23827:I
      named hashCode Lnet/minecraft/entity/ai/brain/Activity;hashCode:I
  • Constructor Details

    • Activity

      private Activity(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbya;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4168;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/entity/ai/brain/Activity;<init>(Ljava/lang/String;)V
  • Method Details

    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lbya;a()Ljava/lang/String;
      intermediary method_19634 Lnet/minecraft/class_4168;method_19634()Ljava/lang/String;
      named getId Lnet/minecraft/entity/ai/brain/Activity;getId()Ljava/lang/String;
    • register

      private static Activity register(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbya;a(Ljava/lang/String;)Lbya;
      intermediary method_19210 Lnet/minecraft/class_4168;method_19210(Ljava/lang/String;)Lnet/minecraft/class_4168;
      named register Lnet/minecraft/entity/ai/brain/Activity;register(Ljava/lang/String;)Lnet/minecraft/entity/ai/brain/Activity;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lbya;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4168;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/entity/ai/brain/Activity;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object