Interface Asset
- All Known Implementing Classes:
Atlas,BlockState,CoreShader,Equipment,Font,Icon,IncludeShader,ItemDefinition,JsonAsset,Lang,McMeta,Model,PackMcMeta,PostEffect,Sounds,Texture,WaypointStyle
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a generic resource pack asset.
Assets can emit their file data into a map for resource pack compilation.
-
Method Summary
-
Method Details
-
emit
Emits the asset's files into the provided output map.- Parameters:
files- the output map where keys are file paths and values are file contents
-