类 AbstractPackResources
java.lang.Object
net.minecraft.server.packs.AbstractPackResources
- 所有已实现的接口:
AutoCloseable
,PackResources
,IPackResourcesExtension
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.PackResources
PackResources.ResourceOutput
-
字段概要
字段从接口继承的字段 net.minecraft.server.packs.PackResources
METADATA_EXTENSION, PACK_META
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T> T
getMetadataFromStream
(MetadataSectionType<T> p_389726_, InputStream p_10216_) <T> T
getMetadataSection
(MetadataSectionType<T> p_389404_) location()
toString()
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.common.extensions.IPackResourcesExtension
isHidden
从接口继承的方法 net.minecraft.server.packs.PackResources
close, getNamespaces, getResource, getRootResource, knownPackInfo, listResources, packId
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
location
-
-
构造器详细资料
-
AbstractPackResources
-
-
方法详细资料
-
getMetadataSection
- 指定者:
getMetadataSection
在接口中PackResources
- 抛出:
IOException
-
getMetadataFromStream
@Nullable public static <T> T getMetadataFromStream(MetadataSectionType<T> p_389726_, InputStream p_10216_) -
location
- 指定者:
location
在接口中PackResources
-
toString
-