This repository has been archived by the owner on May 13, 2023. It is now read-only.
forked from WayofTime/BloodMagic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8601e9f
Showing
498 changed files
with
45,817 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
*.sln merge=union | ||
*.csproj merge=union | ||
*.vbproj merge=union | ||
*.fsproj merge=union | ||
*.dbproj merge=union | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,215 @@ | ||
################# | ||
## Eclipse | ||
################# | ||
|
||
*.pydevproject | ||
.project | ||
.metadata | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/ | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
|
||
################# | ||
## Visual Studio | ||
################# | ||
|
||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.sln.docstates | ||
|
||
# Build results | ||
|
||
[Dd]ebug/ | ||
[Rr]elease/ | ||
x64/ | ||
build/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
*_i.c | ||
*_p.c | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.tmp_proj | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
*.pidb | ||
*.log | ||
*.scc | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opensdf | ||
*.sdf | ||
*.cachefile | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
# Guidance Automation Toolkit | ||
*.gpState | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper*/ | ||
*.[Rr]e[Ss]harper | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
*.ncrunch* | ||
.*crunch*.local.xml | ||
|
||
# Installshield output folder | ||
[Ee]xpress/ | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish/ | ||
|
||
# Publish Web Output | ||
*.Publish.xml | ||
*.pubxml | ||
|
||
# NuGet Packages Directory | ||
## TODO: If you have NuGet Package Restore enabled, uncomment the next line | ||
#packages/ | ||
|
||
# Windows Azure Build Output | ||
csx | ||
*.build.csdef | ||
|
||
# Windows Store app package directory | ||
AppPackages/ | ||
|
||
# Others | ||
sql/ | ||
*.Cache | ||
ClientBin/ | ||
[Ss]tyle[Cc]op.* | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.[Pp]ublish.xml | ||
*.pfx | ||
*.publishsettings | ||
|
||
# RIA/Silverlight projects | ||
Generated_Code/ | ||
|
||
# Backup & report files from converting an old project file to a newer | ||
# Visual Studio version. Backup files are not needed, because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
# SQL Server files | ||
App_Data/*.mdf | ||
App_Data/*.ldf | ||
|
||
############# | ||
## Windows detritus | ||
############# | ||
|
||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Mac crap | ||
.DS_Store | ||
|
||
|
||
############# | ||
## Python | ||
############# | ||
|
||
*.py[co] | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist/ | ||
build/ | ||
eggs/ | ||
parts/ | ||
var/ | ||
sdist/ | ||
develop-eggs/ | ||
.installed.cfg | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.tox | ||
|
||
#Translations | ||
*.mo | ||
|
||
#Mr Developer | ||
.mr.developer.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package WayofTime.alchemicalWizardry; | ||
|
||
import cpw.mods.fml.relauncher.Side; | ||
import cpw.mods.fml.relauncher.SideOnly; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.client.renderer.texture.IconRegister; | ||
|
||
public class TestingBlock extends Block | ||
{ | ||
public TestingBlock(int id, Material material) | ||
{ | ||
super(id, material); | ||
} | ||
|
||
@Override | ||
@SideOnly(Side.CLIENT) | ||
public void registerIcons(IconRegister iconRegister) | ||
{ | ||
this.blockIcon = iconRegister.registerIcon("AlchemicalWizardry:Testing"); | ||
} | ||
} |
121 changes: 121 additions & 0 deletions
121
BM_src/WayofTime/alchemicalWizardry/client/ClientProxy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
package WayofTime.alchemicalWizardry.client; | ||
|
||
import net.minecraft.world.World; | ||
import net.minecraftforge.client.MinecraftForgeClient; | ||
import WayofTime.alchemicalWizardry.common.AlchemicalWizardry; | ||
import WayofTime.alchemicalWizardry.common.CommonProxy; | ||
import WayofTime.alchemicalWizardry.common.EntityAirElemental; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityBileDemon; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityBoulderFist; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityEarthElemental; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityFallenAngel; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityFireElemental; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityHolyElemental; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityIceDemon; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityLowerGuardian; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityShade; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityShadeElemental; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntitySmallEarthGolem; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityWaterElemental; | ||
import WayofTime.alchemicalWizardry.common.entity.mob.EntityWingedFireDemon; | ||
import WayofTime.alchemicalWizardry.common.entity.projectile.EnergyBlastProjectile; | ||
import WayofTime.alchemicalWizardry.common.entity.projectile.EntityEnergyBazookaMainProjectile; | ||
import WayofTime.alchemicalWizardry.common.entity.projectile.EntityMeteor; | ||
import WayofTime.alchemicalWizardry.common.renderer.block.RenderConduit; | ||
import WayofTime.alchemicalWizardry.common.renderer.block.RenderPedestal; | ||
import WayofTime.alchemicalWizardry.common.renderer.block.RenderPlinth; | ||
import WayofTime.alchemicalWizardry.common.renderer.block.RenderWritingTable; | ||
import WayofTime.alchemicalWizardry.common.renderer.block.TEAltarRenderer; | ||
import WayofTime.alchemicalWizardry.common.renderer.block.itemRender.TEAltarItemRenderer; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderBileDemon; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderBoulderFist; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderElemental; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderFallenAngel; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderIceDemon; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderLowerGuardian; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderShade; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderSmallEarthGolem; | ||
import WayofTime.alchemicalWizardry.common.renderer.mob.RenderWingedFireDemon; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelBileDemon; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelBoulderFist; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelElemental; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelFallenAngel; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelIceDemon; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelLowerGuardian; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelShade; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelSmallEarthGolem; | ||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelWingedFireDemon; | ||
import WayofTime.alchemicalWizardry.common.renderer.projectile.RenderEnergyBazookaMainProjectile; | ||
import WayofTime.alchemicalWizardry.common.renderer.projectile.RenderEnergyBlastProjectile; | ||
import WayofTime.alchemicalWizardry.common.renderer.projectile.RenderMeteor; | ||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar; | ||
import WayofTime.alchemicalWizardry.common.tileEntity.TEConduit; | ||
import WayofTime.alchemicalWizardry.common.tileEntity.TEPedestal; | ||
import WayofTime.alchemicalWizardry.common.tileEntity.TEPlinth; | ||
import WayofTime.alchemicalWizardry.common.tileEntity.TEWritingTable; | ||
import cpw.mods.fml.client.FMLClientHandler; | ||
import cpw.mods.fml.client.registry.ClientRegistry; | ||
import cpw.mods.fml.client.registry.RenderingRegistry; | ||
|
||
public class ClientProxy extends CommonProxy | ||
{ | ||
public static int renderPass; | ||
public static int altarRenderType; | ||
|
||
@Override | ||
public void registerRenderers() | ||
{ | ||
//altarRenderType = RenderingRegistry.getNextAvailableRenderId(); | ||
RenderingRegistry.registerEntityRenderingHandler(EnergyBlastProjectile.class, new RenderEnergyBlastProjectile()); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityEnergyBazookaMainProjectile.class, new RenderEnergyBazookaMainProjectile()); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityMeteor.class, new RenderMeteor()); | ||
//EntityRegistry.registerGlobalEntityID(EntityFallenAngel.class, "AlchemicalWizardry.FallenAngel", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityFallenAngel.class, new RenderFallenAngel(new ModelFallenAngel(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityLowerGuardian.class, "AlchemicalWizardry.LowerGuardian", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityLowerGuardian.class, new RenderLowerGuardian(new ModelLowerGuardian(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityBileDemon.class, "AlchemicalWizardry.BileDemon", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityBileDemon.class, new RenderBileDemon(new ModelBileDemon(), 1.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityWingedFireDemon.class, "AlchemicalWizardry.WingedFireDemon", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityWingedFireDemon.class, new RenderWingedFireDemon(new ModelWingedFireDemon(), 1.0F)); | ||
//EntityRegistry.registerGlobalEntityID(EntitySmallEarthGolem.class, "AlchemicalWizardry.SmallEarthGolem", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntitySmallEarthGolem.class, new RenderSmallEarthGolem(new ModelSmallEarthGolem(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityIceDemon.class, "AlchemicalWizardry.IceDemon", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityIceDemon.class, new RenderIceDemon(new ModelIceDemon(), 0.5F)); | ||
// EntityRegistry.registerGlobalEntityID(EntityBoulderFist.class, "AlchemicalWizardry.BoulderFist", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityBoulderFist.class, new RenderBoulderFist(new ModelBoulderFist(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityShade.class, "AlchemicalWizardry.Shade", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityShade.class, new RenderShade(new ModelShade(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityAirElemental.class, "AlchemicalWizardry.AirElemental", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityAirElemental.class, new RenderElemental(new ModelElemental(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityWaterElemental.class, "AlchemicalWizardry.WaterElemental", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityWaterElemental.class, new RenderElemental(new ModelElemental(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityEarthElemental.class, "AlchemicalWizardry.EarthElemental", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityEarthElemental.class, new RenderElemental(new ModelElemental(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityFireElemental.class, "AlchemicalWizardry.FireElemental", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityFireElemental.class, new RenderElemental(new ModelElemental(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityShadeElemental.class, "AlchemicalWizardry.ShadeElemental", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityShadeElemental.class, new RenderElemental(new ModelElemental(), 0.5F)); | ||
//EntityRegistry.registerGlobalEntityID(EntityHolyElemental.class, "AlchemicalWizardry.HolyElemental", EntityRegistry.findGlobalUniqueEntityId(),0x40FF00, 0x0B610B); | ||
RenderingRegistry.registerEntityRenderingHandler(EntityHolyElemental.class, new RenderElemental(new ModelElemental(), 0.5F)); | ||
ClientRegistry.bindTileEntitySpecialRenderer(TEPedestal.class, new RenderPedestal()); | ||
ClientRegistry.bindTileEntitySpecialRenderer(TEPlinth.class, new RenderPlinth()); | ||
ClientRegistry.bindTileEntitySpecialRenderer(TEWritingTable.class, new RenderWritingTable()); | ||
ClientRegistry.bindTileEntitySpecialRenderer(TEConduit.class, new RenderConduit()); | ||
//RenderingRegistry.registerEntityRenderingHandler(FireProjectile.class, new RenderFireProjectile()); | ||
//RenderingRegistry.registerBlockHandler(new AltarRenderer()); | ||
} | ||
|
||
@Override | ||
public World getClientWorld() | ||
{ | ||
return FMLClientHandler.instance().getClient().theWorld; | ||
} | ||
|
||
@Override | ||
public void InitRendering() | ||
{ | ||
ClientRegistry.bindTileEntitySpecialRenderer(TEAltar.class, new TEAltarRenderer()); | ||
MinecraftForgeClient.registerItemRenderer(AlchemicalWizardry.blockAltar.blockID, new TEAltarItemRenderer()); | ||
//MinecraftForgeClient.registerItemRenderer(AlchemicalWizardry.blockWritingTable.blockID, new TEWritingTableItemRenderer()); | ||
} | ||
} |
Oops, something went wrong.