net.minecraft.world.entity

public enum MobCategory

implements StringRepresentable

atx
net.minecraft.world.entity.MobCategory
net.minecraft.class_1311
net.minecraft.entity.SpawnGroup
net.minecraft.src.C_528_
net.minecraft.world.entity.EnumCreatureType

Enum constant summary

Enum Constant
a
MONSTER
field_6302
MONSTER
MONSTER
b
CREATURE
field_6294
CREATURE
CREATURE
c
AMBIENT
field_6303
AMBIENT
AMBIENT
d
UNDERGROUND_WATER_CREATURE
field_30092
UNDERGROUND_WATER_CREATURE
UNDERGROUND_WATER_CREATURE
e
WATER_CREATURE
field_6300
WATER_CREATURE
WATER_CREATURE
f
WATER_AMBIENT
field_24460
WATER_AMBIENT
WATER_AMBIENT
g
MISC
field_17715
MISC
MISC

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<MobCategory>
h
CODEC
field_24655
CODEC
f_21584_
private static final Map<String, MobCategory>
i
BY_NAME
field_6296
BY_NAME
f_21585_
private final int
j
max
field_6297
capacity
f_21586_
private final boolean
k
isFriendly
field_6298
peaceful
f_21587_
private final boolean
l
isPersistent
field_6295
rare
f_21588_
private final String
m
name
field_6304
name
f_21589_
private final int
n
noDespawnDistance
field_24461
despawnStartRange
f_21590_
private final int
o
despawnDistance
field_24462
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()
getName()
m_21607_()
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
getName()
public static MobCategory
a(String arg0)
byName(String arg0)
method_28307(String arg0)
byName(String name)
m_21605_(String p_21606_)
public int
b()
getMaxInstancesPerChunk()
method_6134()
getCapacity()
m_21608_()
public boolean
d()
isFriendly()
method_6136()
isPeaceful()
m_21609_()
public boolean
e()
isPersistent()
method_6135()
isRare()
m_21610_()
public int
f()
getDespawnDistance()
method_27919()
getImmediateDespawnRange()
m_21611_()
public int
g()
getNoDespawnDistance()
method_27920()
getDespawnStartRange()
m_21612_()