src\minecraft\net\minecraft\src\BlockCauldron.java:5: cannot find symbol
symbol : class minecraft
location: package net.minecraft.client
import net.minecraft.client.minecraft;
^
src\minecraft\net\minecraft\src\BlockCauldron.java:81: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
if (par1World.multiplayerWorld)
^
src\minecraft\net\minecraft\src\BlockCauldron.java:85: package par1EntityPlayer
does not exist
ItemStack itemstack = par1EntityPlayer.inventory.getCurrentItem();
^
src\minecraft\net\minecraft\src\BlockCauldron.java:90: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
int l = par1World.getBlockMetadata(i, j, k);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:95: cannot find symbol
symbol : variable depleteBuckets
location: class net.minecraft.src.PlayerCapabilities
if (!entityplayer.capabilities.depleteBuckets)
^
src\minecraft\net\minecraft\src\BlockCauldron.java:97: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entitypl
ayer.inventory.currentItem, new ItemStack(Item.bucketEmpty));
^
src\minecraft\net\minecraft\src\BlockCauldron.java:99: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.setBlockMetadataWithNotify(i, j, k, 3);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:108: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(new EntityItem(world, (double)i + 0
.5D, (double)j + 1.5D, (double)k + 0.5D, itemstack1));
^
src\minecraft\net\minecraft\src\BlockCauldron.java:113: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer
.inventory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:115: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.setBlockMetadataWithNotify(i, j, k, l - 1);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:119: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:123: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:124: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:128: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:132: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem1);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:133: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:137: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:141: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem2);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:142: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:146: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:150: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem3);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:151: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:155: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:159: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem4);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:160: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:164: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:165: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:170: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:171: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:176: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:180: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem5);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:181: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
32 errors
==================
!! Can not find server sources, try decompiling !!
Press any key to continue . . .
Many of the rest of your errors seem to be from referencing the "stock" names of the parameters even though you changed their name. For instance, in many cases, it looks like you need to change
Many of the rest of your errors seem to be from referencing the "stock" names of the parameters even though you changed their name. For instance, in many cases, it looks like you need to change
Well, the way it is now is giving you errors. Just make sure that, if you are using a parameter in a method that you use the exact spelling of the parameter in the method signature. If the method passes in par1World, use par1World in the method body. If it passes in world, use world in the method body.
Try changing those around and see if it takes care of some of the errors.
Well, the way it is now is giving you errors. Just make sure that, if you are using a parameter in a method that you use the exact spelling of the parameter in the method signature. If the method passes in par1World, use par1World in the method body. If it passes in world, use world in the method body.
Try changing those around and see if it takes care of some of the errors.
Whole new set of errors
== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
# found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, pa
ram csvs, astyle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.6.0_25\bin\javac" -Xlint:-options -deprecation -g -
source 1.6 -target 1....' failed : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\BlockCauldron.java:81: cannot find symbol
symbol : variable multiplayerWorld
location: class net.minecraft.src.World
if (World.multiplayerWorld)
^
src\minecraft\net\minecraft\src\BlockCauldron.java:85: non-static variable inven
tory cannot be referenced from a static context
ItemStack itemstack = EntityPlayer.inventory.getCurrentItem();
^
src\minecraft\net\minecraft\src\BlockCauldron.java:90: non-static method getBloc
kMetadata(int,int,int) cannot be referenced from a static context
int l = World.getBlockMetadata(i, j, k);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:95: cannot find symbol
symbol : variable depleteBuckets
location: class net.minecraft.src.PlayerCapabilities
if (!entityplayer.capabilities.depleteBuckets)
^
src\minecraft\net\minecraft\src\BlockCauldron.java:97: non-static variable inven
tory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer
.inventory.currentItem, new ItemStack(Item.bucketEmpty));
^
src\minecraft\net\minecraft\src\BlockCauldron.java:99: non-static method setBloc
kMetadataWithNotify(int,int,int,int) cannot be referenced from a static context
World.setBlockMetadataWithNotify(i, j, k, 3);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:108: non-static method spawnE
ntityInWorld(net.minecraft.src.Entity) cannot be referenced from a static contex
t
World.spawnEntityInWorld(new EntityItem(world, (double)i + 0.5D,
(double)j + 1.5D, (double)k + 0.5D, itemstack1));
^
src\minecraft\net\minecraft\src\BlockCauldron.java:113: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:115: non-static method setBlo
ckMetadataWithNotify(int,int,int,int) cannot be referenced from a static context
World.setBlockMetadataWithNotify(i, j, k, l - 1);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:119: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.invento
ry.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:123: non-static method spawnE
ntityInWorld(net.minecraft.src.Entity) cannot be referenced from a static contex
t
World.spawnEntityInWorld(entityitem);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:124: non-static method spawnP
article(java.lang.String,double,double,double,double,double,double) cannot be re
ferenced from a static context
World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:128: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.invento
ry.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:132: non-static method spawnE
ntityInWorld(net.minecraft.src.Entity) cannot be referenced from a static contex
t
World.spawnEntityInWorld(entityitem1);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:133: non-static method spawnP
article(java.lang.String,double,double,double,double,double,double) cannot be re
ferenced from a static context
World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:137: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.invento
ry.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:141: non-static method spawnE
ntityInWorld(net.minecraft.src.Entity) cannot be referenced from a static contex
t
World.spawnEntityInWorld(entityitem2);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:142: non-static method spawnP
article(java.lang.String,double,double,double,double,double,double) cannot be re
ferenced from a static context
World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:146: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.invento
ry.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:150: non-static method spawnE
ntityInWorld(net.minecraft.src.Entity) cannot be referenced from a static contex
t
World.spawnEntityInWorld(entityitem3);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:151: non-static method spawnP
article(java.lang.String,double,double,double,double,double,double) cannot be re
ferenced from a static context
World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:155: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.invento
ry.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:159: non-static method spawnE
ntityInWorld(net.minecraft.src.Entity) cannot be referenced from a static contex
t
World.spawnEntityInWorld(entityitem4);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:160: non-static method spawnP
article(java.lang.String,double,double,double,double,double,double) cannot be re
ferenced from a static context
World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:164: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.invento
ry.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:165: non-static method spawnP
article(java.lang.String,double,double,double,double,double,double) cannot be re
ferenced from a static context
World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:170: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.invento
ry.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:171: non-static method spawnP
article(java.lang.String,double,double,double,double,double,double) cannot be re
ferenced from a static context
World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:176: non-static variable inve
ntory cannot be referenced from a static context
EntityPlayer.inventory.setInventorySlotContents(entityplayer.invento
ry.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:180: non-static method spawnE
ntityInWorld(net.minecraft.src.Entity) cannot be referenced from a static contex
t
World.spawnEntityInWorld(entityitem5);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:181: non-static method spawnP
article(java.lang.String,double,double,double,double,double,double) cannot be re
ferenced from a static context
World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
31 errors
==================
!! Can not find server sources, try decompiling !!
Press any key to continue . . .
Almost all of those errors are due to you referencing classes instead of instances of those classes.
Don't reference the object type when you are using a method, reference the object being passed in.
Also, it is possible that you renamed the parameters to the name of the class, which could be causing all of these problems. If you are passing in a parameter
World world
"World" is the class, "world" is the name of the parameter, and capitalization matters. Don't name the parameter the same as the class, and when you are accessing those methods, reference the name of the parameter being passed in, not its class. So don't use EntityPlayer.whatever, use player.whatever, where "player" is whatever you named the EntityPlayer parameter when it was passed in to the method.
Almost all of those errors are due to you referencing classes instead of instances of those classes.
Don't reference the object type when you are using a method, reference the object being passed in.
Also, it is possible that you renamed the parameters to the name of the class, which could be causing all of these problems. If you are passing in a parameter
World world
"World" is the class, "world" is the name of the parameter, and capitalization matters. Don't name the parameter the same as the class, and when you are accessing those methods, reference the name of the parameter being passed in, not its class. So don't use EntityPlayer.whatever, use player.whatever, where "player" is whatever you named the EntityPlayer parameter when it was passed in to the method.
I know what the problem is. You are using a 1.8.1 Minecraft code.
Change:
if (par1World.multiplayerWorld)
{
return true;
}
To:
if (par1World.isRemote)
{
return true;
}
You should really use eclipse. It will help to tell you errors like that.The game doesn't know where to find the variable multiplayerWorld in world.java, since it doesn't exist anymore.
Errors
== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
# found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, pa
ram csvs, astyle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.6.0_25\bin\javac" -Xlint:-options -deprecation -g -
source 1.6 -target 1....' failed : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\BlockCauldron.java:5: cannot find symbol
symbol : class minecraft
location: package net.minecraft.client
import net.minecraft.client.minecraft;
^
src\minecraft\net\minecraft\src\BlockCauldron.java:81: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
if (par1World.multiplayerWorld)
^
src\minecraft\net\minecraft\src\BlockCauldron.java:85: package par1EntityPlayer
does not exist
ItemStack itemstack = par1EntityPlayer.inventory.getCurrentItem();
^
src\minecraft\net\minecraft\src\BlockCauldron.java:90: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
int l = par1World.getBlockMetadata(i, j, k);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:95: cannot find symbol
symbol : variable depleteBuckets
location: class net.minecraft.src.PlayerCapabilities
if (!entityplayer.capabilities.depleteBuckets)
^
src\minecraft\net\minecraft\src\BlockCauldron.java:97: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entitypl
ayer.inventory.currentItem, new ItemStack(Item.bucketEmpty));
^
src\minecraft\net\minecraft\src\BlockCauldron.java:99: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.setBlockMetadataWithNotify(i, j, k, 3);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:108: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(new EntityItem(world, (double)i + 0
.5D, (double)j + 1.5D, (double)k + 0.5D, itemstack1));
^
src\minecraft\net\minecraft\src\BlockCauldron.java:113: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer
.inventory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:115: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.setBlockMetadataWithNotify(i, j, k, l - 1);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:119: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:123: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:124: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:128: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:132: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem1);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:133: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:137: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:141: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem2);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:142: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:146: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:150: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem3);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:151: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:155: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:159: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem4);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:160: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:164: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:165: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:170: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:171: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:176: package par1EntityPlayer
does not exist
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inv
entory.currentItem, null);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:180: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnEntityInWorld(entityitem5);
^
src\minecraft\net\minecraft\src\BlockCauldron.java:181: cannot find symbol
symbol : variable par1World
location: class net.minecraft.src.BlockCauldron
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
^
32 errors
==================
!! Can not find server sources, try decompiling !!
Press any key to continue . . .
BlockCauldron.java
package net.minecraft.src;
import java.util.ArrayList;
import java.util.Random;
import net.minecraft.client.minecraft;
import net.minecraft.src.World;
public class BlockCauldron extends Block
{
public int mr;
public int mb;
public BlockCauldron(int par1)
{
super(par1, Material.iron);
mr = 0;
mb = 0;
blockIndexInTexture = 154;
}
public int getBlockTextureFromSideAndMetadata(int i, int j)
{
if (i == 1)
{
return 138;
}
else
{
return i == 0 ? '\233' : 154;
}
}
public void getCollidingBoundingBoxes(World world, int i, int j, int k, AxisAlignedBB axisalignedbb, ArrayList arraylist)
{
setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.3125F, 1.0F);
super.getCollidingBoundingBoxes(world, i, j, k, axisalignedbb, arraylist);
float f = 0.125F;
setBlockBounds(0.0F, 0.0F, 0.0F, f, 1.0F, 1.0F);
super.getCollidingBoundingBoxes(world, i, j, k, axisalignedbb, arraylist);
setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, f);
super.getCollidingBoundingBoxes(world, i, j, k, axisalignedbb, arraylist);
setBlockBounds(1.0F - f, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
super.getCollidingBoundingBoxes(world, i, j, k, axisalignedbb, arraylist);
setBlockBounds(0.0F, 0.0F, 1.0F - f, 1.0F, 1.0F, 1.0F);
super.getCollidingBoundingBoxes(world, i, j, k, axisalignedbb, arraylist);
setBlockBoundsForItemRender();
}
public void setBlockBoundsForItemRender()
{
setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
}
public boolean isHeated(World world, int i, int j, int k)
{
return world.getBlockMaterial(i, j - 1, k) == Material.fire;
}
public boolean isOpaqueCube()
{
return false;
}
public int getRenderType()
{
return 24;
}
public boolean renderAsNormalBlock()
{
return false;
}
public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
{
boolean flag = false;
if (isHeated(world, i, j, k))
{
flag = true;
}
if (par1World.multiplayerWorld)
{
return true;
}
ItemStack itemstack = par1EntityPlayer.inventory.getCurrentItem();
if (itemstack == null)
{
return true;
}
int l = par1World.getBlockMetadata(i, j, k);
if (itemstack.itemID == Item.bucketWater.shiftedIndex)
{
if (l < 3)
{
if (!entityplayer.capabilities.depleteBuckets)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, new ItemStack(Item.bucketEmpty));
}
par1World.setBlockMetadataWithNotify(i, j, k, 3);
}
return true;
}
if (itemstack.itemID == Item.glassBottle.shiftedIndex && l > 0)
{
ItemStack itemstack1 = new ItemStack(Item.potion, 1, 0);
if (!entityplayer.inventory.addItemStackToInventory(itemstack1))
{
par1World.spawnEntityInWorld(new EntityItem(world, (double)i + 0.5D, (double)j + 1.5D, (double)k + 0.5D, itemstack1));
}
itemstack.stackSize--;
if (itemstack.stackSize <= 0)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
}
par1World.setBlockMetadataWithNotify(i, j, k, l - 1);
}
if (itemstack.itemID == Item.fishRaw.shiftedIndex && l == 3 && flag)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
EntityItem entityitem = new EntityItem(world, (float)i, (float)j, (float)k, new ItemStack(Item.fishCooked));
entityitem.delayBeforeCanPickup = 10;
entityitem.motionY = 0.5D;
par1World.spawnEntityInWorld(entityitem);
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
}
if (itemstack.itemID == Item.beefRaw.shiftedIndex && l == 3 && flag)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
EntityItem entityitem1 = new EntityItem(world, (float)i, (float)j, (float)k, new ItemStack(Item.beefCooked));
entityitem1.delayBeforeCanPickup = 10;
entityitem1.motionY = 0.5D;
par1World.spawnEntityInWorld(entityitem1);
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
}
if (itemstack.itemID == Item.chickenRaw.shiftedIndex && l == 3 && flag)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
EntityItem entityitem2 = new EntityItem(world, (float)i, (float)j, (float)k, new ItemStack(Item.chickenCooked));
entityitem2.delayBeforeCanPickup = 10;
entityitem2.motionY = 0.5D;
par1World.spawnEntityInWorld(entityitem2);
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
}
if (itemstack.itemID == Item.porkRaw.shiftedIndex && l == 3 && flag)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
EntityItem entityitem3 = new EntityItem(world, (float)i, (float)j, (float)k, new ItemStack(Item.porkCooked));
entityitem3.delayBeforeCanPickup = 10;
entityitem3.motionY = 0.5D;
par1World.spawnEntityInWorld(entityitem3);
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
}
if (itemstack.itemID == Item.rottenFlesh.shiftedIndex && l == 3 && flag)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
EntityItem entityitem4 = new EntityItem(world, (float)i, (float)j, (float)k, new ItemStack(Item.beefRaw));
entityitem4.delayBeforeCanPickup = 10;
entityitem4.motionY = 0.5D;
par1World.spawnEntityInWorld(entityitem4);
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
}
if (itemstack.itemID == Block.mushroomRed.blockID && l == 3 && flag && mr == 0)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
mr = 1;
}
if (itemstack.itemID == Block.mushroomBrown.blockID && l == 3 && flag && mb == 0)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
mb = 1;
}
if (itemstack.itemID == Item.bowlEmpty.shiftedIndex && l == 3 && flag && mr == 1 && mb == 1)
{
par1EntityPlayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, null);
EntityItem entityitem5 = new EntityItem(world, (float)i, (float)j, (float)k, new ItemStack(Item.bowlSoup));
entityitem5.delayBeforeCanPickup = 10;
entityitem5.motionY = 0.5D;
par1World.spawnEntityInWorld(entityitem5);
par1World.spawnParticle("explode", i, j, k, 0.0D, 0.0D, 0.0D);
mb = 0;
mr = 0;
}
return true;
}
public int idDropped(int i, Random random, int j)
{
return Item.cauldron.shiftedIndex;
}
}
Click Here to view my WIP Mod!
Currently developing a Tech/Space mod. PM if you can/want to help!
to:
Many of the rest of your errors seem to be from referencing the "stock" names of the parameters even though you changed their name. For instance, in many cases, it looks like you need to change
to:
EDIT: Messed up the first change suggestion.
It was originally world but it gave me errors.
Click Here to view my WIP Mod!
Currently developing a Tech/Space mod. PM if you can/want to help!
Well, the way it is now is giving you errors. Just make sure that, if you are using a parameter in a method that you use the exact spelling of the parameter in the method signature. If the method passes in par1World, use par1World in the method body. If it passes in world, use world in the method body.
Try changing those around and see if it takes care of some of the errors.
Whole new set of errors
Click Here to view my WIP Mod!
Currently developing a Tech/Space mod. PM if you can/want to help!
Don't reference the object type when you are using a method, reference the object being passed in.
Also, it is possible that you renamed the parameters to the name of the class, which could be causing all of these problems. If you are passing in a parameter
"World" is the class, "world" is the name of the parameter, and capitalization matters. Don't name the parameter the same as the class, and when you are accessing those methods, reference the name of the parameter being passed in, not its class. So don't use EntityPlayer.whatever, use player.whatever, where "player" is whatever you named the EntityPlayer parameter when it was passed in to the method.
I really don't know what you mean by that.
Click Here to view my WIP Mod!
Currently developing a Tech/Space mod. PM if you can/want to help!
Change:
To:
You should really use eclipse. It will help to tell you errors like that.The game doesn't know where to find the variable multiplayerWorld in world.java, since it doesn't exist anymore.
Click Here to view my WIP Mod!
Currently developing a Tech/Space mod. PM if you can/want to help!