-
Posts
81 -
Joined
-
Last visited
Everything posted by WARDOGSK93
-
[SOLVED] [1.7.10] Get all blocks touching each other
WARDOGSK93 replied to WARDOGSK93's topic in Modder Support
the strangest thing is this is exactly what i was trying to do but i kept getting the exception java.lang.StackOverFlowError and i just seem to find away to do it with one for loop so anyways you are saying do something like this https://gist.github.com/WARDOGSK93/79d07b3f89f75b708417 but i have tried this and upon block right click (i have upon right click print out the amount) i get java.lang.StackOverFlowError -
[SOLVED] [1.7.10] Get all blocks touching each other
WARDOGSK93 replied to WARDOGSK93's topic in Modder Support
yeah sorry about the quick bump but im in a rush and getConnectedSides is meant to return all the a ForgeDirection[] of sides but not the side that it was called on (if it said getConnectedSides(ForgeDirection.NORTH) it would return all but NORTH) and getBlocks atm is just meant to return the amount of blocks found (the amount of blocks touching each other) -
[SOLVED] [1.7.10] Get all blocks touching each other
WARDOGSK93 replied to WARDOGSK93's topic in Modder Support
*BUMP* anyone got any idea -
ive being trying to do this for about an hour now and i just cant seem to find a way of doing it with out gettting java.lang.StackOverFlowError all i want is a method to call and pass in a location (a tile entity or x,y,z) and get blocks touching the block at that location (this will include blocks touching blocks that are touching the center block and so on) my TileEntity class https://gist.github.com/WARDOGSK93/bc426050761844031acd#file-testtile-java Console log (sorry about its length) https://gist.github.com/WARDOGSK93/bc426050761844031acd#file-console-log any source code that you want can be found here (War-Utility is just a core mod for my mods its War-Craft that has this code / problem in) https://github.com/WARDOGSK93
-
anyone know why my furnace doesnt smelt items (i have just copy pasted the vanilla Furnace code to fit with how my mod does things but all in all the furnace code is just vanilla) https://github.com/WARDOGSK93/War-Craft/blob/master/src/main/java/com/dogz/mods/WARCRAFT/Common/Blocks/TileEntitys/TileEntityFurnace.java#L83 *SOLUTION* my FurnaceHelper.getBurnTime(ItemStack); was returning 0 for all stacks for some reason
-
yeah im gonna change that now, might have just been whar i was coding before my mc mod but it felt right at the time
-
nevermind i fixed my error it was apparently a continue state being to fast or something, i just removed it and now minecraft loads perfectly fine this is where my error was https://github.com/WARDOGSK93/War-Utility/blob/4e65a5da6b7dd5c12ef9fd180af52d210e190f8f/src/main/java/com/dogz/mods/UTIL/Common/Handler/TickHandler.java#L45
-
do you mean using breakpoints cause i have never used them and dont know how to use them i have just seen them being used sorry *EDIT* sorry for the late reply
-
[1.8][Solved!] ItemStack cannot be resolved to a type
WARDOGSK93 replied to psgarsenal's topic in Modder Support
NP, glad i could help -
*BUMP* so no one knows how to fix this
-
[1.8][Solved!] ItemStack cannot be resolved to a type
WARDOGSK93 replied to psgarsenal's topic in Modder Support
yeah i miss read your post i thought you were having issues with the Object[] {} part not the ItemStack part since your using Eclipse if you get and error to do with a class just hit CTRl + SHIFT + O to auto import all missing classes -
[1.8][Solved!] ItemStack cannot be resolved to a type
WARDOGSK93 replied to psgarsenal's topic in Modder Support
try doing this GameRegistry.addShapedRecipe(new ItemStack(Blocks.hay_block), new Object[] { "AAA", "AAA", "AAA", 'A', Items.cookie }); instead of GameRegistry.addRecipe(new ItemStack(Blocks.hay_block), "AAA", "AAA", "AAA", 'A', Items.cookie); //For recipes that require items in a certain order GameRegistry.addShapedRecipe(ItemStack outputStack, Object... inputs); //For recipes that are done in a furnace GameRegistry.addSmelting(ItemStack inputStack, ItemStack outputStack, float expReward); //For recipes that can be placed any where in the crafting grid GameRegistry.addShapelessRecipe(ItemStack outputStack, Object... inputs); -
anyone know why when i load Minecraft in my development enviroment with my mods it crashes at "Completeing Minecraft Init" any help would be much appreciated http://gyazo.com/eb0b93c2abd0f359fcf5cdbd468e8813 War-Utility | https://github.com/WARDOGSK93/War-Utility war-Craft | https://github.com/WARDOGSK93/War-Craft log file | https://gist.github.com/WARDOGSK93/86a2dd7bff512ffb028e *EDIT* i know its my mods cause if i remove them from my dev enviroment MC launches perfectly fine
-
[1.7.10] Thermal Expansion/Foundation dev/deobf download
WARDOGSK93 replied to WARDOGSK93's topic in Modder Support
thanks -
[1.7.10] Thermal Expansion/Foundation dev/deobf download
WARDOGSK93 replied to WARDOGSK93's topic in Modder Support
how would I go about adding the the development jars to my development environment 1. would I put them in the mods folder (if so how would I add them to my dependencies to reference in the code) 2. would i just add them to my InteliJ module deps -
[1.7.10] Thermal Expansion/Foundation dev/deobf download
WARDOGSK93 replied to WARDOGSK93's topic in Modder Support
I heard that there is a plugin or something like forgegradle which allows git but don't know if that's true but any ways thanks for the help -
[1.7.10] Thermal Expansion/Foundation dev/deobf download
WARDOGSK93 posted a topic in Modder Support
When ever I download the dev/debof versions of CoFH Core & Lib and Thermal Foundation & Expansion and throw them in the mods folder of my development environment I get a crash saying I require these mods (by these I mean TeamCoFH's mods) Is there away to include them in my build.gradle file so its all done for me Note: I have WAILA, NEI, CodeChickenCore, CodeChickenLib and BuildCraft in my build.gradle file but don't know how to use git in it (dont even know if you can use git in gradle) My build.gradle file: http://pastebin.com/yNviXCgU -
im not releasing this mod im just testing stuff to see what i can do but if i have to i will change to hats but thats already been done by iChun
-
I am trying to create my own cape system please note that i am not using the cloaks/capes already in minecraft currently i have created a item that when put in the chestplate slot instead of rendering a chestplate it renders my custom cape model https://www.dropbox.com/s/ow6vgiekt8cbvdd/1.png?dl=0 but i dont know how to do animations could some one point me in the right direction
-
[1.8/1.7.10] Pixel error/Windows 10 Error
WARDOGSK93 replied to WARDOGSK93's topic in Support & Bug Reports
while waiting for my PC (the one with Windows 10 on) to back up to my other PC I found this http://www.amd.com/en-us/solutions/software-partners/microsoft/windows which made me think "im trying to download drivers why not download the original ones from Acer and just update if needed" so i downloaded my drivers from Acer http://www.acer.co.uk/ac/en/GB/content/drivers I searched for "Aspier X3470" and chooesed the OS "Windows 7 64Bit" then just downloaded and installed all the stuff from the "Driver" section and now minecraft works on my Windows 10 PC hope this helps anyone else trying to get Minecraft to run on Windows 10 -
[1.8/1.7.10] Pixel error/Windows 10 Error
WARDOGSK93 replied to WARDOGSK93's topic in Support & Bug Reports
I have decided to go with the easier option and downgrade back to Windows 7 and thanks for all the help guys -
[1.8/1.7.10] Pixel error/Windows 10 Error
WARDOGSK93 replied to WARDOGSK93's topic in Support & Bug Reports
don't know if this helps but i noticed that i forgot to mention i updated from Window 7 64 Bit to Windows 10 64 Bit -
[1.8/1.7.10] Pixel error/Windows 10 Error
WARDOGSK93 replied to WARDOGSK93's topic in Support & Bug Reports
could i download drivers for Windows 8/8.1 and they will work or not -
[1.8/1.7.10] Pixel error/Windows 10 Error
WARDOGSK93 replied to WARDOGSK93's topic in Support & Bug Reports
so is there anyway i can play minecraft cause i have like 10 mods in development and i cant test/develop them anymore -
so I just got chance to test the new Windows 10 and now when I run Minecraft I get this error (the second file in the gist) https://gist.github.com/412b48710ecbf7af4b28.git I went on the Minecraft/Mojang crash website and that said to get a "dxdiag" and save it to a text file which I included in the gist but when I go to my graphics site (AMD) because im using Windows 10 it cant detect my OS, what do I do?!? (yes I know this has nothing to do with MinecraftForg/ForgeModLoader but where else do I put it) any one got any ideas?!?