
DanPerry1808
Forge Modder-
Posts
21 -
Joined
-
Last visited
Everything posted by DanPerry1808
-
[SOLVED][1.9.4] Transparent texture not rendering correctly
DanPerry1808 replied to DanPerry1808's topic in Modder Support
Sorry, new to the JSON rendering system, long time gone from modding. Which json file do I need to put this in and where, for me all the glass JSON files are identical to my file except for texture name. -
[SOLVED][1.9.4] Transparent texture not rendering correctly
DanPerry1808 replied to DanPerry1808's topic in Modder Support
Sorry, new to the JSON rendering system, long time gone from modding. Which json file do I need to put this in and where, for me all the glass JSON files are identical to my file except for texture name. -
[SOLVED][1.9.4] Transparent texture not rendering correctly
DanPerry1808 replied to DanPerry1808's topic in Modder Support
I have created a block that has transparency in its texture. When it loads the texture in game, the texture works as intended when the block is being held in the player's hand but when placed, the transparent parts are rendered as opaque white as if 'isOpaqueCube()' is set to true, though it is definitely set to false. Block code models/block .json file models/item .json file blockstates .json file Console Log Thanks for the help. -
I have created a block that has transparency in its texture. When it loads the texture in game, the texture works as intended when the block is being held in the player's hand but when placed, the transparent parts are rendered as opaque white as if 'isOpaqueCube()' is set to true, though it is definitely set to false. Block code models/block .json file models/item .json file blockstates .json file Console Log Thanks for the help.
-
[SOLVED][1.9.4] getCurrentArmour() replacement
DanPerry1808 replied to DanPerry1808's topic in Modder Support
I'm trying to update my mod which deals with armour giving potion effects when worn but I can't find the replacement for getCurrentArmor(int slot) in EntityPlayer which is vital for doing this. Can anyone tell me the new way of getting it? Thanks -
I'm trying to update my mod which deals with armour giving potion effects when worn but I can't find the replacement for getCurrentArmor(int slot) in EntityPlayer which is vital for doing this. Can anyone tell me the new way of getting it? Thanks
-
[1.8] EnumHelper NoSuchMethodException
DanPerry1808 replied to DanPerry1808's topic in Modder Support
Thnaks, I'll just wait for a while until its updated, if anyone else still wants to test their mod, they should comment out all EnumHelper related items. -
I've just got rid of the last few errors in my mod but when I ran the game I ended up with a NoSuchMethodException that seems to point to the addArmorMaterial method, here is my crash log
-
I'm getting the same error on that. Sorry, I hadn't compiled my mod before now but the method showed up fine for me so I thought all was fine. I'll make a new thread outlining the error and get back once it's been solved.
-
Sorry, first time updating w/o tutorials but I've got it now, thanks a bunch
-
Is this 1.7.10 or 1.8 you're trying to do this in?
-
Sorry, I have lots of errors with this, I have no idea what's changed or what to change, here is my full class: public class InvisOreWorldGeneration implements IWorldGenerator{ @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.getDimensionId()){ case -1 : generateNether(world, random, chunkX * 16, chunkZ * 16); case 0 : generateSurface(world, random, chunkX * 16, chunkZ * 16); } } private void generateSurface(World world, Random random, int blockX, int blockZ) { for(int i = 0; i < 10; i++){ int Xcoord = blockX + random.nextInt(16); int Ycoord = random.nextInt(28); int Zcoord = blockZ + random.nextInt(16); new WorldGenMinable(DanArmourMain.invisore, 4).generate(world, random, pos); } } private void generateNether(World world, Random random, int i, int j) { } } I've got an error on new WroldGenMineable because it needs invisore (my block) to be a block state. Also, inserting a BlockPos into the generate method means I have to put it into the generateSurface parameters, which in turn needs one in main generate method, which then causes an error with the @Override meaning that it no longer implements the needed method for IWorldGenerator.
-
I'm having trouble with updating my generateSurface method, here's the code: private void generateSurface(World world, Random random, int blockX, int blockZ) { for(int i = 0; i < 10; i++){ int Xcoord = blockX + random.nextInt(16); int Ycoord = random.nextInt(28); int Zcoord = blockZ + random.nextInt(16); new WorldGenMinable(DanArmourMain.invisore, 4).generate(world, random, Xcoord, Ycoord, Zcoord); } } hope this helps
-
Hey, I'm almost done updating to 1.8 (11.14.0.1239) but one of the last things is ore generation and I'm having trouble with the new BlockPos system, any help with this would be much appreciated.
-
It seems to be there for me (I'm using 11.14.0.1239) try manually importing "net.minecraftforge.common.util.EnumHelper" and see if that helps.
-
Source not found when opening minecraft class
DanPerry1808 replied to chasingfire_hpps's topic in Modder Support
I find that when I start a new workspace I do two commands, or my workspace fails, try typing in: gradlew setupDecompWorkspace and then after that, gradlew eclipse (or whatever you are using) -
[1.7.2] Mod not showing up at all when exported
DanPerry1808 replied to DanPerry1808's topic in Modder Support
I've updated to the latest recommended version (10.12.1.1060) but still nothing unfortunately. Any more ideas? -
[1.7.2] Mod not showing up at all when exported
DanPerry1808 replied to DanPerry1808's topic in Modder Support
After following your previous instructions my folder path for all my code is C:\Users\User\Documents\Mods\Dan's Misc Mod 1.7.2\forge-1.7.2-10.12.0.1024-src\src\main\java and the folder path for my all assets and mcmod.info file is: C:\Users\User\Documents\Mods\Dan's Misc Mod 1.7.2\forge-1.7.2-10.12.0.1024-src\src\main\resources Hope this helps! -
[1.7.2] Mod not showing up at all when exported
DanPerry1808 replied to DanPerry1808's topic in Modder Support
I tried that, and even made a clean install of forge in a new workspace but the same thing still happens, any ideas? -
Hi, I've just finished my mod for 1.7.2 and followed ScratchForFun's tutorial on exporting it (using gradlew build), but after putting the .jar file into my mods folder in my .minecraft folder, and launching my forge 1.7.2 profile, it will not register it as a mod, it won't show up on the mods screen on the title page and none of my mod's item/blocks are in the game. I believe this is something to do with the way my src folders are set up in my workspace, but you can judge for your self with this video showing you my folder setup and what happens when I export my mod: https://www.youtube.com/watch?v=hgfzS4B8iZg Thanks for helping!!