本文整理汇总了Java中cpw.mods.fml.client.registry.RenderingRegistry.addNewArmourRendererPrefix方法的典型用法代码示例。如果您正苦于以下问题:Java RenderingRegistry.addNewArmourRendererPrefix方法的具体用法?Java RenderingRegistry.addNewArmourRendererPrefix怎么用?Java RenderingRegistry.addNewArmourRendererPrefix使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类cpw.mods.fml.client.registry.RenderingRegistry
的用法示例。
在下文中一共展示了RenderingRegistry.addNewArmourRendererPrefix方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: load
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public void load()
{
ItemQuantumGoggles.s_renderIndex = RenderingRegistry.addNewArmourRendererPrefix( "qcraft:goggles" );
super.load();
// Setup renderers
int gateID = RenderingRegistry.getNextAvailableRenderId();
QCraft.Blocks.quantumLogic.blockRenderID = gateID;
m_renderBlocks = new RenderBlocks();
QCraft.Blocks.qBlock.blockRenderID = RenderingRegistry.getNextAvailableRenderId();
// Setup client forge handlers
registerForgeHandlers();
}
示例2: postInit
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public void postInit(FMLPostInitializationEvent event)
{
IModelCustom chamberModel = AdvancedModelLoader.loadModel(new ResourceLocation(MarsModule.ASSET_PREFIX, "models/chamber.obj"));
IModelCustom cargoRocketModel = AdvancedModelLoader.loadModel(new ResourceLocation(MarsModule.ASSET_PREFIX, "models/cargoRocket.obj"));
// Tile Entity Renderers
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTreasureChestMars.class, new TileEntityTreasureChestRenderer());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCryogenicChamber.class, new TileEntityCryogenicChamberRenderer(chamberModel));
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTerraformer.class, new TileEntityBubbleProviderRenderer(0.25F, 1.0F, 0.25F));
// Entities
RenderingRegistry.registerEntityRenderingHandler(EntitySludgeling.class, new RenderSludgeling());
RenderingRegistry.registerEntityRenderingHandler(EntitySlimeling.class, new RenderSlimeling());
RenderingRegistry.registerEntityRenderingHandler(EntityCreeperBoss.class, new RenderCreeperBoss());
RenderingRegistry.registerEntityRenderingHandler(EntityTier2Rocket.class, new RenderTier1Rocket(new ModelTier2Rocket(), MarsModule.ASSET_PREFIX, "rocketT2"));
// RenderingRegistry.registerEntityRenderingHandler(EntityTerraformBubble.class, new RenderBubble(0.25F, 1.0F, 0.25F));
RenderingRegistry.registerEntityRenderingHandler(EntityProjectileTNT.class, new RenderProjectileTNT());
RenderingRegistry.registerEntityRenderingHandler(EntityLandingBalloons.class, new RenderLandingBalloons());
RenderingRegistry.registerEntityRenderingHandler(EntityLandingBalloons.class, new RenderLandingBalloons());
RenderingRegistry.registerEntityRenderingHandler(EntityCargoRocket.class, new RenderCargoRocket(cargoRocketModel));
// Add Armor Renderer Prefix
RenderingRegistry.addNewArmourRendererPrefix("desh");
// Item Renderers
MinecraftForgeClient.registerItemRenderer(MarsItems.spaceship, new ItemRendererTier2Rocket(cargoRocketModel));
MinecraftForgeClient.registerItemRenderer(MarsItems.key, new ItemRendererKey(new ResourceLocation(MarsModule.ASSET_PREFIX, "textures/model/treasure.png")));
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(MarsBlocks.machine), new ItemRendererMachine(chamberModel));
}
示例3: preInit
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public void preInit(FMLPreInitializationEvent event)
{
ClientProxyCore.scaleup.put(ClientProxyCore.numbers, 0, 16);
ClientProxyCore.renderIndexSensorGlasses = RenderingRegistry.addNewArmourRendererPrefix("sensor");
ClientProxyCore.renderIndexHeavyArmor = RenderingRegistry.addNewArmourRendererPrefix("titanium");
if (Loader.isModLoaded("PlayerAPI"))
{
ClientPlayerAPI.register(Constants.MOD_ID_CORE, GCPlayerBaseSP.class);
}
}
示例4: registerRenderers
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public void registerRenderers() {
RenderingRegistry.addNewArmourRendererPrefix("PigtiteArmor");
/*RenderingRegistry.registerEntityRenderingHandler(GGPGnomorian.class, new GGPMobsRenderer(new ModelBiped(), 0.4F, "Gnomorian"));
RenderingRegistry.registerEntityRenderingHandler(GGPBudder92.class, new GGPMobsRenderer(new ModelBiped(), 0.4F, "Budder92"));
RenderingRegistry.registerEntityRenderingHandler(GGPdomonator12.class, new GGPMobsRenderer(new ModelBiped(), 0.4F, "domonator12"));
RenderingRegistry.registerEntityRenderingHandler(GGPJo10Trot.class, new GGPMobsRenderer(new ModelBiped(), 0.4F, "Jo10Trot"));
RenderingRegistry.registerEntityRenderingHandler(GGPMIXERRULES.class, new GGPMobsRenderer(new ModelBiped(), 0.4F, "MIXERRULES"));
RenderingRegistry.registerEntityRenderingHandler(GGPMonkrules10.class, new GGPMobsRenderer(new ModelBiped(), 0.4F, "Monkrules10"));*/
}
示例5: preInit
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public void preInit(FMLPreInitializationEvent event) {
ClientProxyVenus.renderIndexRubyArmor = RenderingRegistry.addNewArmourRendererPrefix("ruby");
ClientProxyVenus.renderIndexSulfurArmor = RenderingRegistry.addNewArmourRendererPrefix("sulfur");
ClientProxyVenus.renderIndexJetpack = RenderingRegistry.addNewArmourRendererPrefix("jetpack");
super.preInit(event);
}
示例6: addArmor
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
public int addArmor(String armor){
return RenderingRegistry.addNewArmourRendererPrefix(armor);
}
示例7: registerRenderer
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@SideOnly(Side.CLIENT)
private void registerRenderer() {
this.renderIndex = RenderingRegistry.addNewArmourRendererPrefix(material.name());
}
示例8: load
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
public static void load()
{
RenderingRegistry.addNewArmourRendererPrefix("5");
RenderingRegistry.addNewArmourRendererPrefix("6");
RenderingRegistry.addNewArmourRendererPrefix("7");
RenderingRegistry.addNewArmourRendererPrefix("8");
RenderingRegistry.addNewArmourRendererPrefix("9");
RenderingRegistry.addNewArmourRendererPrefix("10");
RenderingRegistry.addNewArmourRendererPrefix("11");
RenderingRegistry.addNewArmourRendererPrefix("12");
RenderingRegistry.addNewArmourRendererPrefix("13");
RenderingRegistry.addNewArmourRendererPrefix("14");
RenderingRegistry.addNewArmourRendererPrefix("15");
RenderingRegistry.addNewArmourRendererPrefix("16");
RenderingRegistry.addNewArmourRendererPrefix("17");
RenderingRegistry.addNewArmourRendererPrefix("18");
RenderingRegistry.addNewArmourRendererPrefix("19");
RenderingRegistry.addNewArmourRendererPrefix("20");
RenderingRegistry.addNewArmourRendererPrefix("21");
RenderingRegistry.registerEntityRenderingHandler(EntityVillagerDim.class, new RenderVillagerDim());
RenderingRegistry.registerEntityRenderingHandler(EntityGhastFrozen.class, new RenderGhastFrozen());
RenderingRegistry.registerEntityRenderingHandler(EntitySlimeFrozen.class, new RenderSlimeFrozen(new ModelSlime(16), new ModelSlime(0), 0.25F));
RenderingRegistry.registerEntityRenderingHandler(EntitySnowCube.class, new RenderSnowCube());
RenderingRegistry.registerEntityRenderingHandler(EntityFrozenCube.class, new RenderFrozenCube());
RenderingRegistry.registerEntityRenderingHandler(EntitySlave.class, new RenderSlave());
RenderingRegistry.registerEntityRenderingHandler(EntityStymph.class, new RenderStymph(new ModelStymph(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityCentaure.class, new RenderCentaure(new ModelCentaure(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntitySummonZombie.class, new RenderSummonZombie());
RenderingRegistry.registerEntityRenderingHandler(EntityBossOrc.class, new RenderBossOrc(new ModelRoiOrc(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityOrc.class, new RenderOrc(new ModelOrc(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityMageOrc.class, new RenderMageOrc(new ModelMageOrc(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityLutin.class, new RenderLutin(new ModelLutin(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityGobelin.class, new RenderGobelin(new ModelGobelin(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityArkavon.class, new RenderArkavon(new ModelArkavon(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityMonsterZombie.class, new RenderZombieMonster(new ModelZombieMonster(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityCrocotta.class, new RenderCrocotta(new ModelCrocotta(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityChevalier.class, new RenderChevalier(new ModelChevalier(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityLibellule.class, new RenderLibellule(new ModelLibellule(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityBelier.class, new RenderBelier(new ModelBelier(), 0.7F));
RenderingRegistry.registerEntityRenderingHandler(EntityHaunter.class, new RenderHaunter(new ModelHaunter(), 0.7F));
}
示例9: addArmor
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public int addArmor(String armor)
{
return RenderingRegistry.addNewArmourRendererPrefix(armor);
}
示例10: addArmor
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
public int addArmor(String armor) {
return RenderingRegistry.addNewArmourRendererPrefix(armor);
}
示例11: addArmorPrefix
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
public int addArmorPrefix(String armor) {
return RenderingRegistry.addNewArmourRendererPrefix(armor);
}
示例12: getArmorIndex
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public int getArmorIndex(String string)
{
return RenderingRegistry.addNewArmourRendererPrefix(string);
}
示例13: addArmor
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public int addArmor(String armorName) {
return RenderingRegistry.addNewArmourRendererPrefix(armorName);
}
示例14: getArmorIndex
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
@Override
public int getArmorIndex(String armor)
{
return RenderingRegistry.addNewArmourRendererPrefix( armor );
}
示例15: addArmor
import cpw.mods.fml.client.registry.RenderingRegistry; //导入方法依赖的package包/类
public int addArmor(String armor)
{
return RenderingRegistry.addNewArmourRendererPrefix(armor);
}