Jump to content

Moding Help please respond been stuck with this for ages!


BarneyStinson

Recommended Posts

Ok, so basically I´ve made my own mod. Its called MagicCola and its coded in eclipse. I am using ModLoader(srry forge) Because it´s just a basic mod. But the problem is i have been trying to change the texture but i doesn't seem to work. I made the block or ore in photoShop and i basically just copy pasted the coal ore and changed it a little. But when i go into eclipse an type in for example: /AppData/Roaming/.minecraft/texturepacks/sphax PureBDCraft/MagicCola/Cokoore.png then there are two possible scenarios either it doesn't find the picture or when i load up minecraft and go and find mu ore the its just a block saying UPDATE TP. So please i have been struggling whit this in more than 5 days now could someone possibly help me?

Link to comment
Share on other sites

I'm sorry but I'm not familiar with the methods of ModLoader.

But then again this is a forum to help people solve problems with their modding with the Forge API, so I guess that's not unexpected :P

You could of course go to the ModLoader's thread and ask for help, or try out modding with forge.

 

However I can say that generally the mods inn eclipse reffere to files within the MCP folder, so you might really be asking for "MCP_Directory/AppData/Roaming/.minecraft/texturepacks/sphax PureBDCraft/MagicCola/Cokoore.png" By entering that location as a string to the load method.

I assume that you should have your images somewhere inside the MCP folder, probably inside MCP/src/Minecraft.

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

Yeah i know thats its kind of f up to ask at forge forums but hey! Yes i have images in my mod folder or src folder which is /MCP/jars/Minecraft.jar/MagiCola/Cokore.png and when i type in /MagicCola/Cokoore.png it loads minecraft with no errors but i want to be able to use it with sphax but i dont know how to add it into the sphax folder nor to code it rigth :P so if you could possibly rigth down some code lines that should work that would be great tnx

Link to comment
Share on other sites

Maybe I'm just old but what is Sphax, by the way you speak of it, it sounds like an API or something other code related but as far as I can tell by the top links on google it's a texture pack? So then I'm not sure what you want to do :P

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

:P ok so yes Sphax is a texture pack and what i want to do is to add my blocks and items in to the sphax folder so that when i change from default to Sphax PureBDCraft the Cokoore block will also change so that i will be able to place it with an block image instead og an block that says UPDATE TP on it. But i dont know how to add it properly into sphax neither do I know where i am suposed to but the sphax folder after I have placed my mod files in there. And I Dont know what the code will be after i have put the Sphax folder with my mod into the rigth folder inside of MCP
Link to comment
Share on other sites

if Spahx is just a texture pack then YOU as the CODER/MODDER of a mod does not need to do anything special for the texture pack to work. Just do everything as normal and don't think of the texture pack.. you don't need to do anything fancy for it to work.

 

If someone wants to create or use a texture pack for your mod's blocks & items they should be able to do so without you having to do some crazy stuff for it to work, so no worries :)

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

But but if i want to be able to make the block for example look like the coal block from sphax just a little bit different and i make my own version of the coal block then when i launch minecraft select texture pack sphax pure bd craft then it says on the coko ore block UPDATE TP how to fix it? I need a patch but i dont know how to make that patch nor do i know how "to put" the mod folder into the sphax folder correctly

Link to comment
Share on other sites

Okay a few things just to clarify:

 

[*]Don't PM me for answers when I'm actively replying to your thread, I'm replying here when I can and when I got something to say. It's not like I'm forgetting this forum and thread existence over a few minutes..

[*]It's hard to understand what exactly you are saying, the complete lack of commas and periods make it hard just to follow which sentence start where and ends where.

[*]You are asking about code help for a problem which you have using some coding API I'm not familiar with at all, and which this forum ain't exactly aimed at supporting either.

[*]The problem seems to be less about code and more about adding a texture pack to your Minecraft client which has your mod?

[*]Whatever the block is made to look like, doesn't matter for the texture pack at least. even if it's the same image it shouldn't matter or change anything and much less make it bug out.

[*]Are you using the latest version of the Texture Pack then, since it says Update TP?

[*]Have you tried asking on the ModLoader related threads and forums for help?

[*]And how big is this mod of your's really? :P

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

1. I am srry for bad english writing and language(I am norwegian)

2. Yes i use the latest version of the texture pack but i haven't patched it yet (its HD)

