Class Activity
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Activity>
-
- net.minecraft.entity.ai.brain.schedule.Activity
-
- All Implemented Interfaces:
IForgeRegistryEntry<Activity>
public class Activity extends ForgeRegistryEntry<Activity>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description static Activity
ADMIRE_ITEM
static Activity
AVOID
static Activity
CELEBRATE
static Activity
CORE
static Activity
FIGHT
private int
hashCode
static Activity
HIDE
static Activity
IDLE
static Activity
MEET
private java.lang.String
name
static Activity
PANIC
static Activity
PLAY
static Activity
PRE_RAID
static Activity
RAID
static Activity
REST
static Activity
RIDE
static Activity
WORK
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description Activity(java.lang.String p_i50141_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
java.lang.String
getName()
int
hashCode()
private static Activity
register(java.lang.String p_221363_0_)
java.lang.String
toString()
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Field Detail
-
CORE
public static final Activity CORE
-
IDLE
public static final Activity IDLE
-
WORK
public static final Activity WORK
-
PLAY
public static final Activity PLAY
-
REST
public static final Activity REST
-
MEET
public static final Activity MEET
-
PANIC
public static final Activity PANIC
-
RAID
public static final Activity RAID
-
PRE_RAID
public static final Activity PRE_RAID
-
HIDE
public static final Activity HIDE
-
FIGHT
public static final Activity FIGHT
-
CELEBRATE
public static final Activity CELEBRATE
-
ADMIRE_ITEM
public static final Activity ADMIRE_ITEM
-
AVOID
public static final Activity AVOID
-
RIDE
public static final Activity RIDE
-
name
private final java.lang.String name
-
hashCode
private final int hashCode
-
-
Method Detail
-
getName
public java.lang.String getName()
-
register
private static Activity register(java.lang.String p_221363_0_)
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-