类 GameData
java.lang.Object
net.neoforged.neoforge.registries.GameData
-
字段概要
字段修饰符和类型字段说明private static final org.slf4j.Logger
private static final org.slf4j.Marker
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
static IdMapper
<BlockState> static Map
<BlockState, Holder<PoiType>> static Set
<ResourceLocation> Creates aLinkedHashSet
containing the ordered list of registry names in the registration order.static void
static void
static void
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
REGISTRIES
private static final org.slf4j.Marker REGISTRIES
-
-
构造器详细资料
-
GameData
public GameData()
-
-
方法详细资料
-
getBlockItemMap
-
getBlockStateIDMap
-
getBlockStatePointOfInterestTypeMap
-
vanillaSnapshot
public static void vanillaSnapshot() -
unfreezeData
public static void unfreezeData() -
freezeData
public static void freezeData() -
postRegisterEvents
public static void postRegisterEvents() -
getRegistrationOrder
Creates aLinkedHashSet
containing the ordered list of registry names in the registration order.The order is Attributes, then the remaining vanilla registries in vanilla order, then modded registries in alphabetical order.
Due to static init issues, this is not necessarily the order that vanilla objects are bootstrapped in.
- 返回:
- A
LinkedHashSet
containing the registration order.
-