Package com.prupe.mcpatcher.mal.tile
Class TileLoader
java.lang.Object
com.prupe.mcpatcher.mal.tile.TileLoader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinish()static BufferedImagegenerateDebugTexture(String text, int width, int height, boolean alternate) static ResourceLocationgetDefaultAddress(ResourceLocation propertiesAddress) getIcon(ResourceLocation resource) static StringgetOverrideBasename(Object o, String path) static StringgetOverridePath(String prefix, String basePath, String name, String ext) protected booleanisForThisMap(String mapName) static booleanisSpecialTexture(TextureMap map, String texture, String special) static ResourceLocationparseTileAddress(ResourceLocation propertiesAddress, String value) static ResourceLocationparseTileAddress(ResourceLocation propertiesAddress, String value, ResourceLocation blankResource) booleanpreloadTile(ResourceLocation resource, boolean alternate) booleanpreloadTile(ResourceLocation resource, boolean alternate, String special) static voidregisterIcons(TextureMap textureMap, String mapName, Map<String, TextureAtlasSprite> map)
-
Field Details
-
mapName
-
subLogger
-
-
Constructor Details
-
TileLoader
-
-
Method Details
-
registerIcons
public static void registerIcons(TextureMap textureMap, String mapName, Map<String, TextureAtlasSprite> map) -
getOverridePath
-
getOverrideBasename
-
isSpecialTexture
-
generateDebugTexture
public static BufferedImage generateDebugTexture(String text, int width, int height, boolean alternate) -
getDefaultAddress
-
parseTileAddress
-
parseTileAddress
public static ResourceLocation parseTileAddress(ResourceLocation propertiesAddress, String value, ResourceLocation blankResource) -
preloadTile
-
preloadTile
-
isForThisMap
-
finish
public void finish() -
getIcon
-
getIcon
-