Well learn some java then come back here when you know some. Theres a requirement you should know java and we don't like questions of people asking us to write the code for you or how to do every little thing.
lmao rudest comment ever!
lmao that you think its rude comment. Its not. It could of been a much ruder comment. So grow up get your big girl panties on and face the cold hard truth
Well learn some java then come back here when you know some. Theres a requirement you should know java and we don't like questions of people asking us to write the code for you or how to do every little thing.
lmao rudest comment ever!
lmao that you think its rude comment. Its not. It could of been a much ruder comment. So grow up get your big girl panties on and face the cold hard truth
lmao that you think its rude comment. Its not. It could of been a much ruder comment. So grow up get your big girl panties on and face the cold hard truth
Hi, i tried to remake the Spear mod from ManxAndrew in the first page, but then i decided to make it throwable...
it work but when i throw it i got a white cube...I make it throwable by adding some stuff from the egg, and some from the arrow.
Here an image from the white cube:
In ItemSpear.java
package net.minecraft.src;
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode
public class ItemSpear extends Item
{
public ItemSpear(int i, int j)
{
super(i);
maxStackSize = 16;
maxDamage = 100 << j;
if(j == 3)
{
maxDamage *= 4;
}
weaponDamage = 4 + j * 2;
}
public float getStrVsBlock(ItemStack itemstack, Block block)
{
return 1.5F;
}
public void hitEntity(ItemStack itemstack, EntityLiving entityliving)
{
itemstack.damageItem(1);
}
public void hitBlock(ItemStack itemstack, int i, int j, int k, int l)
{
itemstack.damageItem(4);
}
public int getDamageVsEntity(Entity entity)
{
return weaponDamage;
}
public boolean isFull3D()
{
return true;
}
private int weaponDamage;
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
{
itemstack.stackSize--;
world.playSoundAtEntity(entityplayer, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));
if(!world.multiplayerWorld)
{
world.entityJoinedWorld(new EntitySpear(world, entityplayer));
}
return itemstack;
}
}
I added this to Item.java:
public static Item spear = (new ItemSpear(101, 0)).setIconIndex(60);
I've been trying to make an aether for mc for the longest time now...but everytime I make another portal, it breaks the nether portal and my portal doesn't work either...help please...(this is the second time I try it, first in 1.2 and now in 1.3(same result)
Mariusli: Yeah, im working on it from the moment i see the white cube...It's REALLY hard to understand, but i think i just took too much stuff from the egg and not enough from the arrow...So...yeah, im trying to fix it...
i have been trying to make a tempered glass block that resists explosions very well, looks like glass, and takes a little bit longer to break. it uses four glass and yields 1 tempered glass, because it is so strong and i find it balanced. when i recompile, i get this message:
*** Minecraft Coder Pack Version 2.9 ***
MCP 2.9 running in C:\Users\Jesus\Desktop\mcp29a
Compiling Minecraft
sources\minecraft\net\minecraft\src\Block.java:661: cannot find symbol
symbol : constructor BlockTempered(int,int,net.minecraft.src.Material)
location: class net.minecraft.src.BlockTempered
tempered = (new BlockTempered(771, 49, Material.glass)).setHardness(5F).
setResistance(60000F).setStepSound(soundGlassFootstep).setBlockName("tempered");
^
sources\minecraft\net\minecraft\src\CraftingManager.java:76: valueOf(char) in ja
va.lang.Character cannot be applied to (java.lang.String)
"##", "##", Character.valueOf("#"), Block.glass
^
2 errors
*** minecraft_server.jar was not found, skipping
=== MCP 2.9 recompile script finished ===
Press any key to continue . . .
Here are the codes for the java files:
BlockTempered.java
package net.minecraft.src;
import java.util.Random;
public class BlockTempered extends Block
{
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
public int idDropped(int i, Random random)
{
return 0;
}
}
and yes the resistance is basically that of bedrock. it needs to be completely creeper proof(know on wo- )
but it is making me sad so if anyone could help me it would be GREATLY appreciated
i have been trying to make a tempered glass block that resists explosions very well, looks like glass, and takes a little bit longer to break. it uses four glass and yields 1 tempered glass, because it is so strong and i find it balanced. when i recompile, i get this message:
*** Minecraft Coder Pack Version 2.9 ***
MCP 2.9 running in C:\Users\Jesus\Desktop\mcp29a
Compiling Minecraft
sources\minecraft\net\minecraft\src\Block.java:661: cannot find symbol
symbol : constructor BlockTempered(int,int,net.minecraft.src.Material)
location: class net.minecraft.src.BlockTempered
tempered = (new BlockTempered(771, 49, Material.glass)).setHardness(5F).
setResistance(60000F).setStepSound(soundGlassFootstep).setBlockName("tempered");
^
sources\minecraft\net\minecraft\src\CraftingManager.java:76: valueOf(char) in ja
va.lang.Character cannot be applied to (java.lang.String)
"##", "##", Character.valueOf("#"), Block.glass
^
2 errors
*** minecraft_server.jar was not found, skipping
=== MCP 2.9 recompile script finished ===
Press any key to continue . . .
Here are the codes for the java files:
BlockTempered.java
package net.minecraft.src;
import java.util.Random;
public class BlockTempered extends Block
{
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
public int idDropped(int i, Random random)
{
return 0;
}
}
and yes the resistance is basically that of bedrock. it needs to be completely creeper proof(know on wo- )
but it is making me sad so if anyone could help me it would be GREATLY appreciated
Your constructor in your BlockTempered file is int, material and your trying to use it as int, int, material. If you know java you should know how to to fix it. The other is because you used " " instead of ' ';
Your constructor in your BlockTempered file is int, material and your trying to use it as int, int, material. If you know java you should know how to to fix it. The other is because you used " " instead of ' ';
unfortunately i know nothing of java because i am a newb to java but at least that solves one problem so thank you
i have been trying to make a tempered glass block that resists explosions very well, looks like glass, and takes a little bit longer to break. it uses four glass and yields 1 tempered glass, because it is so strong and i find it balanced. when i recompile, i get this message:
*** Minecraft Coder Pack Version 2.9 ***
MCP 2.9 running in C:\Users\Jesus\Desktop\mcp29a
Compiling Minecraft
sources\minecraft\net\minecraft\src\Block.java:661: cannot find symbol
symbol : constructor BlockTempered(int,int,net.minecraft.src.Material)
location: class net.minecraft.src.BlockTempered
tempered = (new BlockTempered(771, 49, Material.glass)).setHardness(5F).
setResistance(60000F).setStepSound(soundGlassFootstep).setBlockName("tempered");
^
sources\minecraft\net\minecraft\src\CraftingManager.java:76: valueOf(char) in ja
va.lang.Character cannot be applied to (java.lang.String)
"##", "##", Character.valueOf("#"), Block.glass
^
2 errors
*** minecraft_server.jar was not found, skipping
=== MCP 2.9 recompile script finished ===
Press any key to continue . . .
Here are the codes for the java files:
BlockTempered.java
package net.minecraft.src;
import java.util.Random;
public class BlockTempered extends Block
{
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
public int idDropped(int i, Random random)
{
return 0;
}
}
and yes the resistance is basically that of bedrock. it needs to be completely creeper proof(know on wo- )
but it is making me sad so if anyone could help me it would be GREATLY appreciated
ok the twos problems are self explanatory. where your have Character.valueOf("#"), Block.glass change it to Character.valueOf('#'), Block.glass
and where your have
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
change to
public BlockTempered(int i, int j, Material material)
{
super(i, j, material);
}
there ya go next time look at the original files first so u could have looked at BLockGlass to solve one problem and looked at Crafting Manager to solve the other one
danke for the help i will test it now
it worked i just havent gotten this far...so i have no idea where all of the new files are
i will hunt for them now thank you for the help diamonds for you
i have been trying to make a tempered glass block that resists explosions very well, looks like glass, and takes a little bit longer to break. it uses four glass and yields 1 tempered glass, because it is so strong and i find it balanced. when i recompile, i get this message:
*** Minecraft Coder Pack Version 2.9 ***
MCP 2.9 running in C:\Users\Jesus\Desktop\mcp29a
Compiling Minecraft
sources\minecraft\net\minecraft\src\Block.java:661: cannot find symbol
symbol : constructor BlockTempered(int,int,net.minecraft.src.Material)
location: class net.minecraft.src.BlockTempered
tempered = (new BlockTempered(771, 49, Material.glass)).setHardness(5F).
setResistance(60000F).setStepSound(soundGlassFootstep).setBlockName("tempered");
^
sources\minecraft\net\minecraft\src\CraftingManager.java:76: valueOf(char) in ja
va.lang.Character cannot be applied to (java.lang.String)
"##", "##", Character.valueOf("#"), Block.glass
^
2 errors
*** minecraft_server.jar was not found, skipping
=== MCP 2.9 recompile script finished ===
Press any key to continue . . .
Here are the codes for the java files:
BlockTempered.java
package net.minecraft.src;
import java.util.Random;
public class BlockTempered extends Block
{
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
public int idDropped(int i, Random random)
{
return 0;
}
}
and yes the resistance is basically that of bedrock. it needs to be completely creeper proof(know on wo- )
but it is making me sad so if anyone could help me it would be GREATLY appreciated
ok the twos problems are self explanatory. where your have Character.valueOf("#"), Block.glass change it to Character.valueOf('#'), Block.glass
and where your have
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
change to
public BlockTempered(int i, int j, Material material)
{
super(i, j, material);
}
there ya go next time look at the original files first so u could have looked at BLockGlass to solve one problem and looked at Crafting Manager to solve the other one
You just like to give them all the answers never the tools in order to fix it themselves
ok the twos problems are self explanatory. where your have Character.valueOf("#"), Block.glass change it to Character.valueOf('#'), Block.glass
and where your have
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
change to
public BlockTempered(int i, int j, Material material)
{
super(i, j, material);
}
there ya go next time look at the original files first so u could have looked at BLockGlass to solve one problem and looked at Crafting Manager to solve the other one
You just like to give them all the answers never the tools in order to fix it themselves
i learn some things better when i have the answer and work in reverse...
ok the twos problems are self explanatory. where your have Character.valueOf("#"), Block.glass change it to Character.valueOf('#'), Block.glass
and where your have
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
change to
public BlockTempered(int i, int j, Material material)
{
super(i, j, material);
}
there ya go next time look at the original files first so u could have looked at BLockGlass to solve one problem and looked at Crafting Manager to solve the other one
You just like to give them all the answers never the tools in order to fix it themselves
i learn some things better when i have the answer and work in reverse...
Yes but if you just give the answer its like writing the code for people. Which is not what we are here for.
lmao that you think its rude comment. Its not. It could of been a much ruder comment. So grow up get your big girl panties on and face the cold hard truth
what truth are you talking about
P.S. you sound like a hippy
And you sound like your three.
it work but when i throw it i got a white cube...I make it throwable by adding some stuff from the egg, and some from the arrow.
Here an image from the white cube:
In ItemSpear.java
I added this to Item.java:
This in RecipesWeapons.java
EntitySpear.java:
Another problem that i got is that, when i throw it and it touch a mob, it just do damage then disapear...
I need help please.
Excuse me for the long post and thank for reading it.
World.java:
Teleporter_Aether.java:
BlockPortal_Aether:
Entity.java:
EntityPlayerSP.java:
BlockFire.java:
Block.java:
Minecraft.java:
I think I got all the files on this post(hopefully), if not let me know please.
If I've put too many important minecraft files that I shoudn't post, let me know, I respect Notch, And don't want to give out his source...
Also I'm not a noob modder anymore at all, I've made mobs, no biomes, ores, tools, blocks, custom sounds, etc...
So please help?
PS: I made it currently goto the nether temporarily...
I get the same white cube like you. I took stuff from the EntityEgg too.
Could you fix it?
Would be helpful to know. :biggrin.gif:
Twitter; Github;
Even if I create the variable in Block.java it doesn't work...
This is starting to make NO sense.
If you would of put it correctly into the block.java it would of found the variable.
Here are the codes for the java files:
BlockTempered.java
Block.java
and CraftingManager.java
and yes the resistance is basically that of bedrock. it needs to be completely creeper proof(know on wo- )
but it is making me sad so if anyone could help me it would be GREATLY appreciated
Your constructor in your BlockTempered file is int, material and your trying to use it as int, int, material. If you know java you should know how to to fix it. The other is because you used " " instead of ' ';
unfortunately i know nothing of java because i am a newb to java but at least that solves one problem so thank you
ok the twos problems are self explanatory. where your have Character.valueOf("#"), Block.glass change it to Character.valueOf('#'), Block.glass
and where your have
public BlockTempered(int i, int j)
{
super(i, j, Material.glass);
}
change to
public BlockTempered(int i, int j, Material material)
{
super(i, j, material);
}
there ya go next time look at the original files first so u could have looked at BLockGlass to solve one problem and looked at Crafting Manager to solve the other one
it worked i just havent gotten this far...so i have no idea where all of the new files are
i will hunt for them now thank you for the help diamonds for you
You just like to give them all the answers never the tools in order to fix it themselves
i learn some things better when i have the answer and work in reverse...
Yes but if you just give the answer its like writing the code for people. Which is not what we are here for.