net.minecraft.world.item.crafting

public enum CraftingBookCategory

implements StringRepresentable

dgz
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

枚举常量概要

枚举常量
a
BUILDING
field_40248
BUILDING
BUILDING
b
REDSTONE
field_40249
REDSTONE
REDSTONE
c
EQUIPMENT
field_40250
EQUIPMENT
EQUIPMENT
d
MISC
field_40251
MISC
MISC

字段概要

修饰符与类型字段
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_

构造函数概要

修饰符构造函数
private (String p_248827_, int p_249346_)

方法概要

修饰符与类型方法
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
private int
a()
id()
method_56101()
getIndex()
m_320418_()