net.minecraft.world.entity

public enum MobCategory

implements StringRepresentable

bvl
net.minecraft.world.entity.MobCategory
net.minecraft.class_1311
net.minecraft.entity.SpawnGroup
net.minecraft.world.entity.EnumCreatureType

Enum constant summary

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<MobCategory>
i
CODEC
field_24655
CODEC
private final int
j
max
field_6297
capacity
private final boolean
k
isFriendly
field_6298
peaceful
private final boolean
l
isPersistent
field_6295
rare
private final String
m
name
field_6304
name
private final int
n
noDespawnDistance
field_24461
despawnStartRange
private final int
o
despawnDistance
field_24462
immediateDespawnRange

Constructor summary

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

Method summary

Modifier and TypeMethod
public String
a()
getName()
method_6133()
getName()
public String
c()
getSerializedName()
method_15434()
asString()
public int
b()
getMaxInstancesPerChunk()
method_6134()
getCapacity()
public boolean
d()
isFriendly()
method_6136()
isPeaceful()
public boolean
e()
isPersistent()
method_6135()
isRare()
public int
f()
getDespawnDistance()
method_27919()
getImmediateDespawnRange()
public int
g()
getNoDespawnDistance()
method_27920()
getDespawnStartRange()