3. What I need help with isn't that much about coding but its a little bit about coding in there. Because I need help with understanding how to add mods to a texturepack kind of. Because if you launch minecraft with a mod installed but you haven´t install the mod patch to your texture then the block will look like default minecraft. So i need help with adding the mod/how to make a patch and then add it into the texturepack folder. Then I need help with what i should write in the code section for example should i write "/terrain.png", "/MCP_Directory/jars/texturepacks/Sphax PureBDCraft/MagicCola/Cokoore.png" or if I am supposed to write /appdata/Roaming/.minecraft/texturepacks/SPhax purebdcraft/MagicCola/Cokoore.png

4. The mod isn´t that big it just adds 5 new blocks and 6 new items.

 

Link to comment
Share on other sites

1. So am I, and my grammar sucks. But come'on even in Stavanger they have periods at the end of a sentence. At the very least inn a running text so the reader knows what word belongs where ;) It's much better now inn your latest post, ty.

Oh and btw, since it's 23:30 why are you inn such a hurry? it's holidays now chill <3

 

1.b) Norwegian reply here in addition too the english one below.

 

Jeg tror du misforstår og blander i sammen flere forskjellige ting her.

Hovedsaklig tror jeg at problemet ditt ligger enten i hele modifikasjonen din eller instalasjonen av andre mods som feks. optifine eller HD patcher eller lignende. Uansett så er dette forumet verken for TexturePacks, Minecraft Tekknisk eller for ModLoader modifikasjoner, så du er veldig på villspor her gutt. Det er ikke det av ikke vi vill hjelpe, men mere det at vi ikke er i stand til det. Da de fleste her inne ikke er serlig kjent med ModLoader sin API og dermed ikke kan hjelpe med koden, samt at den andre delen av problemet er relatert til Texturepakken så tror jeg det er bedre for deg at du søker svar her: http://www.minecraftforum.net/forum/196-modded-client-support/ Det underforumet blir lest av mange dyktige moderatorer, posters og moders som villv ære bedre i stand til å løse problemet ditt.

 

 

3. This sounds a lot more like you misunderstanding something on how to get this to work, at least it sounds quite weird to me that you would need to write a code snippit for the texture packs to work O.o

I think you should go ask the guys over here: http://www.minecraftforum.net/forum/196-modded-client-support/ They are a lot better equipped knowledge wise to help you out with your problems.

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

how a texture pack works :

 

1 ; you code your mod, and add textures to your mod as described by any modloader tutorials.

2 ; your code works fine after following a tutorial on modloader 'how to add textures to items and blocks in 1.5.1"

3 ; you publish your mod.

4 ; you or anybody else makes sphax textures. people download the patch,and put it in the sphax texture pack folder.

5 ; the texture pack / mod will comunicate due of 1.5 and the mod will take pictures from the patch.

6; optifine and mcpatcher take care of the high resolution.

 

voila, done.

 

all you had to do is make the mod work :)

Link to comment
Share on other sites

