net.minecraft.world.item.crafting

public enum CraftingBookCategory

implements StringRepresentable

cyo
net.minecraft.world.item.crafting.CraftingBookCategory
net.minecraft.class_7710
net.minecraft.recipe.book.CraftingRecipeCategory
net.minecraft.src.C_243568_
net.minecraft.world.item.crafting.CraftingBookCategory

Enum constant summary

Enum Constant
a
BUILDING
field_40248
BUILDING
BUILDING
b
REDSTONE
field_40249
REDSTONE
REDSTONE
c
EQUIPMENT
field_40250
EQUIPMENT
EQUIPMENT
d
MISC
field_40251
MISC
MISC

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<CraftingBookCategory>
e
CODEC
field_40252
CODEC
f_244644_
public static final IntFunction<CraftingBookCategory>
f
BY_ID
field_48352
INDEX_TO_VALUE
f_316439_
public static final StreamCodec<io.netty.buffer.ByteBuf, CraftingBookCategory>
g
STREAM_CODEC
field_48353
PACKET_CODEC
f_315540_
private final String
h
name
field_40253
id
f_244018_
private final int
i
id
field_48354
index
f_314845_

Constructor summary

ModifierConstructor
private (String p_248827_, int p_249346_)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
private int
a()
id()
method_56101()
getIndex()
m_320418_()