net.minecraft.world.item.crafting

public enum CraftingBookCategory

implements StringRepresentable

dbr
net.minecraft.world.item.crafting.CraftingBookCategory
net.minecraft.class_7710
net.minecraft.recipe.book.CraftingRecipeCategory
net.minecraft.world.item.crafting.CraftingBookCategory

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (String arg0, int arg1)

Method summary

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