Sant nok(punktum). :P Ja jeg skjønner skal se om jeg for noen andre svar på forum linken du sendte meg så takk for det. Tenkte at jeg kunne spurt her for egentlig så er ikke "codingen" så veldig annerledes fra forge og mitt problem gikk mer på hvordan man la inn sin egen mod til en texture pack. Men takk for all hjelp så skal jeg se om jeg for noen andre svar som kan hjelpe meg på forumen du sendte meg! Hilsen BarneyStinson :P

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have done this now but have got the error:   'food(net.minecraft.world.food.FoodProperties)' in 'net.minecraft.world.item.Item.Properties' cannot be applied to                '(net.minecraftforge.registries.RegistryObject<net.minecraft.world.item.Item>)' public static final RegistryObject<Item> LEMON_JUICE = ITEMS.register( "lemon_juice", () -> new Item( new HoneyBottleItem.Properties().stacksTo(1).food( (new FoodProperties.Builder()) .nutrition(3) .saturationMod(0.25F) .effect(() -> new MobEffectInstance(MobEffects.DAMAGE_RESISTANCE, 1500), 0.01f ) .build() ) )); The code above is from the ModFoods class, the one below from the ModItems class. public static final RegistryObject<Item> LEMON_JUICE = ITEMS.register("lemon_juice", () -> new Item(new Item.Properties().food(ModFoods.LEMON_JUICE)));   I shall keep going between them to try and figure out the cause. I am sorry if this is too much for you to help with, though I thank you greatly for your patience and all the effort you have put in to help me.
    • I have been following these exact tutorials for quite a while, I must agree that they are amazing and easy to follow. I have registered the item in the ModFoods class, I tried to do it in ModItems (Where all the items should be registered) but got errors, I think I may need to revert this and figure it out from there. Once again, thank you for your help! 👍 Just looking back, I have noticed in your code you added ITEMS.register, which I am guessing means that they are being registered in ModFoods, I shall go through the process of trial and error to figure this out.
    • ♈+2349027025197ஜ Are you a pastor, business man or woman, politician, civil engineer, civil servant, security officer, entrepreneur, Job seeker, poor or rich Seeking how to join a brotherhood for protection and wealth here’s is your opportunity, but you should know there’s no ritual without repercussions but with the right guidance and support from this great temple your destiny is certain to be changed for the better and equally protected depending if you’re destined for greatness Call now for enquiry +2349027025197☎+2349027025197₩™ I want to join ILLUMINATI occult without human sacrificeGREATORLDRADO BROTHERHOOD OCCULT , Is The Club of the Riches and Famous; is the world oldest and largest fraternity made up of 3 Millions Members. We are one Family under one father who is the Supreme Being. In Greatorldrado BROTHERHOOD we believe that we were born in paradise and no member should struggle in this world. Hence all our new members are given Money Rewards once they join in order to upgrade their lifestyle.; interested viewers should contact us; on. +2349027025197 ۝ஐℰ+2349027025197 ₩Greatorldrado BROTHERHOOD OCCULT IS A SACRED FRATERNITY WITH A GRAND LODGE TEMPLE SITUATED IN G.R.A PHASE 1 PORT HARCOURT NIGERIA, OUR NUMBER ONE OBLIGATION IS TO MAKE EVERY INITIATE MEMBER HERE RICH AND FAMOUS IN OTHER RISE THE POWERS OF GUARDIANS OF AGE+. +2349027025197   SEARCHING ON HOW TO JOIN THE Greatorldrado BROTHERHOOD MONEY RITUAL OCCULT IS NOT THE PROBLEM BUT MAKE SURE YOU'VE THOUGHT ABOUT IT VERY WELL BEFORE REACHING US HERE BECAUSE NOT EVERYONE HAS THE HEART TO DO WHAT IT TAKES TO BECOME ONE OF US HERE, BUT IF YOU THINK YOU'RE SERIOUS MINDED AND READY TO RUN THE SPIRITUAL RACE OF LIFE IN OTHER TO ACQUIRE ALL YOU NEED HERE ON EARTH CONTACT SPIRITUAL GRANDMASTER NOW FOR INQUIRY +2349027025197   +2349027025197 Are you a pastor, business man or woman, politician, civil engineer, civil servant, security officer, entrepreneur, Job seeker, poor or rich Seeking how to join
    • Hi, I'm trying to use datagen to create json files in my own mod. This is my ModRecipeProvider class. public class ModRecipeProvider extends RecipeProvider implements IConditionBuilder { public ModRecipeProvider(PackOutput pOutput) { super(pOutput); } @Override protected void buildRecipes(Consumer<FinishedRecipe> pWriter) { ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModBlocks.COMPRESSED_DIAMOND_BLOCK.get()) .pattern("SSS") .pattern("SSS") .pattern("SSS") .define('S', ModItems.COMPRESSED_DIAMOND.get()) .unlockedBy(getHasName(ModItems.COMPRESSED_DIAMOND.get()), has(ModItems.COMPRESSED_DIAMOND.get())) .save(pWriter); ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.COMPRESSED_DIAMOND.get(),9) .requires(ModBlocks.COMPRESSED_DIAMOND_BLOCK.get()) .unlockedBy(getHasName(ModBlocks.COMPRESSED_DIAMOND_BLOCK.get()), has(ModBlocks.COMPRESSED_DIAMOND_BLOCK.get())) .save(pWriter); ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModItems.COMPRESSED_DIAMOND.get()) .pattern("SSS") .pattern("SSS") .pattern("SSS") .define('S', Blocks.DIAMOND_BLOCK) .unlockedBy(getHasName(ModItems.COMPRESSED_DIAMOND.get()), has(ModItems.COMPRESSED_DIAMOND.get())) .save(pWriter); } } When I try to run the runData client, it shows an error:  Caused by: java.lang.IllegalStateException: Duplicate recipe compressed:compressed_diamond I know that it's caused by the fact that there are two recipes for the ModItems.COMPRESSED_DIAMOND. But I need both of these recipes, because I need a way to craft ModItems.COMPRESSED_DIAMOND_BLOCK and restore 9 diamond blocks from ModItems.COMPRESSED_DIAMOND. Is there a way to solve this?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.