本文整理汇总了Java中net.minecraft.world.ColorizerGrass.setGrassBiomeColorizer方法的典型用法代码示例。如果您正苦于以下问题:Java ColorizerGrass.setGrassBiomeColorizer方法的具体用法?Java ColorizerGrass.setGrassBiomeColorizer怎么用?Java ColorizerGrass.setGrassBiomeColorizer使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.minecraft.world.ColorizerGrass
的用法示例。
在下文中一共展示了ColorizerGrass.setGrassBiomeColorizer方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onResourceManagerReload
import net.minecraft.world.ColorizerGrass; //导入方法依赖的package包/类
public void onResourceManagerReload(IResourceManager resourceManager)
{
try
{
ColorizerGrass.setGrassBiomeColorizer(TextureUtil.readImageData(resourceManager, LOC_GRASS_PNG));
}
catch (IOException var3)
{
;
}
}
示例2: onResourceManagerReload
import net.minecraft.world.ColorizerGrass; //导入方法依赖的package包/类
public void onResourceManagerReload(IResourceManager par1ResourceManager)
{
try
{
ColorizerGrass.setGrassBiomeColorizer(TextureUtil.readImageData(par1ResourceManager, field_130078_a));
}
catch (IOException var3)
{
;
}
}
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:12,代码来源:GrassColorReloadListener.java
示例3: onResourceManagerReload
import net.minecraft.world.ColorizerGrass; //导入方法依赖的package包/类
public void onResourceManagerReload(IResourceManager p_110549_1_)
{
try
{
ColorizerGrass.setGrassBiomeColorizer(TextureUtil.readImageData(p_110549_1_, field_130078_a));
}
catch (IOException ioexception)
{
;
}
}
示例4: onResourceManagerReload
import net.minecraft.world.ColorizerGrass; //导入方法依赖的package包/类
public void onResourceManagerReload(ResourceManager par1ResourceManager)
{
try
{
ColorizerGrass.setGrassBiomeColorizer(TextureUtil.readImageData(par1ResourceManager, field_130078_a));
}
catch (IOException ioexception)
{
;
}
}