Everything posted by ss7
-
EntityFX setParticleIcon
Hello, Thank you, working now! SOLVED ss7
-
recompile.sh is not recompiling all .java files
Hello, I've recently update my forge to 1.6.4 from 1.6.2 and the problem was in both of the versions. Should i run updatemd5.sh? ss7
-
EntityItem onUpdate() NullPointerException
Hello, OK, now i'm incrementing the item's age every tick. That works sometimes for one full 360° rotation, but then it resets to the initial rotation. I've tried setting also the rotationYaw, but that doesn't worked. How have you done that? ss7
-
EntityItem onUpdate() NullPointerException
Hello, I'm trying to adjust the rotationYaw of the EntityItem but it doesn't seem to work, it's just not rotating. I was even looking at the onUpdate() method of EntityItem but it also set's no rotationYaw. ss7
-
EntityFX setParticleIcon
Hello, I'm having problems with setting a texture for a particle effect. I've found the method setParticleIcon() but i don't have the method registerIcons() in my EntityFX. So i'm wondering how to set a texture for a particle effect. I think you guys know how Thank you in advance! ss7
-
recompile.sh is not recompiling all .java files
Hello, But i've looked at the reobf folder and there are NOT ALL my java files in there! Also it says i should use -source 7 for switch statements with strings, but i've tried it like this: bash recompile.sh -source 7 and it doesn't worked. ss7
-
recompile.sh is not recompiling all .java files
Hello, I'm trying to distribute my mod, so i'm running recompile.sh and reobfuscate_srg.sh (cause i'm on a Mac (Hackintosh)). But when i start Minecraft with that mod it says that it's missing some class files. So i counted the number of files i have and the number of files that were showed at recompile.sh and that was only half of the files i originally have, so i think it's only recompiling files that are new. But is there a config-option or a .txt with that i can reset this, so it recompiles all my files? Thank you in advance! ss7
-
EntityItem onUpdate() NullPointerException
Hello, And!..........You will wonder......i am giving it the worldObj of the TileEntity ! So i thought the problem would be that the TileEntity's worldObj is not initialized, but i made a test with a bool that is true when it initialized the EntityItem, but that's also not working. It's working sometimes, but not always. ss7
-
EntityItem onUpdate() NullPointerException
Hello, I'm trying to render a EntityItem above a Block and that works, but i want it to rotate, so i call item.onUpdate() in my updateEntity() of my TileEntity . The problem is, that the game crashes with a NullPointerException, even if i check for item != null. Here is the full crash log: http://gw.minecraftforge.net/BGXq But when i look at the error line there is only this.worldObj.theProfiler.startSection("entityBaseTick"); but i think that this has nothing to do with it. Here is my updateEntity() : I hope you can help! PS: As you can see i really like this Teletype function ss7
-
Remove from CreativeTab
Hello, Thank you draco, it works now! SOLVED ss7
-
Advanced Model Loader: The resource name could not be found
Hello, Thank you draco, it works now! But for the model, i tried modid:texturepath but it doesn't work. ss7
-
[1.6.4]Custom mob not spawning / rendering
Hello, I've got a working render class for 1.6.4! I hope this works for you: You might want to adjust glTranslate a little bit, if the entity is stuck in the floor. Tell me if it works! ss7
-
Remove from CreativeTab
Hello, Can i remove a item from a CreativeTab, because i'm adding armor, and i don't wan't it to be in any CreativeTab. Thanks in advance. ss7
-
Advanced Model Loader: The resource name could not be found
Hello, I'm trying to render a obj model with Advanced Model Loader, but it doesn't work, cause it doesn't find the file. Here is my code: AdvancedModelLoader.loadModel("/assets/brickcraft/textures/models/test.obj"); It says the resource name could not be found, but i've seen older tutorials where assets is mods, so i'm assuming that changing mods to assets is right. My obj is at that location, but it's not being found. Thank you in advance. ss7
-
GUI Button Packets (Change variable)
Hello, Problem SOLVED it was that if (scale > 0 && scale > 11) { this.scale = scale; } that was wrong, now it works Thank you! ss7
-
GUI Button Packets (Change variable)
Hello, Yes, i have overridden that already and tried both markBlockForUpdate() and onInventoryChanged() but none of them works. ss7
-
NoClassDefFoundError: net/minecraft/client/renderer/entity/Render
Hello, Whenever is try to start the minecraft server in eclipse, it crashes with this: I think it has something to do that a renderer is registered on the server side. BTW: I'm not using ClientProxy and CommonProxy, is that a problem? Thank you! ss7
-
GUI Button Packets (Change variable)
Hello, I'm trying to figure out how to change a variable in my TileEntity, when a button is pressed and updating all the players about that change. I have 1 number and 2 buttons one for increment the other for decrement. I think, i need packets. So i'm sending a packet when a button is pressed like this: My PacketHelper class is like this: It just creates a packet with a integer list for data storing. Here is my PacketHandler class: I checked if a packet is incoming and it is, but the var in the GUI is not updating. I've tried it with world.markBlockForUpdate(x, y, z) but that doesn't worked. Thank you in advance! ss7
-
partialTickTime getting fast
Hello, WOW, thank you very much! Now it's working perfectly, looking so cool, with glScalef(10, 10, 10) This is now SOLVED ss7
-
partialTickTime getting fast
Hello, Thank you for your REALLY long answer. I understood parts of it, but not all. So i'm passing the one parameter that's a float, i think that's the right, because partialTickTime is also a float. But now the item is flickering. If i'm just passing a 0 it's not. So i think i should use glRotatef (argh, i don't know which font you're using for programming stuff) but i don't know the arguments to make it spin (I experimented a bit, but i can't get it to work). Can you guys help me? ss7
-
partialTickTime getting fast
Hello, Nope, 360 is not working, and i've noticed that the block is spinning faster, even when i reset the ticks. That's strange. ss7
-
So I've learned Java... How do I learn minecraft?
Hello, First, do these tutorials: http://www.youtube.com/user/VsweGoesMinecraft/videos?view=1&flow=grid They're from the creator of the Steve's Carts Mod and REALLY good. Specially the GUI Tutorials are REALLY helpful. I hope i helped you. PS: I know that Mazetar would have posted this ss7
-
partialTickTime getting fast
Hello, I'm making a block that renders a EntityItem on top of it. Now i wan't this item to be spinning. I'm using this code: RenderManager.instance.renderEntityWithPosYaw(((PoseblockTileEntity)tileentity).item, 0, 0, 0, 0, (float)ticks); ticks += 1.0; The item is spinning, but over time it gets faster and faster. I thought it need to reset the ticks, but when i do if (ticks > 100) { ticks = 0; } It just stops right in the middle of the animation and plays it from scratch. I's there a value at where i can reset, so i't doesn't look like it's beginning from scratch? Thank you! ss7
-
Render EntityItem on top of Block
Hello, Wow, that was it! AWESOME! When i'm only creating one instance of EntityItem it's random rotation, but it's not flickering because the item is not being new every tick, so i don't even have to set the rotation to 0. Thank you everyone! ss7 SOLVED
-
Render EntityItem on top of Block
Hello, Yes, that's it, because MrMasochism code also doesn't work for me. I think i should just create a EntityItem instance in the TileEntity, beacuse the TESR is client-only and i can only modify the rotatations on the server-side. ss7
IPS spam blocked by CleanTalk.