1

Help modding minecraft

castleminerFTW's Avatar castleminerFTW4/3/13 10:51 am
1 emeralds 367 5
1/26/2014 1:42 pm
Mraft's Avatar Mraft
i used to mod minecraft, but i took a brake from it to take other interests. i come back now and they have compleatly changed how you load a texture! can someone plz tell me what .java file i need to edit to load a texture. (i use mcp)
Posted by castleminerFTW's Avatar
castleminerFTW
Level 25 : Expert Dragonborn
8

Create an account or sign in to comment.

5

Mraft
01/26/2014 1:42 pm
Level 1 : New Miner
Mraft's Avatar
hello, I have been watching ScratchForFuns new liquid tutorial and I have tried to follow the exact same as him i even changed my variables to match and i have one error i don't under stand a semi colon that's erred

I will have @ sign on the line the errors on


|package Sandboxking27.LogicCraft.fluid;
|
| import net.minecraft.block.Block;
| import net.minecraft.block.material.Material;
| import net.minecraftforge.fluids.Fluid;
|
| public class Fluids {
| //liquids registery
| public static Block blockIronFluid;
|
| //fluid registery
| public static Fluid fluidIron;
|
|
| //material registry
| public static Material materialFluidIron;
|
| // fluid ids
@ public static final int idFluidIron = 240; < the error is this semicolon
|
| fluidIron = new Fluid("fluid").setBlockID(idFluidIron);
| FluidRegistry.registerFluid(fluidIron);
|
| materialFluidIron = new MaterialLiquid(MapColor.ironColor);
|
|
| blockIronFluid = new
| BlockIronFluid(dFluidIron).setUnlocalizedName("fluid_iron").setTexture("");
| }
| }
1
Arty
04/05/2013 4:22 pm
Level 22 : Expert Grump
Arty's Avatar
Woah, we got some great modders gettin' up in here.
1
Giraffestock
04/03/2013 2:36 pm
Level 51 : Grandmaster Narwhal
Giraffestock's Avatar
Its a little confusing, but if you are using forge (which I highly recommend), then theres a tutorial here:
http://www.minecraftforge.net/wiki/Icons_and_Textures
That method MAY work in/with Vanilla and Modloader, but I'm not sure.
1
ehdfawq3er
04/05/2013 4:15 pm
Level 61 : High Grandmaster Modder
ehdfawq3er's Avatar
It'll all work perfectly, but thr custom texture path dosen't work. You have to remove the letters before the colon, and put the files in textures/blocks or textures/items
1
Giraffestock
04/08/2013 11:08 am
Level 51 : Grandmaster Narwhal
Giraffestock's Avatar
Sorry for this post being a little late: You can actually override /textures with the @Override signature and by extending a custom BaseItem class which extends Item. Just thought I would point it out.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome