Jump to content

James (MSTUDIO)

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by James (MSTUDIO)

  1. so where would i put that code? Code : public class FoodSpawner extends BlockBase{ private World worldIn; public FoodSpawner(String name, Material material) { super(name, material); setSoundType(SoundType.METAL); setHardness(3.0F); setResistance(17.0F); setHarvestLevel("pickaxe", 1); } public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random ran) { } public int tickRate(World worldIn) { return 10; } }
  2. so how would i be able to check if that block is a chest?
  3. How can i make it so every tick it puts items in a chest that is 3 blocks underneath a block?
×
×
  • Create New...

Important Information

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