
EarthGuardian
Members-
Posts
48 -
Joined
-
Last visited
Everything posted by EarthGuardian
-
so yeah still no good awnser on how to fix GUI textures outside of eclipse ?? I'm running into that problem now to and i have all the pathnames and locations written down correct .. but in eclipse it works .. and when i test my mod all block/item textures work perfect .. but my GUI wont work it shows pink/black squares as GUI .. so that means it cant find the path or the path isn't correct .. and hes i have all the path names in my.zip files dusnt seem to work and iv tryd allot of pathfiles even the original pathfile for the furnace GUI dint work .. so help ?
-
[Solved] Furnace Recipe (2 inputs) addRecipe
EarthGuardian replied to EarthGuardian's topic in Modder Support
That is the point, you shouldn't copy or use MC way of handling 2inputs, since they don't support. You have to handle it yourself. As hydroflame suggested, you may want to make a unique map for both inputs, with the keys being an array, or list, of ItemStacks (or another custom Object containing them). Hope that helped to awnser your question i did start from scratch .. but it was made eazyer to look at some code that alredy exist .. inorder to make my own code work hehe i finaly got my custom furnace with 2 input hehe working and all hehe lol im so happy :D -
[Solved] Furnace Recipe (2 inputs) addRecipe
EarthGuardian replied to EarthGuardian's topic in Modder Support
would gladly read that guide but you dint send me that link. and eehm i said i was stuck 4 days because the recipe wouldn't let me get Any futher iv try different ways do do this and this is the closed i could get. i know i sould learn java alot more. and i am I'm looking for guides all the time. but if i even do learn more java still dusnt mean i know how to add 2input recipe lol because of how MC handles it is the point i guess .. and is it ironic you all awnser me like learn more java ... let me ask you this it seems like you know what i am asking .. do you or do you not know how i sould start? because a simple NO will do the same trick as telling me i sould learn more java lol greets -
[Solved] Furnace Recipe (2 inputs) addRecipe
EarthGuardian replied to EarthGuardian's topic in Modder Support
thats my point exacly .. but what im lokking for is litle help and sugestion pointers to the right direction .. becouse iv bene stuck at this for 4 days in arow and tryd about every thing i could come upwith. and i did rewrite a whole part of it but i dont know how the recipe sould handle the inputs and outputs .. i got it the furnace burning again with 2 input .. but the te inputs just stay there and wont get used en the output wont come .. but still the furnace is burning and refueling with fuel that still works .. a good point in the right direction would be nice. -
hey all im stuck at the recipe for 2 inputs furnace old original code: new code: now the question is how do i make a recipe file witch uses 2 inputs and 1 output .. i know the furnace recipe uses Int par1 Itemstack par2Itamstack for par1 as input and parItemStack as output .. and the float par3 for exp when you get the output stack how can i make a recipe list for 2 input ?? becose what i use the Itemstack item1, ItemStack item2, Itemstack item3 wont work .. the furnace will burn but it keeps the input slots and wont output and keeps doing the burnnig cycle. not consuming the inputslots at all. anny sugestions ?? greets the solution: this wsnt the only thing that needed a fix also the tile entity needed a small realy small fix (felt stupit when i fount my litle mistake) thx anny way for the litle tips but i found out my selve how it works thx !!!
-
this wroks fine.. at the place block texture public Icon getIcon(int side, int meta) { if(side == 0) return iconBottom; else if(side == 1) return iconTop; else if(side == meta) return iconFront; else return iconSide; } but when you are holding the block and seeing it in NEI or creative tab it still dusnt show the front this is the code before i changed it to the top code. return par1 == 1 ? this.blockIconTop : (par1 == 0 ? this.blockIconTop : (par1 != par2 ? this.blockIcon : this.blockIconFront)); i jsut dont udnerstadn when your holding the item it dusnt show the front but when you place it it does .. it evne updates correctly greets
-
how does it work for a GUI hoew does it load the right loaction ?? becose iv tryd couple of things still it returns black/pink gui
-
whats wrong with the helping others in the world .. no one has time Anny more lol .. Anny way i can see your problem it might be true but still. i went into the history back far .. and still dint find the solutions hes talking about.. so maybe he did look but dint find it?like me ?? I'm searching for the same awnser because i want to have a custom GUI .. but when i load the location i get black and pink GUI .. meaning it cant find my GUI. just need to know hot do get the right location for it in mcp`for MC 1.6.2 .. in 1.5.1 is easy its almost the same as 1.4.7 but 1.6.2 is so different with the textures i cant make heads or tale out of it.. so would you be so kind to direct met to the solution ??
-
this actual worked so i can get my own furnace texture. but why does the block show in your hand only with top textures and side texture .. and not like the funace texture it shows the front also ?? how so i fix this?? also in creative tabs it shows with top and side textures only ... meanwhile when you place it it does have the front texture i put in and the active front texture when its burning.. so only when your holding it or seeing it in creative tab .. it dusnt show like the furnace. it was the same btw with the vanilla textures and skin ... (with custom furnace) greets
-
hehe this helped me actuly was wondering why it was so difrent from 1.5.1/1.5.2 i think forge aloud us to use the modId("name") to do a seperate map for the textures so you wont get confuses if you texture are in all of th mc textures anny way thx iv updater my mod to 1.6.2 hehe
-
well i think i know about 60-70% from the tile entityfurnace ... i think that's why it hard to implement my own 2e inputslot .. iv been trying to add 2e one i did succeed it worked with recipe and every thing ... but there was a huge problem with it .. it could only handle the 1 recipe .. or it has to have recipes with blocks/items that are not in the first recipe.. so a huge bug there .. just an example i want to use planks(tile.wood.oak) and cobblestone(tile.stonebrick) burning with my burn items into a new block planks with the aspect of cobble so it wont burn. that's the general idea .. i got that working but when i want to add a recipe like glass and cobble. it wouldn't work because it has cobble in it and the furnace used only first input slot as a reference to the recipe .. i couldn't make it to work it would use both inputslots at the same time as a reference to the recipe .. greets
-
How to add block shape??? a new block model??
EarthGuardian replied to EarthGuardian's topic in Modder Support
that worked perfectly he he thx man. now the new step i want to make hahaha setBlockBounds(0.25F, 0.25F, 0.25F, 0.75F, 0.75F, 0.75F); to use that to load my own made model iv been fooling around with it and cant quite get there yet ... i have a whole model set up in a modelfile that extends ModelBase so i cant just implement the boundary's in my block file .. because that extends block already ... or can you make it extend 2 files ?? how ?? -
How to add block shape??? a new block model??
EarthGuardian replied to EarthGuardian's topic in Modder Support
lol yes exacly like that ....so ther is away to call out a other model -
How to add block shape??? a new block model??
EarthGuardian replied to EarthGuardian's topic in Modder Support
i did allot of digging and found of the models are in the net.minecraft.client.models directory .. but i cant relay see the block.java or Anny other blocks or monster entity's call out 1 of those models ... its really hard to find out how the blocks you place or the mobs you see call out the model they are. guess IL dig some more but was hoping some ppl know hot to add your own model and cast it as a block (smaller block). greets -
huh ... the recipes are from addsmelting .... like in the furnace .. but that lets you add only 1 input en return is as true if its a recipe for slot 0 (the first input slot) i don't have a clue to implement that piece of code on there .. because the furnace smelting process goes true tileentity, container for the slots and the recipes true tileentity .. can you give me more hints greets
-
How to add block shape??? a new block model??
EarthGuardian replied to EarthGuardian's topic in Modder Support
thats sad you know the block cobblestone had a moddel right ? dementions 16X16X16 3rd(pixels) these dementions "models" are loaded somewere in minecraft. my question would be were does it load that moddel ? in Block.block.java there is something calle opaqeueLookup this is te demention i think. i jsut whant to understand how it does load that modelbox < i think its the name for the 16X16X16 moddel block. i just whant to see if i can make a dirt block 8x8x8 dimentions -
How to add block shape??? a new block model??
EarthGuardian replied to EarthGuardian's topic in Modder Support
maybe, opaqueCubeLookup? anny way you only looked what i typed wrong or what ? there was more than that in the question .. -
he ya, i was wondering how doe MC call the block shape ?? i know it has something to do with opaqueCubeLookup... but went hat is false how do you make the pluck is place uses a other model? for example a smaller block 8x8x8 ? the texture i can figure out myself... but hos do u use a specific model ?? maybe use your own made model ? 8x8x8?? greets
-
Hello, sorry in advance I'm not very good at typing in English. I'm sitting on a problem I can't seem to find the components to add 1 more input slot for the furnace. instead of 1 input I want to add another input slot in order to "burn" 2 different block into 1 new block (which I made already). and i made my own furnace with gui ect. I can't seem to find a tutorial that does that. implement another input slot for the furnace that works with the recipes for 2 inputs. hope you guys know what I mean and can help me? greets, Earth