Yes you heard right, this is a tutorial for making a new liquid in minecraft. I maybe have to say that this is my first tutorial and maybe some of the steps are useless. And this tutorial does not support modloader yet. But lets get started:
1. Open material.java
2.Add this to the material.java:
public static final Material XXX = new MaterialLiquid();
(XXX stands for your material)
3.Copy block.fluid, block.flowing and block.stationary, rename them how you want(I call them block.fluidx, block.flowingx and block.stationaryx) and look for this line of code in block.fluidx:
public static double func_293_a(IBlockAccess iblockaccess, int i, int j, int k, Material material)
4. Make sure your block.XXXmoving/block.XXXstationary is extending block.fluidx
5. Copy TextureWaterFlowFX & TextureWaterFX rename them and so on.
6. In your block.fluidx you will find
int l1 = (int)(32F + f2 * 32F);
int j2 = (int)(50F + f2 * 64F);
int k2 = 255;
in your TextureXXXFX and TextureXXXFlowFX. They are defining the colors
Thats all I think... If you have any errors let me know it and post your error. That could be because i forgot some steps. And its not 100% bug free but it works. I will update this tutorial if something does not work.
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
the only thing i need now is where to write this code?
Like what?
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
vec3d = ((BlockFluid)Block.bloodMoving).getFlowVector(iblockaccess, i, j, k);
has access to
public abstract class BlockFluid extends Block
but is in
public abstract class BlockFluidBlood extends Block
so it has to be
vec3d = ((BlockFluidBlood)Block.bloodMoving).getFlowVector(iblockaccess, i, j, k);
I saw that you are doing something in check for harden, this has to be in block.fluid otherwise it wont work
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
can u give me your block fluidx or how you've called it?
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
this tut will show u how to:
make a liquid that looks like water . . . .
No this tutorial will show you how to make a fully working liquid, with its own texture. If it looks like water its your fault.
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
Thank you for this tuitorial! :biggrin.gif: I made a bucket of Ink with this tuitorial.I used 1 ink sack and 1 bucket and it worked!
Good job
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
Over 800 views and only 19 replies? I'm disappointed
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
making it modloader compatible would be much harder, too hard for me
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
I can't find minecraft.java. Is the tutorial wrong, or do I need to check if I accidentally deleted it?
It's in the client not src folder
Rollback Post to RevisionRollBack
Somebody drew a **** on the wall! But who did it? It was old chuckleberrybum, doing the kind of "draw-****-on-wall-thing". It was all he ever did. He drew his first phallic object when he was just 4 months old! You see, some people don't find a purpose in life, they just draw dicks. Now, kids get a job and a watermill, so you don't have to draw penises for a living!
1. Open material.java
2.Add this to the material.java: (XXX stands for your material)
3.Copy block.fluid, block.flowing and block.stationary, rename them how you want(I call them block.fluidx, block.flowingx and block.stationaryx) and look for this line of code in block.fluidx: scroll down and you will find this:
rename it to this:
4. Make sure your block.XXXmoving/block.XXXstationary is extending block.fluidx
5. Copy TextureWaterFlowFX & TextureWaterFX rename them and so on.
6. In your block.fluidx you will find
rename this into: this will now change the texture of your liquid. It will look like indicated on the terrain.png, over the water texture if you use like above. You can change the values if you want a texture that already exists.
7. Open minecraft.java look for add
now look for add Note that XXX is always the name of your liquid.
Now look for add
8. look for in your block.fluidx. Rename material.water into material.XXX. The value indicates how fast it flows. 0 is fastest.
9. Open entity.java and look for:
add under the }else.
now look for: replace it with Under this you will find: Add under this.
Now look for: add
10. Look for add
11. Look for in your TextureXXXFX and TextureXXXFlowFX. They are defining the colors
Thats all I think... If you have any errors let me know it and post your error. That could be because i forgot some steps. And its not 100% bug free but it works. I will update this tutorial if something does not work.
Like what?
^The Portal Song!^
http://www.youtube.com/watch?v=b6Q_koTHB54
^Taste the cake song!^
The cake is NOT a lie!
I host files with DropBox I think it's easy and fast, so you should try it if you're interested
I saw that you are doing something in check for harden, this has to be in block.fluid otherwise it wont work
make a liquid that looks like water . . . .
No this tutorial will show you how to make a fully working liquid, with its own texture. If it looks like water its your fault.
this declares the flow speed, high tick rate means slower flowing, lower means faster flowing
for doing it infinite use 2 not infinite use 3 or above
No.
Good job
Want to play Minecraft SSP like Spaceboot1? Try my modpack, all mods made by me, Spaceboot1!
It's in the client not src folder
Thank you I am dumb. Will keep working on my sludge mod.
Want to play Minecraft SSP like Spaceboot1? Try my modpack, all mods made by me, Spaceboot1!