Everything posted by SanAndreaP
-
Very strange dimension error...
Well that's annoying. The guys on #MinecraftForgeTuts IRC specifically told me the opposite when I asked about that very issue, because I read about it somewhere. They said it was "old and outdated, you can use any ID now". So, that being the case... I have quite a lot of blocks across my mod that will be world-generated. Would it be sensible to use metadata to keep the ID count down? If not, chances are there physically wont be enough free IDs for me to use... well, I heard about a new constructor thingy in your WorldProvider/ChunkProvider/whatever or some sort like that, so I'm not sure if there's a way to use higher block IDs now or I just misheard it...
-
Error installing Forge source for MC 1.4.5
Can we see your complete mcp.log? Use pastebin for that.
-
[SOLVED]Texture Issue
and that's why you SHOULD ALWAYS use @Override above your methods you intend to override! Because then you'll see something has changed.
-
[Solved] TileEntity based on metadata
Oh yeah, sorry. My bad. There is a way... Can I see your Block class?
-
[SOLVED] Custom Block - Render model after player Y coordinate
renderAscenderModelAt((TileEntityAscender)tileentity, d0,1,d2,f); There's a typo, you forgot to prepend a 'd' before the 1: renderAscenderModelAt((TileEntityAscender)tileentity, d0,d1,d2,f);
-
[Solved] TileEntity based on metadata
Yes, you can: this.xCoord this.yCoord this.zCoord and call your constructor: this(type)
-
[Solved] TileEntity based on metadata
You probably can call worldObj.getBlockMetadata(X, Y, Z) in your constructor to get the block's metadata. With it you can call your second constructor with the type parameter.
-
Mod only works in eclipse, not in minecraft
The lighting glitch (the black areas) are not fixed yet. They reverted their changes before the release because of performance issues. However, they want to fix that when they're working on the Rendering Engine.
-
Very strange dimension error...
The issue with the stone brick stairs are probably caused by a too high block ID for the terrain generation. Since the block ID values on terrain generation are byte values (which should have been fixed by Mojang, they never did, but oh well) and thus can't go higher than ID 255, you need to set your block IDs (which are used for terrain gen) below that value.
-
Rendering sometimes too dark, changes with camera angle
Did you already try RenderHelper.disableStandardItemLighting(); before you render your stuff?
-
Confused about starting a forge server with extra ram
1. Copy your start.bat, rename it to start_forge.bat or watever 2. Open that bat in your prefered text editor (I have Notepad++, but you can also use Notepad / Editor) 3. change every reference to your minecraft_server.jar to your forge-universal.jar 4. save your copied bat and execute it. Done
-
[Solved]Destroying block...
Seems like your TileEntity is null. Mostly it's caused because the block doesn't set one. Can I see the whole block code of yours? Use pastebin.
-
TileEntity doesn't save any information
If you wanna see how I did it with several blocks, look at the fresh Turret Mod 3 source on github, here: https://github.com/SanAndreasP/TurretModv3/tree/master/sanandreasp/mods/TurretMod3
-
Exhaustion change event?
I suggest using a Tick Handler with TickType.PLAYER (serverside) and check if the hunger / exhaustion reaches a certain level.
-
TileEntity doesn't save any information
You need to send a custom packet within the GUI to the server. To do so, you need a Packet Handler.
-
Decompile Problems: Forge installer OSX 10.5.8 / astyle [solution]
I suggest to change the title a bit, it's misleading. Maybe append " - Solution" to it?
-
[Solved]Entity spawning problem.
You mean this? MinecraftForgeClient.preloadTexture(ITEMS_PNG); MinecraftForgeClient.preloadTexture(BLOCK_PNG); Just ignore that, it's a leftover from the old texture system. Put your Entity Render register method there instead.
-
[Solved]Entity spawning problem.
http://www.minecraftforge.net/wiki/Basic_Modding#Proxy_Classes Please explain what don't you understand there?
-
[Solved]Entity spawning problem.
But if you call this on a dedicated server, it will crash. That's why proxies are there for.
-
[Solved]Destroying block...
Ah, now I see... what error do you get exactly?
-
scala-library.jar not downloading. Alternate Link Please?
Seems more like your browser tries to execute the jar file. Either change the behavior or use an other browser.
-
Fatal error: Minecraft can't launch in its current settings
I already said that he should read the log... the exact issue is explained there.
-
Forge Startup Error
seems like the guava and bcprov files are stull corrupted/not available. Did you download them manually?
-
FML Fatal Error when installing
Read your logs.
-
[Solved]Entity spawning problem.
Look at this, it explains everything pretty well: http://www.minecraftforge.net/wiki/Basic_Modding
IPS spam blocked by CleanTalk.