Everything posted by Eternaldoom
-
How to load external texture for a Block
You need to do something with reflection to add a new IResourcePack to the default resource pack list, but I forget where, what, and how.
-
[1.8] Can't get metadata block inventory models to load.
Hi, I'm trying to get my metadata blocks to render in the player's inventory. I can get normal blocks to work, and I can get the metadata blocks to work if they are using a model from another block, but they won't display their own models. They render fine in the world. Here's my code: registerItem(oceanstone_bricks, 0, "realmsofchaos:oceanstone_bricks"); registerItem(oceanstone_bricks, 1, "realmsofchaos:cracked_oceanstone_bricks"); registerItem(oceanstone_bricks, 2, "realmsofchaos:chiseled_oceanstone_bricks"); ... public static void registerItem(Item item, int metadata, String itemName) { ItemModelMesher mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher(); mesher.register(item, metadata, new ModelResourceLocation(itemName, "inventory")); } I think it has something to do with ModelBakery.variantNames, but I can't find a way to get an instance of ModelBakery.
-
Can't Reply to Some Non-Locked Topics
No, I can see where the button should be, but it isn't there. It's in the Forge, Its Time to Say... post in releases.
-
[1.7.10] SideOnly vs FMLCommonHandler.getSide
Read this: http://www.minecraftforge.net/forum/index.php/topic,22764.msg115304.html#msg115304
-
Can't Reply to Some Non-Locked Topics
Hi, I have noticed that on the Forge forums, I can't reply to some topics (they are not locked). There are replies posted on them by non-admins, but I can't find any reply button. Is this a bug, or is there something I have to agree to?
-
1.8 Update Questions
Here: https://github.com/Eternaldoom/Realms-of-Chaos/blob/1.8/com/eternaldoom/realmsofchaos/blocks/ROCBlocks.java Just copy the registry methods at the bottom. They are similar to ironchest. The problem isn't your block's rendering, it's an FML bug.
-
1.8 Update Questions
That should be automatic. Do you have a block state file? And here's a simple block and item model generator that should make the model files a lot faster to generate.
-
[1.7.10]Adding an item with metadata to the Creative Tab List?
Override getSubItems
-
1.8 Update Questions
He said they have FML betas. I recommend downloading that, commenting out you forge code, and updating the rest. That way, when forge is released, you can update quickly. Btw, your mod Essence looks really cool, does it have a website?
-
1.8 Update Questions
Oops sorry its: mesher.register(TestMod.TestItem, 0, new ModelResourceLocation("testmod:TestItem", "inventory"));
-
1.8 Update Questions
Try this: mesher.register(TestMod.TestItem, 0, new ModelResourceLocation("TestItem", "inventory"));
-
Custom model broken texture for hit and destroy particles [SOLVED] [1.7.10]
Set the texture to a 16x block texture and the render type to -1.
-
Entity texture is just a white box. Help
You have registered the entity, but not the renderer. Update to 1.7.10, 1.6.4 is obsolete and no longer supported.
-
[1.8] Custom Slabs and Stairs Lighting Problem
That worked. It was useNeighborBrightness. Thanks!
-
[1.8] Custom Slabs and Stairs Lighting Problem
Thanks I'll try that.
-
Modding tutorial vids for making a dimension [1.7.10]
Src/main/java/com/eternaldoom/realmsofchaos/water/gen. Look at WorldProviderWater and ChunkProviderWater. Also, look at the main class for how I register the dimension. Please don't copy/paste my code.
-
[1.8] Custom Slabs and Stairs Lighting Problem
It's not forge, it's fml. Forge hasn't been released yet. SetLightOpacity(0) did work, but then the blocks are completely transparent, right?
-
[1.7.10]Custom Ladder. Full 1m block.
It only works when you are inside the block, so make the collision box slightly smaller (like a cactus), but have it render as a normal block.
-
1.8 Update Questions
Whenever you register an Item/Block, add its name to an ArrayList. In your client proxy (in init, not preinit), Use GameRegistry.findItem on every String in the ArrayList and: ItemModelMesher mesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher(); mesher.register(theItem/itemBlock, 0, new ModelResourceLocation(itemName, "inventory"));
-
[1.8][Open Source] Realms of Chaos Alpha 1.1
The 1.8 version is almost complete! It is missing several features (they are commented out until Forge updates), but most of the mod is updated.
-
[1.7.2 - 1.7.10] ThePhysician2000's Furniture Mod; Updated 2015/2/15
Also, If you want, I can help update this to 1.8.
-
[1.7.10] Need help with rendered block texture
Have a look here.
-
[1.7.10] Need help with rendered block texture
Your texture is in assets/model but it should be in assets/textures/model
-
[1.7.10] Forcing the player to sink in water.
Use a PlayerTickEvent and take the negative absolute value of the players vertical motion.
-
[1.8] Custom Slabs and Stairs Lighting Problem
Hi, I'm updating my mod to 1.8 and noticed that although my stairs and slabs extend BlockStairs and BlockSlab, they make the area above/below them look "shadowed." If I turn off smooth lighting, the area is completely black. Additionally, the faces of the slabs disappear when I place another slab next to them (but a different half). Does anyone know why this is? Is the rendering of slabs and stairs hardcoded into vanilla now?
IPS spam blocked by CleanTalk.