net.minecraft.world.entity

public enum MobCategory

implements StringRepresentable

apa
net.minecraft.world.entity.MobCategory
net.minecraft.class_1311
net.minecraft.entity.SpawnGroup
net.minecraft.entity.EntityClassification
net.minecraft.server.v1_16_R1.EnumCreatureType

Enum constant summary

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<MobCategory>
g
CODEC
field_24655
field_24655
field_233667_g_
private static final Map<String, MobCategory>
h
BY_NAME
field_6296
BY_NAME
field_220364_f
private final int
i
max
field_6297
capacity
field_75606_e
private final boolean
j
isFriendly
field_6298
peaceful
field_75604_g
private final boolean
k
isPersistent
field_6295
animal
field_82707_i
private final String
l
name
field_6304
name
field_220365_j
private final int
m
noDespawnDistance
field_24461
despawnStartRange
field_233668_m_
private final int
n
despawnDistance
field_24462
immediateDespawnRange
field_233669_n_

Constructor summary

ModifierConstructor
private (String arg0, int arg1, boolean name, boolean spawnCap, int peaceful)

Method summary

Modifier and TypeMethod
public String
b()
getName()
method_6133()
getName()
func_220363_a()
public String
a()
getSerializedName()
method_15434()
asString()
func_176610_l()
getName()
public static MobCategory
a(String arg0)
byName(String arg0)
method_28307(String arg0)
method_28307(String arg0)
func_233670_a_(String arg0)
public int
c()
getMaxInstancesPerChunk()
method_6134()
getCapacity()
func_75601_b()
public boolean
d()
isFriendly()
method_6136()
isPeaceful()
func_75599_d()
public boolean
e()
isPersistent()
method_6135()
isAnimal()
func_82705_e()
public int
f()
getDespawnDistance()
method_27919()
getImmediateDespawnRange()
func_233671_f_()
public int
g()
getNoDespawnDistance()
method_27920()
getDespawnStartRange()
func_233672_g_()