本文整理汇总了Java中net.minecraftforge.client.MinecraftForgeClient.preloadTexture方法的典型用法代码示例。如果您正苦于以下问题:Java MinecraftForgeClient.preloadTexture方法的具体用法?Java MinecraftForgeClient.preloadTexture怎么用?Java MinecraftForgeClient.preloadTexture使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.minecraftforge.client.MinecraftForgeClient
的用法示例。
在下文中一共展示了MinecraftForgeClient.preloadTexture方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: preloadTexture
import net.minecraftforge.client.MinecraftForgeClient; //导入方法依赖的package包/类
public static void preloadTexture(String filename) {
MinecraftForgeClient.preloadTexture(filename);
}
示例2: registerRenderers
import net.minecraftforge.client.MinecraftForgeClient; //导入方法依赖的package包/类
@Override
public void registerRenderers() {
MinecraftForgeClient.preloadTexture(ITEMS_PNG);
MinecraftForgeClient.preloadTexture(BLOCK_PNG);
}
示例3: registerRenderers
import net.minecraftforge.client.MinecraftForgeClient; //导入方法依赖的package包/类
@Override
public void registerRenderers() {
MinecraftForgeClient.preloadTexture(ITEMS_PNG);
MinecraftForgeClient.preloadTexture(BLOCK_PNG);
}
示例4: registerRenderThings
import net.minecraftforge.client.MinecraftForgeClient; //导入方法依赖的package包/类
@Override
public void registerRenderThings() {
MinecraftForgeClient.preloadTexture("/crystals/CrystalBlocks.png");
MinecraftForgeClient.preloadTexture("/crystals/CrystalItems.png");
}
示例5: registerRenderers
import net.minecraftforge.client.MinecraftForgeClient; //导入方法依赖的package包/类
@Override
public void registerRenderers() {
MinecraftForgeClient.preloadTexture(ITEMS_PNG);
// MinecraftForgeClient.preloadTexture(BLOCK_PNG);
RenderingRegistry.registerEntityRenderingHandler(EntityGenericGoblin.class, new RenderGenericGoblin(new ModelGenericGoblin(), 0.3F));
}
示例6: registerRenderInformation
import net.minecraftforge.client.MinecraftForgeClient; //导入方法依赖的package包/类
@Override
public void registerRenderInformation()
{
MinecraftForgeClient.preloadTexture(RPModule.textureFile);
}
示例7: initTextures
import net.minecraftforge.client.MinecraftForgeClient; //导入方法依赖的package包/类
@Override
public void initTextures() {
MinecraftForgeClient.preloadTexture(ITEMS_TEXTURE);
MinecraftForgeClient.preloadTexture(INV_TEXTURE);
}
示例8: registerRenderers
import net.minecraftforge.client.MinecraftForgeClient; //导入方法依赖的package包/类
@Override
public void registerRenderers() {
MinecraftForgeClient.preloadTexture(TEXTURE_ITEMS);
MinecraftForgeClient.preloadTexture(TEXTURE_BLOCKS);
}