Everything posted by Draco18s
-
[1.6.4] Textures are being a real PITA
Oh probably anywhere you're using any other set...() commands.
-
[1.6.4] Textures are being a real PITA
setTextureName
-
Logo for my mod [DIMENSION] needed
Mine is already the maximum size that is displayable inside the Minecraft client using the MCMod.info file. It was larger, but I had to downscale it so that it fit. I do not think this word means what you think it means.
-
Logo for my mod [DIMENSION] needed
Here's one of mine http://s30.postimg.org/9dbz9y41t/decay_logo.png[/img] I literally did what I told you to do. I mean yeah, I set up what I wanted to take a screenshot of and that took a little while, but I knew what I wanted and how to get it, so it only took a few minuets.
-
[SOLVED] How to stop a block causing shadows?
If the block isn't transparent (isOpaqueCube returns true) then setLightOpacity does nothing.
-
Will there be a 1.7.4/1.7.8 release?
Six thousand nine hundred and fifty two. Over in the Mystcraft thread on the Minecraft forums we had an account for posting answers to common questions at the top of each page and the mods told us to stop.
-
[solved!][1.6.4] texture woes
{basepath} there referrs to forge\mcp\src\minecraft\
-
Logo for my mod [DIMENSION] needed
Pick any major feature and screenshot that. Add text. Don't use comic sans. Done.
-
[Solved] [1.7.2] Is there a ender pearl throw event?
Gee golly willakers, you never checked to see if the item the player has in their hand is an ender pearl.
-
Logo for my mod [DIMENSION] needed
Run game Go to your dimension Look at anything at all that is interesting and/or a main feature Hit F2 Crop Save Done
-
[1.6.4] How to set custom colors for a custom armor?
Yes. And it's not easy. Take a look at how vanilla handles dyed leather armor. You can also take a look at this class (1.7.2) or this class (1.6.4). The absolutely most important thing to understand is: Vanilla color multiplies a "base" armor texture, then renders a second overlay texture. If the second texture is not transparent, then the colored bits won't show through.
-
[1.7.2 - FIXED] Crafting Error NullPointerException
Don't register your recipes in preInit. Because of the way you've structured your mod, you can't insure that the class that is creating the blocks has created and registered them yet. Move your recipes to Init or PostInit.
-
[1.7.2 - FIXED] Crafting Error NullPointerException
Show your main class.
-
[1.7.2 - FIXED] Crafting Error NullPointerException
GameRegistry.addRecipe(new ItemStack(ARepo.ICobalt_door, 1), new Object[] { "#cc", "#cc", "#cc", Character.valueOf('c'), CMStuff.cobaltwood }); Uh. You know that blank spaces in the crafting grid are defined with SPACES right? The crafting manager is trying to figure out what the # means and can't find it. Also you don't need to do new Object[] because of the way the recieving function is programmed: addRecipe(ItemStack result, Object...) That ... means that any parameters beyond the specified ones are already accessible as an array. GameRegistry.addRecipe(new ItemStack(ARepo.ICobalt_door, 1), " cc", " cc", " cc", Character.valueOf('c'), CMStuff.cobaltwood); BAM. Also, that "character of" bit can also be removed. In Java 'c' is a character already (whereas "c" is a string).
-
How to add a new invisible icon
Then by golly gee. If you can't figure out how to not-render a side then you might have to make an icon for it then. Because one is not provided for you, because Vanilla--like a sane system--simply just does not draw quads when something needs to not be visible.
-
[1.7.2]Synchronise float arrays between client and server
OH NOE! LEARNIN' THIN'S! THE HORROR! Seriously. Packets are not that hard.
-
How to add a new invisible icon
shouldSideRender { return false; } ?
-
[1.7.2]Unreported exception thrown in DataWatcher
Internally datawatchers use packets. Ergo yes.
-
NBT Simulation
Veovis actually figured it out. ^..^ I just borrowed his work. http://binarymage.com/forum/viewtopic.php?p=13045#p13045
-
NBT Simulation
From one of my projects String s="someFileName"; File rendersFolder = new File(DimensionManager.getCurrentSaveRootDirectory(), "LinkRenders"); FileInputStream fis = new FileInputStream(new File(rendersFolder, s)); DataInputStream instream = new DataInputStream(fis); nbt = CompressedStreamTools.read(instream); //reading CompressedStreamTools.write(nbt, new File(rendersFolder, s)); //writing instream.close(); fis.close();
-
Minecraft Crashes for Unknown Reason??
Don't use the LanguageRegistry. http://www.minecraftforge.net/forum/index.php/topic,15636.msg79415.html#msg79415
-
Errors With Multiple Mods
at biomesoplenty.common.entities.EntityGlob.func_70601_bi(EntityGlob.java:305) at drzhark.customspawner.CustomSpawner.doCustomSpawning(CustomSpawner.java:362) at drzhark.customspawner.handlers.SpawnTickHandler.worldTick(SpawnTickHandler.java:36) Either BoP or Custom Spawner is at fault. Report it to them.
-
New version/location of TickRegistry?
@SubscribeEvent public void tick(ClientTickEvent event) { ... } ?
-
New version/location of TickRegistry?
I believe it was replaced by an event handler.
-
[1.6.4] Custom Rendered Block Glitch
block.setBounds The bounding box is what's used to determine if the block is inside your view. If your model is bigger than the bounds, then of COURSE it'll stop rendering when the bounds leave the view. That's what it's FOR. Now, if you have a block/model that's significantly larger than 1 cube, you should break it up into multiple blocks (you can still have it be one item in the player's inventory, but as far as the World is concerned it's actually several blocks, think pistons).
IPS spam blocked by CleanTalk.