net.minecraft.world.entity

public enum MobCategory

implements StringRepresentable

axk
net.minecraft.world.entity.MobCategory
net.minecraft.class_1311
net.minecraft.unmapped.C_ormqdxci
net.minecraft.entity.SpawnGroup
net.minecraft.src.C_528_
net.minecraft.world.entity.EnumCreatureType

Enum constant summary

Enum Constant
a
MONSTER
field_6302
f_kbnlovfc
MONSTER
MONSTER
b
CREATURE
field_6294
f_pwuecopy
CREATURE
CREATURE
c
AMBIENT
field_6303
f_rczgeqpv
AMBIENT
AMBIENT
d
AXOLOTLS
field_34447
f_fjtqwlbx
AXOLOTLS
AXOLOTLS
e
UNDERGROUND_WATER_CREATURE
field_30092
f_xfcsyloc
UNDERGROUND_WATER_CREATURE
UNDERGROUND_WATER_CREATURE
f
WATER_CREATURE
field_6300
f_zrvtwhuw
WATER_CREATURE
WATER_CREATURE
g
WATER_AMBIENT
field_24460
f_rjssiiwx
WATER_AMBIENT
WATER_AMBIENT
h
MISC
field_17715
f_jcvpmofa
MISC
MISC

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<MobCategory>
i
CODEC
field_24655
f_oueuzvbl
CODEC
f_21584_
private static final Map<String, MobCategory>
j
BY_NAME
field_6296
f_pdlkyauy
BY_NAME
f_21585_
private final int
k
max
field_6297
f_nbzwannr
capacity
f_21586_
private final boolean
l
isFriendly
field_6298
f_wwmewjen
peaceful
f_21587_
private final boolean
m
isPersistent
field_6295
f_qlaoxgzo
rare
f_21588_
private final String
n
name
field_6304
f_cyssaphf
name
f_21589_
private final int
o
noDespawnDistance
field_24461
f_gtyvgcvi
despawnStartRange
f_21590_
private final int
p
despawnDistance
field_24462
f_fnxrubkr
immediateDespawnRange
f_21591_

Constructor summary

ModifierConstructor
private (String p_21596_, int p_21597_, boolean name, boolean spawnCap, int peaceful)

Method summary

Modifier and TypeMethod
public String
a()
getName()
method_6133()
m_pjftngxl()
getName()
m_21607_()
public String
c()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
m_7912_()
public static MobCategory
a(String arg0)
byName(String arg0)
method_28307(String arg0)
m_fgbomgcb(String arg0)
byName(String name)
m_21605_(String p_21606_)
public int
b()
getMaxInstancesPerChunk()
method_6134()
m_ackfxuvf()
getCapacity()
m_21608_()
public boolean
d()
isFriendly()
method_6136()
m_hleoxegx()
isPeaceful()
m_21609_()
public boolean
e()
isPersistent()
method_6135()
m_lczmblqq()
isRare()
m_21610_()
public int
f()
getDespawnDistance()
method_27919()
m_noqhjvmw()
getImmediateDespawnRange()
m_21611_()
public int
g()
getNoDespawnDistance()
method_27920()
m_wltyjkrl()
getDespawnStartRange()
m_21612_()